我在用着
\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}