是否可以在参考文献的排序顺序中生成局部更改?我正在使用authortitle-icomp
对我来说非常有效的样式。只有一个小问题。我想按系列编号对多个条目进行排序,而不影响所有带有 和 的“@book”条目number
。series
(如果没有更改,它们的顺序为 jT77a、jT77、jT77b,而我需要 jT77a、jT77b、jT77)
@book{jT77a,
author = {John~R.~R. Tolkien},
series = {Der Herr der Ringe},
number = {1},
title = {Die Gefährten},
year = {1977},
edition = {},
publisher = {Hobbit-Presse im Klett-Verlag},
location = {Stuttgart},
}
@book{jT77b,
author = {John~R.~R. Tolkien},
series = {Der Herr der Ringe},
number = {2},
title = {Die zwei Türme},
year = {1977},
edition = {},
publisher = {Hobbit-Presse im Klett-Verlag},
location = {Stuttgart},
}
@book{jT77,
author = {John~R.~R. Tolkien},
series = {Der Herr der Ringe},
number = {3},
title = {Die Rückkehr des Königs},
year = {1977},
edition = {},
publisher = {Hobbit-Presse im Klett-Verlag},
location = {Stuttgart},
}
答案1
knuth:ct:_
我建议你效仿biblatex-examples.bib
然后,您将使用maintitle
代替series
和volume
代替number
。然后添加一个sortyear
带有内容的字段<year>-<volume>
和一个sorttitle
带有内容的字段<maintitle> <volume>
。前者是为了让姓名-年份排序方案做正确的事情,后者是为了让姓名-标题方案做正确的事情。
@book{jT77a,
author = {John R. R. Tolkien},
maintitle = {Der Herr der Ringe},
volume = {1},
title = {Die Gefährten},
year = {1977},
publisher = {Klett-Cotta},
location = {Stuttgart},
sorttitle = {Der Herr der Ringe 1},
sortyear = {1977-1},
}
@book{jT77b,
author = {John R. R. Tolkien},
maintitle = {Der Herr der Ringe},
volume = {2},
title = {Die zwei Türme},
year = {1977},
publisher = {Klett-Cotta},
location = {Stuttgart},
sorttitle = {Der Herr der Ringe 2},
sortyear = {1977-2},
}
@book{jT77,
author = {John R. R. Tolkien},
maintitle = {Der Herr der Ringe},
volume = {3},
title = {Die Rückkehr des Königs},
year = {1977},
publisher = {Klett-Cotta},
location = {Stuttgart},
sorttitle = {Der Herr der Ringe 3},
sortyear = {1977-3},
}
平均能量损失
\documentclass[ngerman]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage{filecontents}
\usepackage[style=authortitle-ibid]{biblatex}
\begin{filecontents}{\jobname.bib}
@book{jT77a,
author = {John R. R. Tolkien},
maintitle = {Der Herr der Ringe},
volume = {1},
title = {Die Gefährten},
year = {1977},
publisher = {Klett-Cotta},
location = {Stuttgart},
sorttitle = {Der Herr der Ringe 1},
sortyear = {1977-1},
}
@book{jT77b,
author = {John R. R. Tolkien},
maintitle = {Der Herr der Ringe},
volume = {2},
title = {Die zwei Türme},
year = {1977},
publisher = {Klett-Cotta},
location = {Stuttgart},
sorttitle = {Der Herr der Ringe 2},
sortyear = {1977-2},
}
@book{jT77,
author = {John R. R. Tolkien},
maintitle = {Der Herr der Ringe},
volume = {3},
title = {Die Rückkehr des Königs},
year = {1977},
publisher = {Klett-Cotta},
location = {Stuttgart},
sorttitle = {Der Herr der Ringe 3},
sortyear = {1977-3},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\renewrobustcmd*{\bibnamedelimb}{\addnbspace}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
给出
约翰·RR·托尔金指环王。卧室 1:遭遇。斯图加特:Klett-Cotta,1977 年。
—指环王。卧室 2:两个火炬。斯图加特:Klett-Cotta,1977 年。
—指环王。卧室 3:国王的复兴。斯图加特:Klett-Cotta,1977 年。