APA 格式的文档无法编译

APA 格式的文档无法编译

有人能帮我使用 APA 格式吗?我无论如何都无法让它工作。我在 Google 上搜索过,但似乎有上百万个 APA 包。我只想要一个简单的 APA 格式,其中文内引用应为:(作者,2007),参考书目按字母顺序排列。

[顺便说一句,我是 LaTeX 的新手,如果我的表达能力较差或者知识匮乏,请见谅。]

以下是我目前所掌握的信息:

\documentclass{article}
\usepackage{apa6}
\usepackage[
    backend=bibtex,
    style=apalike,
    sorting=nyt,
]{biblatex}
\bibliography{wage.bib}
\title{Title}
\author{name}
\date{14 November 2016}



\begin{document}


\nocite{*}

 Hello,  testing testing\footcite{ninefity}. Let's do another     citation.\footcite{realwage}.

\printbibliography

\end{document}

使用相同的 wage.bib 文件:

\begin{filecontents}{wage.bib}


@article{realwage,
author =       "Orley Ashenfelter",
title =        "Comparing Real Wage Rates",
journal =      "American Economic Association",
volume =       "102",
number =       "2",
pages =        "891--921",
year =         "2012",
}



@article{ninefity,
author =       "Joseph Sabia and RIchard Burkenhauser",
title =        "Minimum Wages and Poverty: Will a 9.50 Federal     Minimum IWage Really Help the Working Poor?",
journal =      "Southern Economic Journal",
volume =       "76",
number =       "3",
pages =        "891--921",
year =         "2010",
}

@article{politics,
author =       "Russell Sobel",
title =        "Theory and Evidence on the Political Economy of the Minimum Wage",
journal =      "Journal of Political Economy",
volume =       "107",
number =       "4",
pages =        "891--921",
year =         "1999",
}

问题似乎出在 \bibliographystyle{apalike} 命令上。无论我做什么,它都拒绝读取。APA 包是否与 biblatex 后端不兼容?我需要下载特定包吗?

非常感谢任何帮助。

答案1

apa6是一个类,而不是包。它应该是\documentclass{apa6}。您应该使用\bibliography{wage}\addbibresource{wage.bib}。该风格与 biblatex 不太相配,我建议使用真正的 apa 风格和 biber。如果您希望将其作为两列文档,apalikeAPA 6 不允许\footcite使用单列文档。\documentclass[twocolum]{apa6}

这是我的工作修复

\documentclass{apa6}
\usepackage[
backend=biber,
style=apa,
sorting=nyt,
]{biblatex}
\bibliography{wage}
\title{Title}
\author{name}
\date{14 November 2016}



\begin{document}


    \nocite{*}

    Hello,  testing testing \cite{ninefity}. Let's do another  citation. \cite{realwage}.

    \printbibliography

\end{document}

答案2

如果您在 biblatex 实现 APA 书目格式要求时仍然遇到困难,我建议您切换到加载包apacite、使用apacite书目样式并使用 BibTeX。

你真的真的应该认真努力去获得内容所有书目条目都正确。例如,其中一本期刊的名称是不是“美国经济协会”;它是“美国经济评论”。其中一位作者的姓氏是不是“Burkenhauser”;应该是“Burkhauser”。该条目的title字段目前包含两个 [2!] 个额外错误:缺少一个$符号,以及“iwage”而不是“wage”。而且,为什么你省略了所有作者的中间名首字母?这种马虎不会带来任何好处。

在此处输入图片描述

\RequirePackage{filecontents}
\begin{filecontents}{wage.bib}
@article{realwage,
author =       "Orley C. Ashenfelter",
title =        "Comparing Real Wage Rates",
journal =      "American Economic Review",
volume =       "102",
number =       "2",
pages =        "891--921",
year =         "2012",
}
@article{ninefity,
author =       "Joseph J. Sabia and Richard V. Burkhauser",
title =        "Minimum Wages and Poverty: Will a \$9.50 Federal Minimum Wage Really Help the Working Poor?",
journal =      "Southern Economic Journal",
volume =       "76",
number =       "3",
pages =        "891--921",
year =         "2010",
}
@article{politics,
author =       "Russell S. Sobel",
title =        "Theory and Evidence on the Political Economy of the Minimum Wage",
journal =      "Journal of Political Economy",
volume =       "107",
number =       "4",
pages =        "891--921",
year =         "1999",
}
\end{filecontents}

\documentclass{article}
\usepackage[english]{babel}
\usepackage[natbibapa]{apacite}
\bibliographystyle{apacite}
\frenchspacing

\begin{document}
\citep{ninefity}, \citep{realwage}, \citep{politics}
\bibliography{wage}
\end{document}

相关内容