Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

For example, currently if I do a \cite{name} I get this:

(AUTHOR1, 2000)
(AUTHOR1; AUTHOR2, 2000)
(AUTHOR1; AUTHOR2; AUTHOR3, 2000)

What I'd like is to have et al. beyond 2 authors and have "and" when there are just 2. So:

(AUTHOR1, 2000)
(AUTHOR1 and AUTHOR2, 2000)
(AUTHOR1 et al., 2000)

Is it possible to get that?

I've found these packages being imported by the model:

\usepackage[bibjustif,abnt-etal-cite=3,abnt-full-initials=yes]{abntcite}
\usepackage[toc,page]{modelo/tex/appendix}
\usepackage[portuguese,brazilian,portuges]{babel}
\usepackage[utf8]{inputenc}
\usepackage{abnt-alf}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{listings}
\usepackage{booktabs}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{eucal}
\usepackage{amssymb}
\usepackage{mathrsfs}

If I edit the abnt-etal-cite=2 I can get the et al. as I need, but what about the separator between 2 authors names?

share|improve this question
    
You must be loading some package to get citations in that form: the LaTeX default does not do that. Please provide more detail. –  Joseph Wright Aug 5 '10 at 18:22
    
Oh man I'm a total noob. How do I check that? –  bada Aug 5 '10 at 18:24
    
Two possibles. You might be using a customise class (the part that goes after \documentclass), so the name of your class would be helpful. The other possibility is that you are loading a package to alter the behaviour. The obvious choices are natbib and biblatex. Have you got either of those listed as \usepackage{...}? –  Joseph Wright Aug 5 '10 at 18:30
    
"I've found these packages being imported by the model:" The model? To what do you refer? –  vanden Aug 5 '10 at 18:51
3  
I've run across abntcite before: I'm not hopeful of a solution without switching to natbib or biblatex! –  Joseph Wright Aug 5 '10 at 19:04
show 2 more comments

2 Answers

The package abntcite is not available on CTAN. According to this discussion, the package and/or the accompanying style files were somewhat faulty two years ago. I suggest that you use the package biblatex instead, which handles author names the way you want.

\documentclass{article}

\usepackage[style=authoryear,maxnames=2]{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{Aut10a,
  author = {Author, A.},
  year = {2010},
  title = {And now for something completely different},
}

@misc{Aut10b,
  author = {Author, A. and Buthor, B.},
  year = {2010},
  title = {And now for something completely different},
}

@misc{Aut10c,
  author = {Author, A. and Buthor, B. and Cuthor, C.},
  year = {2010},
  title = {And now for something completely different},
}
\end{filecontents}

\bibliography{\jobname}

\begin{document}

\parencite{Aut10a}

\parencite{Aut10b}

\parencite{Aut10c}

% Name cap also in bibliography
\printbibliography

% No name cap in bibliography
\printbibliography[maxnames=99]

\end{document}
share|improve this answer
add comment

I suggest taking out the \usepackage[bibjustif,abnt-etal-cite=3,abnt-full-initials=yes]{abntcite} and putting somewhere \bibliographystyle{plainnat}. That should work. Also, try loading \usepackage[round]{natbib} and using the command \citep{ } for cites in parenthesis and \citet{ } for textual cites.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.