![Ledmac - 抑制引理注释中的粗体](https://linux22.com/image/242557/Ledmac%20-%20%E6%8A%91%E5%88%B6%E5%BC%95%E7%90%86%E6%B3%A8%E9%87%8A%E4%B8%AD%E7%9A%84%E7%B2%97%E4%BD%93.png)
我正在排版我的论文,这是一篇拉丁文本的西班牙语翻译版。正文中的圣经引文用粗体字母表示。但是,当我做引文脚注时,我不希望粗体字体传递到注释中。我发现了这个技巧作者:Dirk-Jan Dekker
\makeatletter
\def\select@lemmafont#1|#2|#3|#4|#5|#6|#7|%
{\select@@lemmafont#7|}
\def\select@@lemmafont#1/#2/#3/#4|%
{\fontencoding{#1}\fontfamily{#2}\fontshape{#4}%
\selectfont}
\makeatother
但我不知道应该把它放在序言的哪个位置。我试过好几个地方,但当我编译应用程序时,它似乎陷入了循环,而且它只是不断地循环。
有人能帮助我吗?
答案1
你可能不需要这么复杂。看这个例子:
\documentclass[12pt]{article}
\usepackage{ledmac}
\let\appcrit\Afootnote% <-- apparatus criticus
\footparagraph{A}
% now three commands, one normal, one with unique \lemma, one without unique lemma
\newcommand{\apc}[2]{\edtext{#1}{\appcrit{#2}}}%
\newcommand{\apcl}[3]{\edtext{#1}{\lemma{#2}\appcrit{#3}}}%
\newcommand{\nobold}[2]{\edtext{#1}{\lemma{\textnormal{#1}}\appcrit{#2}}}%
\begin{document}
\pagestyle{plain}
\beginnumbering
\pstart
I am typesetting my thesis, an edition of a Latin text with Spanish
translation. \apc{\textbf{Bible quotations}}{this one has a bold lemma} in
the main text are in bold letters. However, when I make a lemma footnote I
\apcl{do not want the bold}{do not want the bold}{so no bold} font to pass
to the notes. I found this trick from Dirk-Jan Dekker. But I do not know
where in my preamble I should place it. I have tried several places and
when I compile the application seems to get into a loop and it simply goes
on and on. \nobold{Can anybody help me with this}{no bold, but without
unique lemmata}?
\pend
\endnumbering
\end{document}