我创建了三个用于biblatex-dw
排版\recto
\verso
和\rectoverso
引用的命令。
如果其中一个命令后面跟着句号或逗号,那么我认为上标和句号/逗号之间的水平间距太宽。
为了弥补这一点,我尝试使用作为独立命令工作的@ifnextchar
命令\recto
,但不在不同 cite 命令的 postnote 参数内工作biblatex
。
我认为这个方法@ifnextchar
不起作用,因为biblatex-dw
它对后记本身进行了大量重新排列,并在脚注中插入了最后的句号。有什么想法可以达到预期的效果吗?
\documentclass {scrbook}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[french,english,ngerman]{babel}
\usepackage{microtype}
\usepackage[backend=biber,style=footnote-dw]{biblatex}
\makeatletter
\newcommand{\recto}{%
\mkbibsuperscript{r}%
\@ifnextchar.%
{\kern-.06em}%
{}%
}
\newcommand{\verso}{\mkbibsuperscript{v}}
\newcommand{\rectoverso}{\mkbibsuperscript{r--v}}
\DeclareRangeCommands*{\recto\verso\rectoverso}
\makeatother
\begin{filecontents*}{MWE.bib}
@Collection{Test,
editor = {Cornelisse, J. W.},
title = {Rocket Propulsion and Spaceflight Dynamics},
year = {1979},
gender = {sm},
publisher = {Pitman}
}
\end{filecontents*}
\bibliography{MWE.bib}
\begin{document}
Test 50\recto. <-- This works
Test 50\recto, <-- To see the effect between the full stop kerning and the not affected comma
Test \fullcite[][50\recto]{Test}. <-- This leads to 5 errors. The final full stop in the footnote should be moved nearer to the superscripted r
Test\footnote{Some remarks. \fullcite[][50\recto]{Test}.} <-- This leads to 5 errors. The final full stop in the footnote should be moved nearer to the superscripted r
Test\footnote{Some remarks. \fullcite[][50\recto]{Test} and \fullcite[][55\recto]{Test}.} <-- This leads to 10 errors. The final full stop in the footnote should be moved nearer to the superscripted r, but the word 'and' shouldn't be affected
\end{document}