我使用 管理我的参考文献biblatex
。有时我需要写后记,但引文带有逗号 (´,´)。有办法删除它吗?
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[
citestyle=authoryear-comp,
bibstyle=authoryear,
giveninits=true,
maxcitenames=2
]{biblatex}
%References
\begin{filecontents*}{references22.bib}
@Article{Ho_1899,
author = {Ho, Lionel and Dreyfus, J. and Boyer, J. and Lowe, T. and Bustamante, H. and Duker, P.},
title = {Example article},
year = {1899}
}
\end{filecontents*}
\addbibresource{references22.bib}
\begin{document}
\textcite[some words]{Ho_1899}\\ %I'd like to remove the comma after the year
\parencite[some words]{Ho_1899}
\end{document}
答案1
\renewcommand{\postnotedelim}{\space}
将删除逗号
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[
citestyle=authoryear-comp,
bibstyle=authoryear,
giveninits=true,
maxcitenames=2
]{biblatex}
\renewcommand{\postnotedelim}{\space}
%References
\begin{filecontents*}{references22.bib}
@Article{Ho_1899,
author = {Ho, Lionel and Dreyfus, J. and Boyer, J. and Lowe, T. and Bustamante, H. and Duker, P.},
title = {Example article},
year = {1899}
}
\end{filecontents*}
\addbibresource{references22.bib}
\begin{document}
\textcite[some words]{Ho_1899}\\ %I'd like to remove the comma after the year
\parencite[some words]{Ho_1899}
\end{document}