我在正文和参考文献中使用旧式数字。然而,在参考书目中,年份、版本、卷数和期数看起来不如 OSF。我该如何停用参考书目中的这些内容?请查看 MWE,这是关于“1972 年”的。
\begin{filecontents}{\jobname.bib}
@book{Labov1972,
Address = {Philadelphia},
Author = {William Labov},
Publisher = {University of Pennsylvania Press},
Title = {Sociolinguistic Patterns},
Year = {1972}}
\end{filecontents}
\documentclass[a4paper,11pt]{article}
\usepackage[style=numeric,backend=biber]{biblatex}
\addbibresource{\jobname.bib}
\usepackage[osf]{mathpazo}
\begin{document}
Example citation \cite{Labov1972}.
\printbibliography
\end{document}
答案1
确实(正如 Ulrike 在评论中提到的那样)切换到ppl
(Palatino 和常规数字)会有所帮助。您可以通过重新定义来做到这一点\rmdefault
,但另一种选择是重新定义,\bibfont
如下所示Biblatex:更改引用标记和参考文献的字体?。
为了保留引用标签的旧样式数字,您可以在本地将引用标签格式改回pplj
BibLaTeX 字段内,如下所示labelnumberwidth
从 lncs 的 biblatex 引用中删除括号。
\begin{filecontents}{\jobname.bib}
@book{Labov1972,
Address = {Philadelphia},
Author = {William Labov},
Publisher = {University of Pennsylvania Press},
Title = {Sociolinguistic Patterns},
Year = {1972}}
\end{filecontents}
\documentclass[a4paper,11pt]{article}
\usepackage[style=numeric,backend=biber]{biblatex}
\usepackage[osf]{mathpazo}
\renewcommand*{\bibfont}{\fontfamily{ppl}\selectfont}
\DeclareFieldFormat{labelnumberwidth}{\fontfamily{pplj}\selectfont[#1]}
\addbibresource{\jobname.bib}
\begin{document}
Example citation \cite{Labov1972}. Old-style figures in numbers: 1972, [1].
Comparison with mathpazo in text and ppl in bibliography:\\[1cm]
\normalfont\frenchspacing
\noindent[1]\quad William Labov. \textit{Sociolinguistic Patterns.} Philadelphia: University of Pennsylvania Press, 1972.
\printbibliography
\end{document}
结果: