环境中的脚注与并行

环境中的脚注与并行

在某些环境中,parallel脚注会打印在环境本身的末尾 - 正如作者在指南中所写。但是,由于我在同一页中还有其他脚注,为了统一起见,我想将它们全部放在页面底部。是否有可能制作一个移动这些注释的黑客程序?我考虑这个解决方案:我可以在 LaTeX 的小页面环境中获得普通脚注吗?怎样做?但是这样(如果我没记错的话),我在同一页上获得了例如第一个注释 1 来自footnotemark和第二个注释 1,后者是“正常”注释(带有\footnote)谢谢!

编辑

\documentclass{article}
\usepackage{fontspec}
\usepackage{polyglossia}

\usepackage{parallel}
\newenvironment{verseparallel}[2]
{\begin{Parallel}{}{}\footnotesize\parindent=0pt
\ParallelLText{#1}\ParallelRText{#2}}
{\end{Parallel}}

\begin{document}
\begin{verseparallel}
{To be, or not to be: that is the question:\\
Whether 'tis nobler in the mind to suffer\\
The slings and arrows of outrageous fortune,\\
Or to take arms against a sea of troubles,\\
And by opposing end them? To die: to sleep;}
{To be, or not to be: that is the question:\\
Whether 'tis nobler in the mind to suffer\\
The slings and arrows of outrageous fortune,\\
Or to take arms against a sea of troubles,\\
And by opposing end them? To die: to sleep;\footnotemark[1]}%
\footnotetext[1]{Shakespeare Hamlet, III 1}
\end{verseparallel}
\bigskip

To be, or not to be\footnote{Shakespeare Hamlet, III 1}: that is the question:
Whether 'tis nobler in the mind to suffer The slings and arrows of outrageous
fortune, Or to take arms against a sea of troubles, And by opposing end them?
To die: to sleep;\footnotemark[3]\footnotetext[3]{Shakespeare Hamlet, III 1}

\end{document}

您会发现脚注编号存在问题。有没有一种非完全手动的方法来正确设置它们?如果没有,我每次都必须添加以下内容:

To be, or not to be\addtocounter{footnote}{+1}\footnote{Shakespeare
Hamlet, III 1}: that is the question: Whether 'tis nobler in the mind
to suffer The slings and arrows of outrageous fortune, Or to take arms
against a sea of troubles, And by opposing end them? To die: to
sleep;\footnotemark[3]\footnotetext[3]{Shakespeare Hamlet, III 1}

答案1

请注意,我假设你的意思是问,如果没有完全自动的方法。如果你真的想要一个完全手动的方法,那当然是可以的!

假设您的意思是自动......

在某些情况下,您需要手动调整计数器,但在相对简单的情况下则不需要,例如:

\documentclass{article}
\usepackage{fontspec}
\usepackage{polyglossia}

\usepackage{parallel}
\newenvironment{verseparallel}[2]
{\begin{Parallel}{}{}\footnotesize\parindent=0pt
\ParallelLText{#1}\ParallelRText{#2}}
{\end{Parallel}}

\begin{document}
\begin{verseparallel}
{To be, or not to be: that is the question:\\
Whether 'tis nobler in the mind to suffer\\
The slings and arrows of outrageous fortune,\\
Or to take arms against a sea of troubles,\\
And by opposing end them? To die: to sleep;}
{To be, or not to be: that is the question:\\
Whether 'tis nobler in the mind to suffer\\
The slings and arrows of outrageous fortune,\\
Or to take arms against a sea of troubles,\\
And by opposing end them? To die: to sleep;\footnotemark}%
\footnotetext{Shakespeare Hamlet, III 1}
\end{verseparallel}
\bigskip

To be, or not to be\footnote{Shakespeare Hamlet, III 1}: that is the question:
Whether 'tis nobler in the mind to suffer The slings and arrows of outrageous
fortune, Or to take arms against a sea of troubles, And by opposing end them?
To die: to sleep;\footnote{Shakespeare Hamlet, III 1}

\end{document}

脚注

相关内容