[XeTeX] Footnotes in longtable wihth column spec 'p'
Andy Black
andy_black at sil.org
Tue Feb 8 01:07:48 CET 2011
Hello.
I'm using XeLaTeX with the longtable package, version 4.11. The
documentation says that longtable takes special precautions, so that
footnotes may also be used in 'p' columns. I'm having problems, though,
with this scenario. While the footnote number in the table has the
correct number, the footnote number in the footnote text at the bottom
of the page uses a zero.
A small sample that causes this is below.
What am I doing wrong?
The log file has this for the version of XeTeX:
This is XeTeX, Version 3.1415926-2.2-0.9997.4 (Web2C 2010)
(format=xelatex 2010.11.15)
I'm running on Windows XP, although it also happens on a Mac OS X Snow
Leopard.
Thanks,
--Andy
\documentclass[12pt,twoside]{article}
\usepackage{xltxtra}
\usepackage{longtable}
\setmainfont{Times New Roman}
\font\MainFont="Times New Roman" at 12pt
\begin{document}
\begin{MainFont}
\vspace*{1in}
{\centering{\LARGE{\textbf{Footnotes in tables with longtable and
XeLaTex\\}}}}
\thispagestyle{plain}
\vspace*{1in}
\indent Here's a footnote in regular
text.\footnote[1]{{\leftskip0pt\parindent1em
Text in first footnote.}}\par{}
\begin{longtable}[t]{@{}lp{.975in}@{}}
blah&blue\footnote[2]{{\leftskip0pt\parindent1em
This is the second footnote, but its number is a zero! Its column spec
uses a 'p'.}}\\
green\footnote[3]{\leftskip0pt\parindent1em Here is another footnote in
a table, but it's column spec does not use a 'p'.}&chartreuse\\
\end{longtable}
\end{MainFont}
\end{document}
More information about the XeTeX
mailing list