我正在使用abntcite.sty
,但我是个菜鸟。我想知道如何将我的\cite{}
显示改为“作者(日期)”而不是“(作者,日期)”,但我不知道怎么做。我试过很多方法,但都失败了。
答案1
这是一个工作示例(您可以构建此类)。我使用的是该类的最新版本abntex
,来自 TeXLive 2014:
% !BIB TS-program = bibtex
\documentclass[12pt,openright,twoside,a4paper,brazil]{abntex2}
\usepackage[utf8]{inputenc}
\usepackage[alf]{abntex2cite}
\begin{filecontents}{\jobname.bib}
@book{Labov1972,
Address = {Philadelphia},
Author = {William Labov},
Publisher = {University of Pennsylvania Press},
Title = {Sociolinguistic Patterns},
Year = {1972}}
@book{Chomsky1957,
Address = {The Hague},
Author = {Noam Chomsky},
Publisher = {Mouton},
Title = {Syntactic Structures},
Year = {1957}}
}
\end{filecontents}
\begin{document}
\chapter{Um}
Um exemplo de referências explícitas: \citeonline{Chomsky1957} e \citeonline{Labov1972} têm idéias diferentes sobre a linguística.
Um exemplo de referências implícitas: Têm idéias diferentes sobre a linguística, por exemplo \cite{Chomsky1957, Labov1972}.
\bibliography{\jobname}
\end{document}
如您所见,输出符合预期(除了大写的糟糕使用,您显然被它难住了。)