
私は LaTeX (および Stack Exchange - 不注意による誤りがあった場合はあらかじめお詫び申し上げます) の初心者であり、biblatex-philosophy
スタイルの変更に取り組んでいます。
質問は、著者の後、年の前にカンマを追加するにはどうすればいいかということです。
答えここは では動作しないようですbiblatex-philosophy
。 のスタイルを変更する方法については漠然としたアイデアは得ていますbiblatex
が、アドオンへの変更による複雑さは現時点では理解できません。
必要な形式は次のとおりです:
*著者のイニシャルの後にもカンマがあることに注意してください。
以下の点についてはほぼ完了しています:
\documentclass[11pt, a4paper]{scrartcl}
% Bibliography preamble
\usepackage[giveninits=true, style=philosophy-modern]{biblatex}
\addbibresource{testbib.bib}
% Some tweaks I've already made
\DeclareFieldFormat{postnote}{#1}% no postnote prefix in "normal" citation commands
\DeclareFieldFormat{multipostnote}{#1}% no postnote prefix in "multicite" commands
\DeclareFieldFormat{pages}{#1}% no prefix for the `pages` field in the bibliography
\DeclareFieldFormat[article]{title}{#1} % Remove quotations from Article title
\setlength{\yeartitle}{5.4em} % Set greater spacing between the year and the title
\setlength{\postnamesep}{2.5ex plus 2pt minus 1pt}
\begin{document}
Sentence containing citation \parencite{pavese1965}.
\printbibliography
\end{document}
そして.bib
ファイル:
@book{pavese1965,
Author = {Pavese, Cesare},
Publisher = {University of Michigan Press},
Title = {Dialogues with Leucò},
date = {1965},
Editor = {William Arrowsmith and D. S. Carne-Ross},
editortype = {translator},
Location = {Ann Arbor}}
出力は次のようになります:
ご覧のとおり、少しだけ変更を加える必要があります (「trans. by」を「trans.」だけに変更する方法については、別の質問をします)。
答え1
\addcomma
元の定義に次のものを追加するだけでよい。\postsep
\renewcommand{\postsep}{%
\addcomma
\null\par\nobreak\vskip\postnamesep%
\hskip-\bibhang\ignorespaces}
合計で
\documentclass[11pt, a4paper]{scrartcl}
% Bibliography preamble
\usepackage[giveninits=true, style=philosophy-modern]{biblatex}
\addbibresource{biblatex-examples.bib}
% Some tweaks I've already made
\DeclareFieldFormat{postnote}{#1}% no postnote prefix in "normal" citation commands
\DeclareFieldFormat{multipostnote}{#1}% no postnote prefix in "multicite" commands
\DeclareFieldFormat{pages}{#1}% no prefix for the `pages` field in the bibliography
\DeclareFieldFormat[article]{title}{#1} % Remove quotations from Article title
\setlength{\yeartitle}{5.4em} % Set greater spacing between the year and the title
\setlength{\postnamesep}{2.5ex plus 2pt minus 1pt}
\renewcommand{\postsep}{%
\addcomma
\null\par\nobreak\vskip\postnamesep%
\hskip-\bibhang\ignorespaces}
\begin{document}
Sentence containing citation \parencite{sigfridsson,vizedom:related,worman}.
\printbibliography
\end{document}
我々が得る