Henri Menke <mailto:henrime...@gmail.com>
29. Juli 2016 um 12:48
Dear list,

sometimes, one wants to place footnotes in a table which then appear right below the last row. Therefore ConTeXt ships the clever `\start...\stoplocalfootnotes` mechanism. Unfortunately, putting `\placelocalfootnotes` outside of the table breaks the centering of the table itself. For illustration please see the example below. How can I have my table centered while the footnotes are either left-aligned with respect to the left border of the table or left-aligned with respect to the page (whatever is easier)?

Cheers, Henri

---

\starttext

\startplacetable
[title={some table}]
\startlocalfootnotes
\startTABLE
\NC Content\footnote{Footnote} \NC\NR
\stopTABLE
\placelocalfootnotes % commenting out unbreaks alignment
\stoplocalfootnotes
\stopplacetable

\stoptext
You can use the pairedbox mechanism to place the notes under the table.

\definepairedbox
  [footnote]
  [width=\textwidth,
   align=middle]

\starttext

\startplacetable[title={some table}]
    \startlocalfootnotes
        \startplacepairedbox[footnote]
            \startcontent
                \startTABLE
                \NC Content\footnote{Footnote} \NC\NR
                \stopTABLE
            \stopcontent
            \startcaption
                \placelocalfootnotes
            \stopcaption
        \stopplacepairedbox
    \stoplocalfootnotes
\stopplacetable

\startplacetable[title={some table}]
    \startlocalfootnotes
        \placepairedbox[footnote]
            {\startTABLE
             \NC Content\footnote{Footnote} \NC\NR
             \stopTABLE}
            {\placelocalfootnotes}
    \stoplocalfootnotes
\stopplacetable

\stoptext

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to