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.

Are there any bibliography styles that supports both ordering as in ieeetr and author-year (ie. John et al.)?

share|improve this question
    
see package natbib –  Herbert Jan 11 '11 at 10:43
    
I have looked at it, I can't find any. –  nimcap Jan 11 '11 at 11:09
    
"John et al." is related to the citation, which is done by usepackage{natbib}. A style for the bib maybe \bibliographystyle{plainnat} –  Herbert Jan 11 '11 at 11:43
add comment

1 Answer

up vote 6 down vote accepted

Do you want autor-year citations plus an "unsorted" (i.e., sorted in order of first citation) bibliography? This is possible with both natbib and biblatex.

\documentclass{article}

\usepackage{natbib}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}
@misc{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {Bravo},
}
@misc{C03,
  author = {Cuthor, C.},
  year = {2003},
  title = {Charlie},
}
\end{filecontents}

\begin{document}

Some text \citep{B02,A01,C03}.

\bibliographystyle{unsrtnat}
\bibliography{\jobname}

\end{document}

\documentclass{article}

\usepackage[style=authoryear,sorting=none]{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}
@misc{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {Bravo},
}
@misc{C03,
  author = {Cuthor, C.},
  year = {2003},
  title = {Charlie},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}

Some text \autocite{B02,A01,C03}.

\printbibliography

\end{document}

(The filecontents environment is only used to include some external files directly into the example, so that it compiles. It is not necessary for the solution.)

share|improve this answer
    
I think this will do okay. Thank you. –  nimcap Jan 11 '11 at 12:28
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.