aligning a table alignment with local footnotes
What is the best way to center a table and control/fix the textwidth of the local footnotes? I currently have: \starttext \startbuffer[Tab01] \startlocalfootnotes \bTABLE \bTR\bTD So\eTD\bTD what% \footnote{\input knuth} % <= \eTD\eTR \eTABLE {\placelocalfootnotes} \stoplocalfootnotes \stopbuffer \startplacetable[title=Test, align=middle] {\getbuffer[Tab01]} \stopplacetable \stoptext If the footnote is commented out, the table is centered (as I want it). With the footnote, the table is flushleft. I have managed to get what I need by defining the \hsize of the footnotes and tweaking the loffset of the table. But a general, less “empirical” approach would be vastly better. Alan Alan
On Mon, 29 May 2017, Alan Bowen wrote:
What is the best way to center a table and control/fix the textwidth of the local footnotes?
I currently have:
\starttext
\startbuffer[Tab01] \startlocalfootnotes \bTABLE \bTR\bTD So\eTD\bTD what% \footnote{\input knuth} % <= \eTD\eTR \eTABLE {\placelocalfootnotes} \stoplocalfootnotes \stopbuffer
\startplacetable[title=Test, align=middle] {\getbuffer[Tab01]} \stopplacetable
\stoptext
I usually use: \startplacetable \hbox{\startplacelegend[location=bottom] \startcontent TABLE \stopcontent \startcaption footnote \stopcaption \stopplacelegend} \stopplacetable
Thanks for this too, Aditya. I have some tables that this may work very
well with.
All best, Alan
On Mon, May 29, 2017 at 9:05 PM, Aditya Mahajan
On Mon, 29 May 2017, Alan Bowen wrote:
What is the best way to center a table and control/fix the textwidth of the
local footnotes?
I currently have:
\starttext
\startbuffer[Tab01] \startlocalfootnotes \bTABLE \bTR\bTD So\eTD\bTD what% \footnote{\input knuth} % <= \eTD\eTR \eTABLE {\placelocalfootnotes} \stoplocalfootnotes \stopbuffer
\startplacetable[title=Test, align=middle] {\getbuffer[Tab01]} \stopplacetable
\stoptext
I usually use:
\startplacetable \hbox{\startplacelegend[location=bottom] \startcontent TABLE \stopcontent \startcaption footnote \stopcaption \stopplacelegend} \stopplacetable
____________________________________________________________ _______________________ 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/list info/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ____________________________________________________________ _______________________
participants (2)
-
Aditya Mahajan
-
Alan Bowen