将脚注格式化为表格(而不是表格的脚注!)

将脚注格式化为表格(而不是表格的脚注!)

有没有什么方法可以将脚注格式化为表格?

我想要做的是将英语翻译成日语的翻译和音译放在页面的脚注中,形式如下

       WORD ---> IPA SPELLING ---> JAPANESE TRANSLATION

我想保持每列对齐(如在表格中!)而不必手动设置间距。

答案1

您可以将表格放在脚注内。因此,定义插入翻译脚注的命令很容易。我创建的命令接受 3 个参数,并将它们放入脚注内的表格中。通过将表格的一列定义为 IPA,您可以直接输入表格的 IPA 部分,而无需额外输入。

\documentclass{article}
\usepackage{array}
\usepackage{tipa} % not needed if you are using e.g. xelatex and an IPA font
% define a column for the IPA part of the footnote
\newcolumntype{I}[1]{>{\begin{IPA}[}p{#1}<{]\end{IPA}}}
% define a translation footnote command
\newcommand{\transfn}[3]%
{\footnote{\begin{tabular}[t]{p{1cm}I{1cm}p{6cm}}#1 & #2 & #3\end{tabular}}}
\begin{document}
This is some text.\transfn{English}{INglIS}{translation}.
This is some more text.\transfn{another}{@n2D\textrhookschwa}{another translation}
\end{document}

代码输出

相关内容