[NTG-context] Footnotes in xtables

Otared Kavian otared at gmail.com
Wed May 1 18:17:43 CEST 2019


Hi Henning

> On 1 May 2019, at 15:56, Henning Hraban Ramm <texml at fiee.net> wrote:
>> […]
> 
> Is there a way to handle footnotes in tables like regular footnotes, i.e. combine numbering and placement?

Hi Henning,

The answer is yes as in the following example (thanks to Wolfgang for pointing to \startpostponingnotes…).

%%% begin footnote-global-xtable.tex
\starttext
A silly one here\footnote{Here is a silly footnote.}
\startpostponingnotes
\startplacetable[location=middle,reference={tab:1}]
	\startxtable
		\startxrow
			\startxcell Alpha \stopxcell
			\startxcell Beta\footnote{This is a footnote in \in{Table}[tab:1] } \stopxcell
		\stopxrow
		\startxrow
			\startxcell Beta \stopxcell
			\startxcell Alpha\stopxcell
		\stopxrow
	\stopxtable
\stopplacetable
\stoppostponingnotes

Another serious one here\footnote{Here is a serious footnote.}
\stoptext
%%% end footnote-global-xtable.tex

Best regards: OK


More information about the ntg-context mailing list