Как добавить запятую между автором и годом в biblatex-philosophy?

Как добавить запятую между автором и годом в biblatex-philosophy?

Я новичок в 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}

мы получаем

введите описание изображения здесь

Связанный контент