![调整 biber 样式](https://linux22.com/image/350521/%E8%B0%83%E6%95%B4%20biber%20%E6%A0%B7%E5%BC%8F.png)
我正在使用 biblatex 和 biber 来制作参考书目。目前,我陷入了对 latex 的深入研究。我需要实现以下样式:
对于书籍:
名称,g.;名称 2,g2.:标题。副标题。版本位置年份。
贝克尔,J.; Rosemann, M.:物流与 CIM。工业企业中高效的物料和信息流量管理。 2. 奥夫拉柏林 1993 年。
对于文章:
名称,例如:标题。在:期刊,卷(年)号,页码
贝克尔,J.;罗斯曼,M.; Schütte,R.:基础秩序模型(GoM)。出处:Wirtschaftsinformatik, 37 (1995) 4, 页 435-445。
对于杂项(在线来源):
名称,例如:标题。年份。网址。检索日期。
Kargermann,H.:会计作为管理工具。1995年。http://www.sap.com/events/event4.htm. 日期 1996-02-12。
以下是代码: https://www.overleaf.com/8433813pqyccbpgnmtc
\documentclass[
12pt,
numbers=noenddot,
listof=entryprefix,
captions=nooneline
]{scrreprt}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[onehalfspacing]{setspace}
%Literatur
\usepackage[backend=biber,style=authoryear, maxbibnames=99, maxcitenames=3,doi=false, isbn=false]{biblatex}
\addbibresource{Thesis.bib}
%% ; zwischen Autoren/Editoren in Bib
\renewcommand*{\multinamedelim}{; }
\renewcommand*{\finalnamedelim}{; }
\DefineBibliographyStrings{german}{%et al. anstatt u. a.
andothers = {et al.},
}
% Einzug der 2. Zeile im Literatuverzeichnis
\setlength\bibhang{1.5cm}
%Abrufdatum
\DefineBibliographyStrings{german}{%
urlseen = {Abrufdatum },
}
%Runde Klammern um Jahreszahl in den Fußnoten
\DeclareFieldFormat{bibhyperrefparens}{\bibhyperref{\mkbibparens{#1}}}
\renewbibmacro*{cite:labelyear+extrayear}{%
\iffieldundef{labelyear}
{}%
{\printtext[bibhyperrefparens]{%
\printfield[]{labelyear}%
\printfield[]{extrayear}%
}%
}%
}
\usepackage{filecontents}
\begin{filecontents}{Thesis.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. Aufl.},
loacation = {Berlin},
publisher = {Thomson/South-Western}
}
@misc{Thommen.2016,
author = {Thommen, Jean-Paul and Siepermann, Markus},
editor = {{Springer Gabler Verlag}},
year = {2016},
title = {Gabler Wirtschaftslexikon: Stichwort: Heuristik},
url = {http://wirtschaftslexikon.gabler.de/Archiv/4969/heuristik-v8.html}
}
\end{filecontents}
\begin{document}
article\footcite[Vgl.][S. 1 f.]{Zhong.2006} \\
book\footcite[Vgl.][S. 1 f.]{Zikmund.2003} \\
misc\footcite[Vgl.][S. 1 f.]{Thommen.2016}
\printbibliography
\end{document}
答案1
.bib
使用这个。请注意我对您的文件和引用命令所做的更改。
\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, alldates=ymd, datezeros=true]{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}}}
%Runde Klammern um Jahreszahl in den Fußnoten
\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}}
\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}