我正在使用biblatex-dw
BibTeX8 后端和选项namefont=italic,
在脚注中,这很有效:https://www.screencast.com/t/Df8hOSYzd0S
在参考书目中,它对于大多数条目类型的作者和编辑来说绝对是完美的:https://www.screencast.com/t/sDpI3QVQ
- 作者 = 总是斜体:完美
- 编辑器 = 斜体,类型 =
@book
完美 - 如果条目类型为,则编辑器 = 不应为斜体
@incollection
所以我想我只需要一个针对条目类型的例外@incollection
,但我不知道如何解决这个问题......
梅威瑟:
\begin{filecontents*}{literatur.bib}
@Book{archiv-verwaltung1919,
Title = {Geschichte der Archiv-Verwaltung bei dem Deutschen Generalgouvernement Warschau},
Editor = {{Archiv-Verwaltung des Deutschen Generalgouvernements Warschau}},
Publisher = {Mittler},
Year = {1919},
Address = {Berlin},
Shorttitle = {Archiv-Verwaltung},
__markedentry = {[tw:1]},
Abstract = {Aufsätze 32 Exzerpt vorhanden},
Owner = {tw},
Timestamp = {2014.12.11}
}
@Book{deutscheostforschung1,
Title = {Deutsche Ostforschung. Ergebnisse und Aufgaben seit dem ersten Weltkrieg. Erster Band},
Editor = {Aubin, Hermann and Brunner, Otto and Kohte, Wolfgang and Papritz, Johannes},
Publisher = {Hirzel},
Year = {1942},
Address = {Leipzig},
Shorttitle = {Ostforschung I},
__markedentry = {[tw:1]},
Owner = {tw},
Timestamp = {2016.03.22}
}
@Incollection{ash2006,
Title = {Wissenschaftswandlungen und politische Umbrüche im 20. Jahrhundert -- was hatten sie miteinander zu tun?},
Author = {Ash, Mitchell G.},
Booktitle = {Kontinuitäten und Diskontinuitäten in der Wissenschaftsgeschichte des 20. Jahrhunderts},
Publisher = {Steiner},
Year = {2006},
Address = {Stuttgart},
Editor = {vom Bruch, Rüdiger and Gerhardt, Uta and Pawliczek, Aleksandra},
Pages = {S. 19-38},
Shorttitle = {Wissenschaftswandlungen},
Abstract = {Exzerpt vorhanden Aufsätze 9},
Owner = {tw},
Timestamp = {2013.05.14}
}
@Incollection{arnold-etal2009,
Title = {Tod, Zerstörung, Wiederaufbau. Zu einer europäischen Erinnerungsgeschichte des Luftkriegs},
Author = {Arnold, Jörg and Süß, Dietmar and Thießen, Malte},
Booktitle = {Luftkrieg. Erinnerungen in Deutschland und Europa},
Publisher = {Wallstein},
Year = {2009},
Address = {Göttingen},
Editor = {Arnold, Jörg and Süß, Dietmar and Thießen, Malte},
Pages = {S. 9-26},
Shorttitle = {Erinnerungsgeschichte},
Owner = {tw},
Timestamp = {2016.03.28}
}
\end{filecontents*}
\documentclass[a4paper,fontsize=10pt,numbers=noenddot]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{times}
\usepackage[backend=bibtex8,
style=authortitle-dw,
namefont=italic,
idembib=false,
sorting=nty,
hyperref=false,
edbyidem=false,
]{biblatex}
\DeclareNameAlias{sortname}{last-first}
\addbibresource{literatur.bib}
\begin{document}
kjsdb\footcite{archiv-verwaltung1919}jkd\footcite{deutscheostforschung1}sbfsjkdbfsdjk\footcite{armbruster2007} kjsddh\footcite{ash2006}fkjdsh hsdjkfhdsjfhdsj fdsh hwhsdjkfh sdkjh
\printbibliography
\end{document}
答案1
不幸的是,没有方便的方法可以挂接biblatex
以仅格式化主要名称(即在格式中打印为名字sortname
并且通常进入的名称labelname
)。我早就认为有这样的功能是个好主意,但我还没有找到一种方便的方法来实现它,欢迎提出建议。
使用 时biblatex-dw
,以下authortitle-dw
技巧应该可以做到:我们设置namefont=normal
并借助 有效地将其切换italic
为 用于引用\AtEveryCite
,对于参考书目,我们使用 的特殊格式sortname
。
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[backend=bibtex8,
style=authortitle-dw,
namefont=normal,% <- change this to 'normal'
idembib=false,
sorting=nty,
hyperref=false,
edbyidem=false,
]{biblatex}
\makeatletter
\AtEveryCite{\renewcommand{\bbx@namefont}{\mkbibemph}}
\DeclareNameAlias{sortname}{family-given-namefont-italic}
\DeclareNameFormat{family-given-namefont-italic}{%
\renewcommand{\bbx@namefont}{\mkbibemph}%
\ifgiveninits
{\usebibmacro{name:family-given}
{\namepartfamily}
{\namepartgiveni}
{\namepartprefix}
{\namepartsuffix}}
{\usebibmacro{name:family-given}
{\namepartfamily}
{\namepartgiven}
{\namepartprefix}
{\namepartsuffix}}%
\usebibmacro{name:andothers}}
\makeatother
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem\footcite{westfahl:space} ipsum\footcite{westfahl:frontier} dolor\footcite{sigfridsson} sit\footcite{brandt,moraux}
\printbibliography
\end{document}
这对 来说不起作用footnote-dw
。