0

I'm using abntcite.sty and I'm a noob. I like to know how to change my \cite{} look like "Author (Date)" instead "(Author, Date)", but I dont know how. I've tried so many ways, but I could not.

9
  • 4
    According to the documentation you should use \citeonline for Author (year) citations and \cite for (Author, Year) citations. If this doesn't solve your problem, then post a minimal working document that shows exactly what you are doing.
    – Alan Munn
    Jan 2, 2015 at 5:25
  • 1
    And welcome to TeX.SX! it might be helpful to take a look at our starter guide to familiarize yourself further with our format. It's usually very important to include a minimal working example (MWE) with a question like this.
    – Alan Munn
    Jan 2, 2015 at 5:31
  • Thanks @AlanMunn, but it didn't work. It shows "Author, Date" instead "Author (Date)". I don't know how to fix it.
    – Samuel Jr
    Jan 2, 2015 at 11:26
  • @SamuelJr, did you read the section 4.2 from the documentation cited above by @Alan?
    – Sigur
    Jan 2, 2015 at 11:37
  • Yes @Sigur. When I said that "It didn't work" it meant that I had read the section 4.2 and I used \citeonline{}. According the documentation, it should have worked for me, but it didn't. I think that there is another configuration in my project which is causing this problem. Thanks everyone for helping me
    – Samuel Jr
    Jan 2, 2015 at 13:13

1 Answer 1

2

Here is a working example (of the sort you could have constructed). I'm using the latest version of the abntex class, from 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}

As you can see, the output is as expected (apart from the awful use of upper case, which you are apparently stuck with.)

citations references

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .