natbib

Citations by author and year.

Loading

\usepackage{natbib}

A module of its own, compiled into mLaTeX: the package's commands are defined over mLaTeX's primitives.

Commands

\bibliographystyle, \bibpunct, \bibsection, \citealp, \citeauthor, \citep, \citet, \citetext, \citeyear, \setcitestyle.

Example

A document that uses it, from mLaTeX's own tests, so it compiles as written, and below it what mLaTeX sets from it in your browser:

natbib.tex
\documentclass{article}
\usepackage[round,authoryear]{natbib}
\begin{document}
\citet{knuth} wrote it \citep{knuth}; \citeauthor{knuth} in \citeyear{knuth}, \citep[p.~2]{knuth}, \citealp{knuth}.
\bibliographystyle{plainnat}
\begin{thebibliography}{1}
\bibitem[Knuth(1984)]{knuth} D. Knuth. The TeXbook. 1984.
\end{thebibliography}
\end{document}
OutputLoading mLaTeX in your browser
Loading mLaTeX