5
May
Here is my 3-minute tutorial of using \cite properly in LaTeX.
- Always precede it with a tilde (unbreakable space
~). This way you avoid starting a new line with a citation because of word wrapping.Bad:
Garey and Johnson \cite[GJ1979]Good:
Garey and Johnson~\cite[GJ1979] - Use the optional argument (square brackets
[ ]) to indicate specific part of a citation.Bad:
Vazirani~\cite{Vazirani2001} page IXGood:
Vazirani~\cite[p.~IX]{Vazirani2001} - Combine multiple citations into one cite using comma.
Bad:
\cite{CJ} \cite{IPZ} \cite{H}Good:
\cite{CJ, IPZ, H}
10:29 on May 5th, 2005
Interesting. I didn’t know about the optional argument to cite.