我使用 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
Called版本。\mkbibemphnc