旧结果

旧结果

我在定义脚注标记(阿拉伯语、罗马语等)的自定义时遇到了问题mpsupertabular

在最小工作示例中,我期望脚注标记出现在\roman(i, ii, ...) 中,但它却出现在\alph(a, b, ...) 中。我尝试对 (1,2, ...) 执行相同操作,\arabic但仍然出现错误\alph

\documentclass[twocolumn,a4paper]{article}

% Compile with xelatex

\usepackage{supertabular}
\usepackage[a4paper, margin=1in]{geometry}
\usepackage{polyglossia}
\setmainlanguage{english}

% https://en.wikibooks.org/wiki/LaTeX/Footnotes_and_Margin_Notes#Customization
% \renewcommand{\thefootnote}{\arabic{footnote}}
\renewcommand{\thefootnote}{\roman{footnote}}

\begin{document}

%\renewcommand*{\arraystretch}{3}
%\setlength\tabcolsep{1pt}

\begin{mpsupertabular}{ c c }

lalalala & lololololo \\
lalalala & lololololo \\
lalalala & lololololo \\
lalalala & lololololo \\
lalalala & lololololo \\
lalalala & lololololo \footnote{Awesome footnote}  \\
lalalala & lololololo \\
lalalala & lololololo \\
lalalala & lololololo \\
lalalala & lololololo \\
lalalala & lololololo \\
lalalala & lololololo \\
lalalala & lololololo \\
lalalala & lololololo \\

\end{mpsupertabular}

\end{document}

用 alph 代替罗马脚注标记

supertabularPS:我对将其转换为其他东西不感兴趣。

答案1

这是因为mpsupertabular被放置在 上minipage。参见回答更详细的解释。

旧结果

在此处输入图片描述

使用来自的建议雷耀基\renewcommand{\thempfootnote}{\arabic{mpfootnote}},我们得到:

新结果

在此处输入图片描述

平均能量损失

\documentclass[twocolumn,a4paper]{article}
% Compile with xelatex

\usepackage{supertabular}
\usepackage[a4paper, margin=1in]{geometry}
\usepackage{polyglossia}
\setmainlanguage{english}

% https://en.wikibooks.org/wiki/LaTeX/Footnotes_and_Margin_Notes#Customization
\renewcommand{\thempfootnote}{\roman{mpfootnote}}

\begin{document}

\section{\texttt{minipage}}
\begin{minipage}{0.5\linewidth}
Test\footnote{\texttt{minipage}}
\end{minipage}

\section{\texttt{mpsupertabulartest}}
\begin{mpsupertabular}{ c c }
lalalala & lololololo \footnote{\texttt{mpsupertabular}}  \\
\end{mpsupertabular}

\end{document}

相关内容