我使用 teXstudio 和 MiKTeC,以及 Biblatex 和 apa
我的文本文件:
\documentclass[a4paper,11pt,listof=totoc,glossary=totoc,parskip=half,toc=bibliography]{scrartcl}
\usepackage[a4paper,left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\usepackage[onehalfspacing]{setspace}
\usepackage[colorlinks,
pdfpagelabels,
pdfstartview = FitH,
bookmarksopen = true,
bookmarksnumbered = true,
linkcolor = black,
plainpages = false,
hypertexnames = false,
citecolor = black]{hyperref}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{uarial}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{csquotes}
\usepackage[backend=biber, style=apa]{biblatex}
\addbibresource{test.bib}
\renewcommand{\familydefault}{\sfdefault}
\begin{document}
Hier beginnt mein Dokument \autocite{Nature2017}.
\printbibliography[title={Literaturverzeichnis}]
\end{document}
我的参考书目:
@online{Nature2017,
editor = {Philip Campbell},
publisher={Macmillan Publishers Ltd.},
title = {Nature},
location={Great Britain},
url = {https://www.nature.com/nature/},
urldate = {2017-12-02},
}
我的结果:
期望的结果就像
坎贝尔,P.(Hrsg.)。 (第)。自然。 于 2017 年 12 月 2 日访问 https://....
答案1
\DefineBibliographyStrings
(在序言中)是用于覆盖默认字符串的工具。此处使用的字符串是retrieved
(由 apa 样式定义)。
不相关:hyperref
应最后加载,只有极少数例外(最值得注意的:)cleveref
。我还擅自简化了geometry
参数。
\documentclass[a4paper,11pt,listof=totoc,glossary=totoc,parskip=half,toc=bibliography]{scrartcl}
\usepackage[margin=2cm]{geometry}
\usepackage[onehalfspacing]{setspace}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{uarial}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{csquotes}
\usepackage[backend=biber, style=apa]{biblatex}
\addbibresource{test.bib}
\renewcommand{\familydefault}{\sfdefault}
\DefineBibliographyStrings{ngerman}{%
retrieved = {Zugriff}}
\usepackage[colorlinks,
pdfpagelabels,
pdfstartview = FitH,
bookmarksopen = true,
bookmarksnumbered = true,
linkcolor = black,
plainpages = false,
hypertexnames = false,
citecolor = black]{hyperref}
\begin{document}
Hier beginnt mein Dokument \autocite{Nature2017}.
\printbibliography[title={Literaturverzeichnis}]
\end{document}