![Reledmac:自定义熟悉的注释标记](https://linux22.com/image/478243/Reledmac%EF%BC%9A%E8%87%AA%E5%AE%9A%E4%B9%89%E7%86%9F%E6%82%89%E7%9A%84%E6%B3%A8%E9%87%8A%E6%A0%87%E8%AE%B0.png)
我想把脚注标记弄小一点,并在熟悉的脚注中将文本与标记拉开距离。我试过宏\thefootnoteA
(reledmac manual 6.5.2),但我不知道该怎么做。你有什么建议吗?这是 MWE:
\documentclass{article}
\usepackage{polyglossia,fontspec,xunicode}
\usepackage{libertine}
\usepackage[noresetlinenumannotation, series={A}, noend,noeledsec,noledgroup]{reledmac}
\Xarrangement[A]{paragraph}
\parindentX
\fnpos{critical-familiar}
\begin{document}
\beginnumbering
\pstart
\edtext{Lorem}{\Afootnote{A critical note}}
\edtext{ipsum}{\Afootnote{An other critical note}}
dolor sit amet. Fusce\footnoteA{A Familiar note (very very very very very very very very very very very very very very very very very very very very very very very very very very very very very long)} sed dolor libero. Aenean\footnote{A regular note (very very very very very very very very very very very very very very very very very very very very very very very very very very very very very long)} rutrum vestibulum lacus ut pretium. Fusce et auctor lectus. Ut et commodo quam, quis gravida orci. Nullam at risus elementum, suscipit enim a, pellentesque mi
\pend
\endnumbering
\end{document}
答案1
我假设您想要更改该A
系列的 reledmac 脚注(\footnoteA
),尽管在您的示例中,您也使用了标准 LaTeX 脚注(\footnote
)
你必须重新定义
\bodyfootmarkA
使正文中的脚注标记变小。只需采用标准定义,然后添加字体大小命令即可。footfootmarkA
在脚注中在脚注标记后添加空格。只需采用标准定义,然后添加命令即可\hspace
。
当这些命令使用时,您必须用...@
包装您的重新定义。\makeatletter
\makeatother
\documentclass{article}
\usepackage{polyglossia,fontspec,xunicode}
\usepackage{libertine}
\usepackage[noresetlinenumannotation, series={A}, noend,noeledsec,noledgroup]{reledmac}
\Xarrangement[A]{paragraph}
\parindentX
\fnpos{critical-familiar}
\makeatletter
\renewcommand*{\bodyfootmarkA}{%
\hbox{%
\textsuperscript{%
\tiny%\Tiny, or other little size
\normalfont\@nameuse{@thefnmarkA}%
}%
}%
}%
\renewcommand{\footfootmarkA}{%
\textsuperscript{\@nameuse{@thefnmarkA}}%
\nobreak%Eventually, prevent break
\hspace{1em}%1em, but you can decide your size
}
\makeatother
\begin{document}
\beginnumbering
\pstart
\edtext{Lorem}{\Afootnote{A critical note}}
\edtext{ipsum}{\Afootnote{An other critical note}}
dolor sit amet. Fusce\footnoteA{A Familiar note (very very very very very very very very very very very very very very very very very very very very very very very very very very very very very long)} sed dolor libero. Aenean\footnote{A regular note (very very very very very very very very very very very very very very very very very very very very very very very very very very very very very long)} rutrum vestibulum lacus ut pretium. Fusce et auctor lectus. Ut et commodo quam, quis gravida orci. Nullam at risus elementum, suscipit enim a, pellentesque mi
\pend
\endnumbering
\end{document}
答案2
我不确定您的方法,或者文本和标记之间的距离,但这里有一种方法可以让我得到一个较小的脚注标记,至少希望可以回答您的部分问题:
\documentclass{article}
\makeatletter
\renewcommand{\@makefnmark}{\hbox{\textsuperscript{\tiny{\@thefnmark}}}}
\makeatother
\begin{document}
Text with a smaller footnote mark\footnote{The footnote.}.
\end{document}
当然,您可以\tiny
用其他尺寸替换该命令,例如\Huge
等等。