[XeTeX] tabular in footnote

Daniel Greenhoe dgreenhoe at gmail.com
Sun Dec 4 00:31:59 CET 2011


When I put a tabular in a footnote, the tabular often is extended
outside the text area. Besides placing a newline directive after the
tabular environment, is there anything I can do to prevent this
behavior? That is, how can I best ensure that tabulars in a footnote
get typeset completely within the text area? Here is an example:

\documentclass[12pt]{book}
\usepackage[xetex,a4paper,noheadfoot,nomarginpar,margin=20mm,showframe]{geometry}
\begin{document}%
  xyz\footnote{%
    %\raisebox{2.5mm}{
      \begin{tabular}[t]{|l|}
       \hline
        abc\\
        def\\
        ghj\\
        klm\\
        \hline
      \end{tabular}%\\
      %}%
    }
  xyz\footnote{%
    %\raisebox{2.5mm}{
      \begin{tabular}[t]{|l|}
       \hline
        abc\\
        def\\
        ghj\\
        klm\\
        \hline
      \end{tabular}%\\
      %}%
    }
\end{document}%

Many thanks in advance,
Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foottbl.tex
Type: application/x-tex
Size: 758 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20111204/23b8b7b0/attachment-0001.tex>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foottbl.pdf
Type: application/pdf
Size: 5261 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20111204/23b8b7b0/attachment-0001.pdf>


More information about the XeTeX mailing list