ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Footnotes in math mode
@ 2020-06-28 10:54 Jairo A. del Rio
  2020-06-28 11:11 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Jairo A. del Rio @ 2020-06-28 10:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1388 bytes --]

Hi list! I want to know how to properly use footnotes in math mode. The
following:

\starttext
\startformula
\int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d
x+\int_{c+h}^{b} f(x) d x\right] \startfootnote Footnote \stopfootnote
\stopformula
\stoptext

doesn't complain but it doesn't show the footnote either.

So, I'm using the following workaround:

\starttext
\startformula
\int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d
x+\int_{c+h}^{b} f(x) d x\right]\note[mynote1]
\stopformula
\footnotetext[mynote1]{Cauchy s'occupe du cas...}
\stoptext

However, 1) I have to create notes every time and it's kinda annoying when
a large amount of formulas are annotated (I've read somewhere it's bad
practice to (ab)use footnotes in math writing, but I see this often in
books from the 19th century or earlier), 2) the numbering is bold. Making
the numbering normal rather than bold would be fine, but I want to know
about a better solution. Thank you in advance

Jairo :)

PS: How to answer messages sent to the mailing list? I'm on Gmail and I
have to wait until the Digest comes. However, I can see messages in
mail-archive.com. It's a dumb question, but when I want to thank Hans,
Wolfgang or Aditya (and everyone else) for an answer, or following a
thread, I have to edit the whole Digest mail. Sorry if I've been ungrateful
by not answering back. Thank you again.

[-- Attachment #1.2: Type: text/html, Size: 1793 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Footnotes in math mode
  2020-06-28 10:54 Footnotes in math mode Jairo A. del Rio
@ 2020-06-28 11:11 ` Wolfgang Schuster
  2020-06-28 11:43   ` Jairo A. del Rio
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2020-06-28 11:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Jairo A. del Rio

Jairo A. del Rio schrieb am 28.06.2020 um 12:54:
> Hi list! I want to know how to properly use footnotes in math mode. The 
> following:
> 
> \starttext
> \startformula
> \int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d 
> x+\int_{c+h}^{b} f(x) d x\right] \startfootnote Footnote \stopfootnote
> \stopformula
> \stoptext
> 
> doesn't complain but it doesn't show the footnote either.
> 
> So, I'm using the following workaround:
> 
> \starttext
> \startformula
> \int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d 
> x+\int_{c+h}^{b} f(x) d x\right]\note[mynote1]
> \stopformula
> \footnotetext[mynote1]{Cauchy s'occupe du cas...}
> \stoptext
> 
> However, 1) I have to create notes every time and it's kinda annoying 
> when a large amount of formulas are annotated (I've read somewhere it's 
> bad practice to (ab)use footnotes in math writing, but I see this often 
> in books from the 19th century or earlier), 2) the numbering is bold. 
> Making the numbering normal rather than bold would be fine, but I want 
> to know about a better solution. Thank you in advance

You have two options:

1. Add \automigrateinserts at the begin of your document.

\automigrateinserts

\starttext

\startformula
x\footnote{Footnote}
\stopformula

\stoptext

2. Add a postponingnotes environment around the formula.

\starttext

\startpostponingnotes
\startformula
x\footnote{Footnote}
\stopformula
\stoppostponingnotes

\stoptext

The first option wasn't always reliable with many nested box levels and 
this is when you can use the second option.

> Jairo :)
> 
> PS: How to answer messages sent to the mailing list? I'm on Gmail and I 
> have to wait until the Digest comes. However, I can see messages in 
> mail-archive.com <http://mail-archive.com>. It's a dumb question, but 
> when I want to thank Hans, Wolfgang or Aditya (and everyone else) for an 
> answer, or following a thread, I have to edit the whole Digest mail. 
> Sorry if I've been ungrateful by not answering back. Thank you again.

Why don't you change this in the list settings or use a separate mail 
address for mailing lists.

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Footnotes in math mode
  2020-06-28 11:11 ` Wolfgang Schuster
@ 2020-06-28 11:43   ` Jairo A. del Rio
  2020-06-28 11:55     ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Jairo A. del Rio @ 2020-06-28 11:43 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2498 bytes --]

It's "subscribe nodigest", right? Sorry for the inconveniences

Jairo :)

El dom., 28 de jun. de 2020 a la(s) 06:11, Wolfgang Schuster (
wolfgang.schuster.lists@gmail.com) escribió:

> Jairo A. del Rio schrieb am 28.06.2020 um 12:54:
> > Hi list! I want to know how to properly use footnotes in math mode. The
> > following:
> >
> > \starttext
> > \startformula
> > \int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d
> > x+\int_{c+h}^{b} f(x) d x\right] \startfootnote Footnote \stopfootnote
> > \stopformula
> > \stoptext
> >
> > doesn't complain but it doesn't show the footnote either.
> >
> > So, I'm using the following workaround:
> >
> > \starttext
> > \startformula
> > \int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d
> > x+\int_{c+h}^{b} f(x) d x\right]\note[mynote1]
> > \stopformula
> > \footnotetext[mynote1]{Cauchy s'occupe du cas...}
> > \stoptext
> >
> > However, 1) I have to create notes every time and it's kinda annoying
> > when a large amount of formulas are annotated (I've read somewhere it's
> > bad practice to (ab)use footnotes in math writing, but I see this often
> > in books from the 19th century or earlier), 2) the numbering is bold.
> > Making the numbering normal rather than bold would be fine, but I want
> > to know about a better solution. Thank you in advance
>
> You have two options:
>
> 1. Add \automigrateinserts at the begin of your document.
>
> \automigrateinserts
>
> \starttext
>
> \startformula
> x\footnote{Footnote}
> \stopformula
>
> \stoptext
>
> 2. Add a postponingnotes environment around the formula.
>
> \starttext
>
> \startpostponingnotes
> \startformula
> x\footnote{Footnote}
> \stopformula
> \stoppostponingnotes
>
> \stoptext
>
> The first option wasn't always reliable with many nested box levels and
> this is when you can use the second option.
>
> > Jairo :)
> >
> > PS: How to answer messages sent to the mailing list? I'm on Gmail and I
> > have to wait until the Digest comes. However, I can see messages in
> > mail-archive.com <http://mail-archive.com>. It's a dumb question, but
> > when I want to thank Hans, Wolfgang or Aditya (and everyone else) for an
> > answer, or following a thread, I have to edit the whole Digest mail.
> > Sorry if I've been ungrateful by not answering back. Thank you again.
>
> Why don't you change this in the list settings or use a separate mail
> address for mailing lists.
>
> Wolfgang
>

[-- Attachment #1.2: Type: text/html, Size: 3293 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Footnotes in math mode
  2020-06-28 11:43   ` Jairo A. del Rio
@ 2020-06-28 11:55     ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2020-06-28 11:55 UTC (permalink / raw)
  To: Jairo A. del Rio; +Cc: mailing list for ConTeXt users

Jairo A. del Rio schrieb am 28.06.2020 um 13:43:
> It's "subscribe nodigest", right? Sorry for the inconveniences

Yes but the config page [1] has explanations for all options to know 
what each does.

[1] https://mailman.ntg.nl/mailman/options/ntg-context

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-06-28 11:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-28 10:54 Footnotes in math mode Jairo A. del Rio
2020-06-28 11:11 ` Wolfgang Schuster
2020-06-28 11:43   ` Jairo A. del Rio
2020-06-28 11:55     ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).