我正在使用 supertabular 的 mpsupertabular 环境,它会开始一个新页面,而不是渲染当前页面可容纳的内容并进行拆分。longtable 包看起来可能是一个可行的替代方案,但它不支持多列。有没有办法用脚注标记长表,以便将第一段拆分以适合当前页面?
\documentclass{article}
\usepackage{supertabular}
\makeatletter
\newcommand*{\mpfootnotemark}{%
\@ifnextchar[\@xmpfootnotemark{%
\stepcounter{mpfootnote}%
\protected@xdef\@thefnmark{\thempfootnote}%
\@footnotemark
}%
}
\def\@xmpfootnotemark[#1]{%
\begingroup
\c@mpfootnote #1\relax
\unrestored@protected@xdef\@thefnmark{\thempfootnote}%
\endgroup
\@footnotemark
}
\makeatother
\begin{document}
\section {Introduction}
LaTeX is very much a presentation language; it does not provide
much support for semantic markup. Changing the rendering of a
mathematical construct to conform to the style of a particular journal
requires changing the markup of the text. The macros described here
encapsulate stylistic conventions so that only the definitions need to
be changed in order to change the style throughout the document. In
five macros there are global options that can be changed by a setup
command without actually modifying the macro definitions.
\section {Greek letters}
\label{sec:Greek}
The standard LaTeX fonts are missing certain upper case Greek letters.
If you are using a font that has the missing letters, change these
definitions to use them.
\label{sec:Greek}
\bottomcaption{Upper Case Greek Letter Macros}
\tablefirsthead%
{
\hline
Macro & Definition & Meaning \\
\hline
% & & \\
% \hline
}
\tablehead%
{
\hline
\multicolumn{3}{|c|}{\small\sl continued from previous page} \\
\hline
Macro & Definition & Meaning \\
\hline
% & & \\
% \hline
}
\tabletail%
{
\hline
\multicolumn{3}{|c|}{\small\sl continued on next page} \\
\hline
}
\tablelasttail%
{
\hline
}
\begin{supertabular}{| l | l | l |}
\label{ref:Alpha}
{\textbackslash}Alpha & Alpha & Upper case Alpha \\
\hline
\label{ref:Beta}
{\textbackslash}Beta & Beta & Upper case Beta \\
\hline
\label{ref:Epsilon}
{\textbackslash}Epsilon & E & Upper case Epsilon \\
\hline
\label{ref:Zeta}
{\textbackslash}Zeta & Z & Upper case Zeta \\
\hline
\label{ref:Eta}
{\textbackslash}Eta & H & Upper case Eta \\
\hline
\label{ref:Iota}
{\textbackslash}Iota & I & Upper case Iota \\
\hline
\label{ref:Kappa}
{\textbackslash}Kappa & K & Upper case Kappa \\
\hline
\label{ref:Mu}
{\textbackslash}Mu & M & Upper case Mu \\
\hline
\label{ref:Nu}
{\textbackslash}Nu & N & Upper case Nu \\
\hline
\label{ref:Omicron}
{\textbackslash}Omicron & O & Upper case Omicron \\
\hline
\label{ref:Rho}
{\textbackslash}Rho & P & Upper case Rho \\
\hline
\label{ref:Tau}
{\textbackslash}Tau & T & Upper case Tau \\
\hline
\label{ref:Chi}
{\textbackslash}Chi & X & Upper case Chi \\
\hline
\end{supertabular}
\section {References}
\label{sec:References}
These macros provide links within a document. If the referenced key
has a description, they will render it within parentheses. They rely on
the cleveref package. Change them to match your house style.
\bottomcaption{Internal references}
\tablefirsthead%
{
\hline
Macro & Example & Rendering \\
\hline
% & & \\
% \hline
}
\tablehead%
{
\hline
\multicolumn{3}{|c|}{\small\sl continued from previous page} \\
\hline
Macro & Example & Rendering \\
\hline
% & & \\
% \hline
}
\tabletail%
{
\hline
\multicolumn{3}{|c|}{\small\sl continued on next page} \\
\hline
}
\tablelasttail%
{
\hline
}
\begin{mpsupertabular}[t]{| l | l | p{2.8in} |}
{\textbackslash}fullcref & {\textbackslash}fullcref\{sec:Greek\} & fullcref{sec:Greek} \\
\hline
{\textbackslash}pagecref & {\textbackslash}pagecref\{ref:Eta\} & pagecref{ref:Eta} \\
\hline
{\textbackslash}Pagecref & {\textbackslash}Pagecref\{ref:Eta\} & Pagecref{ref:Eta} \\
\end{mpsupertabular}
\section {Name styles}
\label{sec:NameStyles}
These macros set the rendering of names, e.g.,
{\textbackslash}catseqname\{A\} will set A in bold Caligraphic.
Change these to match your house style.
\bottomcaption{Name styles}
\tablefirsthead%
{
\hline
Macro & Definition & Meaning \\
\hline
% & & \\
% \hline
}
\tablehead%
{
\hline
\multicolumn{3}{|c|}{\small\sl continued from previous page} \\
\hline
Macro & Definition & Meaning \\
\hline
% & & \\
% \hline
}
\tabletail%
{
\hline
\multicolumn{3}{|c|}{\small\sl continued on next page} \\
\hline
}
\tablelasttail%
{
\hline
}
\begin{mpsupertabular}[t]{| l | l | p{2.9in} |}
{\textbackslash}catname\{C\} & $catname{C}$ & Name of category \\
\hline
{\textbackslash}catseqname\{C\} & $catseqname{C}$ & Name of category sequence \\
\hline
{\textbackslash}funcname\{f\} & $funcname{f}$ & Name of function \\
\hline
{\textbackslash}funcseqname\{f\} & $funcseqname{f}$ & Name of function sequence or tuple \\
\hline
{\textbackslash}seqname\{S\} & $seqname{S}$ & Name of sequence, set or tuple \\
\hline
{\textbackslash}topname\{T\} & $topname{T}$ & Name of topology \\
\hline
\end{mpsupertabular}
\end{document}