
저는 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}
우리는 얻는다