ledmac 与 setspace:不要改变关键注释的间距

ledmac 与 setspace:不要改变关键注释的间距

通常setspace尝试仅设置正文的拉伸,脚注保持不变。与ledmac关键注释相结合也会拉伸。有没有办法解除拉伸这些注释像普通的脚注一样吗?

\documentclass{scrbook}
\usepackage{xltxtra}

\usepackage{setspace}
    \AtBeginDocument{\setstretch{2}}
    % without \AtBeginDocument it leads to an arithmetic overflow
    % don't know why ...

% für die Edition
\usepackage{ledmac}
\newcommand{\BNote}[3][]{%
        \edtext{#2}{\lemma{}\Bfootnote{#3}}%
}
\footparagraph{B}

\begin{document}
\beginnumbering
\setstanzaindents{2,0,0,0,0,0,0,0,0,0,0,}
\stanza
inspirat genio. Sed quae depingere vocem &
dextra potest oculisque echo signare videndam? &
\BNote{clarus}{very long text to show the problem\textbf{C}} circa urbes et famae voce lyraeque. &
Illum laetus Hymen plausu iuvenumque choreis &
At tandem \BNote{vergente}{urgente very long text to show the problem\textbf{H}} die festoque peracto &
\BNote{At}{ac very long text to show the problem\textbf{C}} cito colloquio facto dictaque salute &
spondet et oblato sua fata \BNote{paciscitur}{pasciscitur very long text to show  
    very long text to show the problem\textbf{H}} auro.
\&
\endnumbering
\end{document}

在 lockstep 的答案似乎工作正常之后,它在使用时停止工作ledparledmac这是新的例子。

\documentclass{scrbook}
\usepackage{ledmac,ledpar}
\newcommand{\BNote}[3][]{%
        \edtext{#2}{\lemma{}\Bfootnote{#3}}%
}
\footparagraph{B}
\usepackage{setspace}
\begin{document}
    \begin{spacing}{2}
        \begin{pages}
            \begin{Leftside}
                \beginnumbering
                \setstanzaindents{2,0,0,0,0,0,0,0,0,0,0,}
                \stanza
                inspirat genio. Sed quae depingere vocem &
                dextra potest oculisque echo signare videndam? &
                \BNote{clarus}{very long text to show the problem\textbf{C}}
                    circa urbes et famae voce lyraeque. &
                Illum laetus Hymen plausu iuvenumque choreis &
                At tandem \BNote{vergente}{urgente very long text to
                    show the problem\textbf{H}} die festoque peracto &
                \BNote{At}{ac very long text to show the problem\textbf{C}}
                    cito colloquio facto dictaque salute &
                spondet et oblato sua fata \BNote{paciscitur}{pasciscitur
                    very long text to show  
                    very long text to show the problem\textbf{H}} auro.
                \&
                \endnumbering
            \end{Leftside}
            \begin{Rightside}
                \beginnumbering
                \setstanzaindents{2,0,0,0,0,0,0,0,0,0,0,}
                \stanza 1 & 2 & 3 & 4 & 5 & 6 & 7 \&
                \endnumbering
            \end{Rightside}
            \Pages
        \end{pages}
    \end{spacing}
\end{document}

答案1

为了避免“算术溢出”错误,请setspace在 之后加载。要使 的注释ledmac实现单倍行距,请省略文档正文并将其括在环境中。ledmac\setstretch{2}spacing

\documentclass{scrbook}

\usepackage{ledmac}
\newcommand{\BNote}[3][]{%
  \edtext{#2}{\lemma{}\Bfootnote{#3}}%
}
\footparagraph{B}

\usepackage{setspace}

\begin{document}
\begin{spacing}{2}
\beginnumbering
\setstanzaindents{2,0,0,0,0,0,0,0,0,0,0,}
\stanza
inspirat genio. Sed quae depingere vocem &
dextra potest oculisque echo signare videndam? &
\BNote{clarus}{very long text to show the problem\textbf{C}} circa urbes et famae voce lyraeque. &
Illum laetus Hymen plausu iuvenumque choreis &
At tandem \BNote{vergente}{urgente very long text to show the problem\textbf{H}} die festoque peracto &
\BNote{At}{ac very long text to show the problem\textbf{C}} cito colloquio facto dictaque salute &
spondet et oblato sua fata \BNote{paciscitur}{pasciscitur very long text to show  
    very long text to show the problem\textbf{H}} auro.
\&
\endnumbering
\end{spacing}
\end{document}

答案2

我曾经遇到过这个问题。你必须仔细研究 ledmac.sty 才能知道发生了什么。不过,修复起来相当简单:

%% from ledmac.sty:
%% \newcommand*{\notefontsetup}{\footnotesize}
\renewcommand*{\notefontsetup}{\linespread{1}\selectfont\footnotesize}

这对我有用,并且对您更新的示例也有用。

相关内容