[XeTeX] tabular in footnote

Petr Tomasek tomasek at etf.cuni.cz
Mon Dec 5 09:42:42 CET 2011


On Sun, Dec 04, 2011 at 07:31:59AM +0800, Daniel Greenhoe wrote:
> 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:

Put it in \vbox :-). At least I would do so in plain(Xe)TeX. :-)

> \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
> 



> 
> 
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex
> 


-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
Jabber: butrus at jabbim.cz

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
EA 355:001  DU DU DU DU
EA 355:002  TU TU TU TU
EA 355:003  NU NU NU NU NU NU NU
EA 355:004  NA NA NA NA NA
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the XeTeX mailing list