Biblatex 对参考书目进行了细微调整

Biblatex 对参考书目进行了细微调整

我需要对我的参考书目进行一些小改动。我正在使用 biblatex 和 biber。

  1. [完毕]我如何才能将参考书目更改为以“\normalfont”显示?目前,标题/副标题/出版商/期刊为斜体样式,而网址的样式不同。

  2. [完毕]如何在每个文档类型的作者后添加冒号

  3. [完毕]删除文档类型@article中标题周围的引号

  4. [完毕]在文档类型@article和@book中,在标题和副标题之间添加“。”“标题. 副标题。”

\documentclass{article}
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc} 
\usepackage[ngerman]{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=authoryear, bibstyle=authortitle, sorting=nyt, maxbibnames=99, maxcitenames=3, doi=false, isbn=false, giveninits=true, uniquename=init, datezeros=true, urldate=iso8601, date=iso8601]{biblatex} 

\DeclareNameAlias{sortname}{family-given}

\renewcommand*{\multinamedelim}{\addsemicolon\space}
\renewcommand*{\finalnamedelim}{\multinamedelim}
\DefineBibliographyStrings{german}{%et al. anstatt u. a.
andothers = {et al.},
}

\setlength\bibhang{1.5cm}

\DefineBibliographyStrings{german}{% 
urlseen = {Abrufdatum}, 
}
\DeclareFieldFormat{url}{\url{#1}}
\DeclareFieldFormat{urldate}{\bibstring{urlseen}\space#1}
\renewbibmacro*{url+urldate}{%
\usebibmacro{url}%
\iffieldundef{urlyear}
{}
{\newunit
\usebibmacro{urldate}}}

\DeclareFieldFormat{bibhyperrefparens}{\bibhyperref{\mkbibparens{#1}}}
\renewbibmacro*{cite:labelyear+extrayear}{%
\iffieldundef{labelyear}
{}%
{\printtext[bibhyperrefparens]{%
\printfield{labelyear}%
\printfield{extrayear}}}}

\renewbibmacro*{journal+issuetitle}{%
\usebibmacro{journal}%
\setunit*{\addcomma\space}%
\iffieldundef{series}
{}
{\newunit
\printfield{series}%
\setunit{\addcomma\space}}%
\printfield{volume}%
\setunit{\addspace}%
\usebibmacro{issue+date}%
\setunit{\addcolon\space}%
\usebibmacro{issue}%
\setunit{\addspace}%
\printfield{number}%
\newunit}

\renewbibmacro*{pubinstorg+location+date}[1]{%
\printlist{location}%
\setunit{\addspace}%
\usebibmacro{date}%
\newunit}

\renewbibmacro*{publisher+location+date}{\usebibmacro{pubinstorg+location+date}{publisher}}
\renewbibmacro*{institution+location+date}{\usebibmacro{pubinstorg+location+date}{institution}}
\renewbibmacro*{organization+location+date}{\usebibmacro{pubinstorg+location+date}{organization}}


\DeclareFieldFormat [article] {journaltitle}{\normalfont{#1}}

\DeclareFieldFormat [book] {title}{\normalfont{#1}}

\DeclareFieldFormat [misc] {title}{\normalfont{#1}} \appto{\biburlsetup}{\renewcommand*{\UrlFont}{\normalfont}}

\DeclareFieldFormat [book] {title}{\normalfont{#1}} \renewcommand{\labelnamepunct}{\addcolon\space}

\DeclareFieldFormat [article] {title}{#1}

\DeclareFieldFormat [article] {title}{#1}


\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{Zhong.2006,
author = {Zhong, Chen-Bo and Liljenquist, Katie},
year = {2006},
title = {Washing Away Your Sins: Threatened Morality and Physical Cleansing},
pages = {1451--1452},
volume = {313},
number = {5792},
journal = {Science},
}

@book{Zikmund.2003,
author = {Zikmund, William G.},
year = {2003},
title = {Business research methods},
edition = {7},
publisher = {Thomson/South-Western},
location = {Berlin},
}

@misc{Thommen.2016,
author = {Thommen, Jean-Paul and Siepermann, Markus},
year = {2016},
title = {Gabler Wirtschaftslexikon: Stichwort: Heuristik},
url = {http://wirtschaftslexikon.gabler.de/Archiv/4969/heuristik-v8.html},
urldate = {1996-12-05},
}
\end{filecontents} 

\addbibresource{\jobname.bib}

\begin{document}
article\footcite[Vgl.][1\psq]{Zhong.2006} \\
book\footcite[Vgl.][1\psq]{Zikmund.2003} \\
misc\footcite[Vgl.][1\psq]{Thommen.2016}

\printbibliography
\end{document}

背页:https://www.overleaf.com/8442810jqhmvxrsjmwb

谢谢你!

答案1

我可以使用以下命令修复点 1、2、3:

\DeclareFieldFormat
[article]
{journaltitle}{\normalfont{#1}}

\DeclareFieldFormat
[book]
{title}{\normalfont{#1}}

\DeclareFieldFormat
[misc]
{title}{\normalfont{#1}}
\appto{\biburlsetup}{\renewcommand*{\UrlFont}{\normalfont}}

\DeclareFieldFormat
[book]
{title}{\normalfont{#1}}
\renewcommand{\labelnamepunct}{\addcolon\space}

\DeclareFieldFormat
[article]
{title}{#1}

\DeclareFieldFormat
[article]
{title}{#1}
  1. 您可以使用 citavi 以正确的格式导出标题

全部解决了:) 谢谢你们。

相关内容