我使用 biblatex,因为我使用 APA 格式写作。我的教授指出我的引文存在格式问题 - 卷数和编号之间有一个空格,这是不应该的:12(2)对阵12(2)。例如,引用应显示为:
Lock, R. M. & Hazari, Z. (2016). Discussing underrepresentation as a means to facilitating female students’ physics identity development. Physical Review Physics Education Research, 12(2), 020101.
我现在得到的信息是:
Lock, R. M. & Hazari, Z. (2016). Discussing underrepresentation as a means to facilitating female students’ physics identity development. Physical Review Physics Education Research, 12 (2), 020101.
此问题与上述问题类似这里,但是我正在使用 biblatex,所以那里的解决方案对我来说不起作用。
MWE:(如果我使用 4 个空格,第一行将不会显示为代码 - 也许太长了?尝试使用 4 个空格...最终使用反引号)
\documentclass[12pt,letterpaper,keeplastbox,man,donotrepeattitle,floatsintext]{apa6}
\usepackage[american]{babel}
\usepackage[utf8]{inputenc}
\usepackage[style=apa,natbib=true,backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\author{MyName}
\title{ThisPaper}
\addbibresource{My Library.bib}
\begin{document}
\maketitle
Lock and Hazari argued that \citep{lock_discussing_2016}
\printbibliography
\end{document}
关联库文件:
@article{lock_discussing_2016,
title = {Discussing Underrepresentation as a Means to Facilitating Female Students' Physics Identity Development},
volume = {12},
url = {http://link.aps.org/doi/10.1103/PhysRevPhysEducRes.12.020101},
doi = {10.1103/PhysRevPhysEducRes.12.020101},
timestamp = {2017-03-28T01:44:08Z},
number = {2},
journaltitle = {Physical Review Physics Education Research},
author = {Lock, Robynne M. and Hazari, Zahra},
date = {2016},
pages = {020101},
file = {wiped},
groups = {wiped}
}
截屏: pdf 输出
答案1
那里没有合适的空间。不过,有一些额外的字距调整,称为斜体校正(\em 和 \emph 之间有什么区别?,斜体校正如何起作用?)你可以用
\DeclareFieldFormat[article]{volume}{{\em\apanum{#1}}}
如果你想\emph
更频繁地使用“未校正”,那就选择
\makeatletter
\protected\long\def\blx@imc@mkbibemphnc#1{%
{\em#1}\blx@imc@setpunctfont\emph}
\blx@regimcs{\mkbibemphnc}
\makeatother
\DeclareFieldFormat[article]{volume}{\mkbibemphnc{\apanum{#1}}}
定义一个不带斜体校正的\mkbibemph
版本\mkbibemphnc
。