我想编辑我的文档引文中的分隔符。MWE
% This is {MWE.tex} Created on 2017-06-12 by thymaro %
\documentclass[11pt,a4paper]{article}
\usepackage{fontspec}
\usepackage{booktabs}
\usepackage{caption}
\usepackage[style=authoryear-ibid]{biblatex}
\addbibresource{mwe.bib}
\renewcommand*{\mkbibnamefamily}[1]{\textsc{#1}}
\renewcommand*{\postnotedelim}{\addspace\addcolon\space}
\usepackage{url}
\begin{document}
\begin{table}
\centering
\caption[Agricultural land use]{Agricultural land use \parencite[A34]{br11}}
\label{tab:lu}
\begin{tabular}{lr}
\toprule
Land use & [ha] \\ \midrule
arable land (total) & 951 654 \\
of which soft wheat & 51 842 \\ \bottomrule
\end{tabular}
\end{table}
\printbibliography
\end{document}
使用 mwe.bib 如下
@techreport{br11,
address = {New Amsterdam},
author = {{blw -- Baldwin Locomotive Works}},
shortauthor = {blw},
institution = {{Institute for Bio Reports}},
pages = {460},
title = {{Bio Report 2011}},
url = {https://www.bioreport.com},
year = {2011}
}
生产
我希望引用更像
在冒号分隔符前后使用细空格(或类似空格),例如
[作者] [年份] Thinspace 冒号 Thinspace [页数]
我怎样才能实现这样的结果?
答案1
正如@moewe在下面的评论中指出的那样\addthinspace
,,\addnbthinspace
和在的开头\addspace
被删除。而是使用,它使用和不会被删除。biblatex
postnote
\thinspace
\kern
所以\renewcommand*{\postnotedelim}{\thinspace\addcolon\thinspace}
会做你想做的事。