这是该结果的代码:
\documentclass[11pt, a4paper]{article}
\usepackage[dutch]{babel}
\usepackage[hyphens]{url}
\usepackage[hidelinks]{hyperref}
\hypersetup{breaklinks=true}
\usepackage{apacite}
\title{Title}
\author{Author}
\date{Date}
\begin{document}
\maketitle
text \cite{greenwade93}
\bibliographystyle{apalike}
\bibliography{sample}
\end{document}
使用.bib 文件:
@article{greenwade93,
author = "George D. Greenwade",
title = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",
year = "1993",
journal = "TUGBoat",
volume = "14",
number = "3",
pages = "342--351"
}
我该如何正确显示引文?如能提供任何帮助,我将不胜感激!!
答案1
书目apalike
风格确实很古老——想想 1984 年左右。
由于您使用的是磷灰石引用管理包,你确实应该使用apacite
,而不是apalike
,书目样式。综合起来,apacite
引用管理包和apacite
书目样式实现了第六版“APA 手册”。
请注意,第 6 版不再是 APA 手册的最新版本。如果您需要根据当前版本格式化引文标注和书目条目,即第七版APA 手册,您必须从 BibTeX 和apacite
组合切换到biber
和biblatex
包。
\documentclass[11pt, a4paper]{article}
\begin{filecontents}[overwrite]{sample.bib}
@article{greenwade93,
author = "George D. Greenwade",
title = "The {Comprehensive TeX Archive Network} ({CTAN})",
year = "1993",
journal = "TUGBoat",
volume = "14",
number = "3",
pages = "342--351",
}
\end{filecontents}
\usepackage[dutch]{babel}
\usepackage{xurl} %%% [hyphens]{url}
\usepackage[hidelinks]{hyperref}
%%\hypersetup{breaklinks=true}
%% if ok to use 6th ed. of APA manual. Must use BiBTeX:
%\usepackage{apacite}
%\bibliographystyle{apacite} %%{apalike}
% if ok with using biblatex with either 6th or 7th ed. of APA manual, Must use biber.
%\usepackage[style=apa6]{biblatex} % 6th ed.
\usepackage[style=apa]{biblatex} % 7th ed.
\addbibresource{sample.bib}
\begin{document}
\noindent
\cite{greenwade93}
% if using 'apacite' (and bibtex):
%\bibliography{sample}
% if using biblatex (and biber):
\printbibliography
\end{document}
答案2
我稍微改变了一下代码。
\documentclass[11pt, a4paper]{article}
\usepackage[dutch]{babel}
\usepackage[hyphens]{url}
\usepackage[hidelinks]{hyperref}
\hypersetup{breaklinks=true}
%\usepackage{apacite} % commented this
\usepackage[style=apa,sortcites=true,sorting=nyt]{biblatex} % use biblatex
\addbibresource{sample.bib} % specify the name of the bib file
\title{Title}
\author{Author}
\date{Date}
\begin{document}
\maketitle
text \parencite{greenwade93} % parencite instead of cite
%\bibliographystyle{apalike} % commented this out
\printbibliography % used printbibliography command
%\bibliography{sample} % commented this out
\end{document}
输出如下所示: