[Lowerbounds, Upperbounds]

Algorithms are everywhere.

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 IX

    Good:

    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}

One Comment

  1. AvatarMukesh Agrawal
    10:29 on May 5th, 2005

    Interesting. I didn’t know about the optional argument to cite.