Citations, Cross-References & Hyperlinks
Automated numbering and linking for equations, sections, figures, dynamic hyperlinks, BibTeX/BibLaTeX citations, and acronyms.
Labels, Footnotes & Citations
Comprehensive syntax, arguments, options, and copyable snippets for labels, footnotes & citations.
\label{key}
Defines a label for a numbered element
Label Anchor Placement: Must be placed after (or inside) \caption{...} for figures and tables, or inside an equation, so \ref{key} retrieves the correct counter.
\label{sec:intro}
\ref{key}
References a labeled element's number
Counter Cross-Reference: Generates the numeric value of the labeled object. For equations with parentheses, use \eqref{key}.
See Section~\ref{sec:intro}.
\pageref{key}
References the page number of a label
See page~\pageref{sec:intro}.
\eqref{key}
References an equation number in parentheses (amsmath)
Equation Reference: Produces formatted equation numbers with parentheses (e.g. '(4)') and clickable hyperref link.
As shown in \eqref{eq:energy}.
\cite{key}
Cites a bibliography entry
Citation: Inserts reference citing entry key in your .bib file. Supports page optional argument: \cite[p.~45]{key}.
\cite{smith2020}
\citep{key}
Parenthetical citation (natbib)
\citep{smith2020}
\citet{key}
Textual citation (natbib)
\citet{smith2020} showed that...
\nocite{key}
Includes a reference without citing it in text
\nocite{smith2020}
\bibliography{file}
Specifies BibTeX database file(s)
\bibliography{references}
\bibliographystyle{style}
Sets the bibliography style
\bibliographystyle{plain}
\begin{thebibliography}{widest}...\end{thebibliography}
Manual bibliography environment
\begin{thebibliography}{9}
\bibitem{smith2020} J. Smith, \textit{Title}, 2020.
\end{thebibliography}
\bibitem{key}
Defines a manual bibliography entry
\bibitem{smith2020} J. Smith, \textit{Title}, 2020.
\footnote{text}
Inserts a footnote
Footnote: Inserts a numbered superscript in text and places the note at the page footer.
This is a claim.\footnote{See the appendix for details.}
\footnotemark
Inserts a footnote marker without text
This needs a note.\footnotemark
\footnotetext{text}
Inserts footnote text for a prior footnotemark
\footnotetext{Details given later.}
Advanced Cross-Referencing (cleveref)
Comprehensive syntax, arguments, options, and copyable snippets for advanced cross-referencing (cleveref).
\cref{key}
Smart cross-reference that auto-inserts the label type, e.g. 'Figure 1' (cleveref package)
Clever Reference (cleveref): Automatically detects object type and prepends the noun (e.g. 'Figure 2', 'Table 1', 'Equation (3)').
\cref{fig:setup}
\Cref{key}
Like \cref but capitalizes the label type at the start of a sentence (cleveref)
\Cref{fig:setup} shows the apparatus.
\crefrange{key1}{key2}
References a range of labels, e.g. 'Equations 1-3' (cleveref)
\crefrange{eq:one}{eq:three}
BibLaTeX Bibliographies
Comprehensive syntax, arguments, options, and copyable snippets for biblatex bibliographies.
\printbibliography
Prints the bibliography (biblatex package)
\printbibliography
\addbibresource{file}
Registers a bibliography database file (biblatex)
\addbibresource{references.bib}
\parencite{key}
Parenthetical citation (biblatex)
\parencite{smith2020}
\textcite{key}
In-text citation with author outside parentheses (biblatex)
\textcite{smith2020} argued that...
\footcite{key}
Citation placed in a footnote (biblatex)
\footcite{smith2020}
\fullcite{key}
Prints a full bibliographic entry inline (biblatex)
\fullcite{smith2020}
Hyperlinks & URLs
Comprehensive syntax, arguments, options, and copyable snippets for hyperlinks & urls.
\url{link}
Typesets a URL (url/hyperref)
\url{https://www.arxiv.org}
\href{link}{text}
Creates a hyperlink with display text (hyperref)
\href{https://www.arxiv.org}{arXiv}
\hyperref[label]{text}
Hyperlinked cross-reference (hyperref)
\hyperref[sec:intro]{Introduction}
\autoref{label}
Auto-typed cross-reference (hyperref)
See \autoref{sec:intro}.
Glossaries & Acronyms
Comprehensive syntax, arguments, options, and copyable snippets for glossaries & acronyms.
\newglossaryentry{key}{...}
Defines a glossary entry (glossaries package)
\newglossaryentry{ray}{name=ray, description={A line used to model light propagation}}
\gls{key}
Inserts a glossary term, using its short/first-use form (glossaries)
\gls{ray}
\Gls{key}
Inserts a glossary term capitalized (glossaries)
\Gls{ray}
\newacronym{key}{short}{long}
Defines an acronym entry (glossaries package)
\newacronym{sem}{SEM}{Scanning Electron Microscope}
\printglossary
Prints the glossary (glossaries package)
\printglossary