
我在用著
\usepackage[backend=biber,style=authoryear-ibid]{biblatex}
是否可以修改參考書目中使用的破折號,以用另一個符號表示同一作者(例如更長的破折號)?就像是\renewcommand{\ibidendash}{\textemdash\textemdash}
?該文件展示瞭如何關閉破折號,但不修改它們。
文件就是一個例子50-style-authoryear.tex
。
答案1
這是一個使用規則集長度的一小部分的版本\bibhang
\documentclass{article}
\begin{filecontents}{\jobname.bib}
@book{Chomsky1986,
Address = {Cambridge Mass.},
Author = {Noam Chomsky},
Publisher = {{MIT} Press},
Title = {Barriers},
Year = {1986}}
@book{Chomsky1981,
Address = {Dordrecht},
Author = {Noam Chomsky},
Publisher = {Foris Publications},
Title = {Lectures on Government and Binding},
Year = {1981}}
\end{filecontents}
\usepackage[style=authoryear-ibid]{biblatex}
\addbibresource{\jobname.bib}
\setlength\bibhang{.5in}
\renewcommand*{\bibnamedash}{%
\ifdimless{\leftmargin}{0.75em}
{\mbox{\textemdash\space}}
{\makebox[\leftmargin][l]{%
\ifdimless{\leftmargin}{1.25em}
{\textendash}
{\rule{.8\bibhang}{.2pt}}}}}
\begin{document}
\autocite{Chomsky1981,Chomsky1986}
\printbibliography
\end{document}
答案2
\setlength\bibhang{2.4em}%% two dashes and space
\renewcommand*\bibnamedash{\textemdash\textemdash\space}