fnpct
似乎可以出色地调整句号/逗号和脚注符号之间的字距。此 AdaptNote 命令确实会切换标点符号的位置,但不进行字距调整。我可以使用fnpct
来执行字距调整吗?
\documentclass{article}
\usepackage{natbib}
\setcitestyle{super,comma,open=,close=}
\usepackage{fnpct}
\AdaptNote\cite{o+m}[\@mpfn]{\IfNoValueTF{#1}{#NOTE{#2}}{#NOTE[#1]{#2}}}
\begin{document}
Footnotes \footnote{foo}, and citations \cite{citekey1}, exhibit different kerning \cite{citekey1,citekey2}.
\begin{thebibliography}{9}
\bibitem{citekey1} First citation.
\bibitem{citekey2} Second citation.
\end{thebibliography}
\end{document}
答案1
我猜您想将脚注标记稍微移动到标点符号上方。
\documentclass{article}
\usepackage{natbib}
\setcitestyle{super,comma,open=,close=}
\usepackage{fnpct}
\setfnpct{
after-comma-space={-0.2em},
after-dot-space={-0.2em},
}
\makeatletter
\AdaptNote\cite{o+m}[\@mpfn]{\IfNoValueTF{#1}{#NOTE{#2}}{#NOTE[#1]{#2}}}
\makeatother
\begin{document}
Footnote\footnote{x} footnote\footnote{foo}, and citations \cite{citekey1},
exhibit different kerning \cite{citekey1,citekey2}.
\begin{thebibliography}{9}
\bibitem{citekey1} First citation.
\bibitem{citekey2} Second citation.
\end{thebibliography}
\end{document}