O'Reilly logo

LaTeX Beginners Guide by Stefan Kottwitz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – referring cleverly

We shall rewrite our first example using cleveref. To verify that the package acts cleverly, we consciously omit prefixes in key names to \label and \cref.

  1. Modify our first example in this way:
    \documentclass{book} \usepackage{cleveref} \crefname{enumi}{position}{positions} \begin{document} \chapter{Statistics}\label{stats} \section{Most used packages on arXiv.org}\label{packages} The Top Five packages, used on arXiv.org\footnote{according to the arXMLiv project\label{project}}: \begin{enumerate} \item graphicx \item amssymb \label{amssymb} \item amsmath \label{amsmath} \item epsfig \item amsfonts \end{enumerate} \begin{table}[tp] \centering (Identify obsolete packages on CTAN) \caption{Obsolete packages}\label{obsolete} ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required