Referencing

Citations, Cross-References & Hyperlinks

Automated numbering and linking for equations, sections, figures, dynamic hyperlinks, BibTeX/BibLaTeX citations, and acronyms.

Labels, Footnotes & Citations

Labels, Footnotes & Citations

Comprehensive syntax, arguments, options, and copyable snippets for labels, footnotes & citations.

Command Mandatory { }

\label{key}

Defines a label for a numbered element

💡 Deep Dive Explanation & Options

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.

Example Code
\label{sec:intro}
Command Mandatory { }

\ref{key}

References a labeled element's number

💡 Deep Dive Explanation & Options

Counter Cross-Reference: Generates the numeric value of the labeled object. For equations with parentheses, use \eqref{key}.

Example Code
See Section~\ref{sec:intro}.
Command Mandatory { }

\pageref{key}

References the page number of a label

Example Code
See page~\pageref{sec:intro}.
Command Mandatory { }

\eqref{key}

References an equation number in parentheses (amsmath)

💡 Deep Dive Explanation & Options

Equation Reference: Produces formatted equation numbers with parentheses (e.g. '(4)') and clickable hyperref link.

Example Code
As shown in \eqref{eq:energy}.
Command Mandatory { }

\cite{key}

Cites a bibliography entry

💡 Deep Dive Explanation & Options

Citation: Inserts reference citing entry key in your .bib file. Supports page optional argument: \cite[p.~45]{key}.

Example Code
\cite{smith2020}
Command Mandatory { }

\citep{key}

Parenthetical citation (natbib)

Example Code
\citep{smith2020}
Command Mandatory { }

\citet{key}

Textual citation (natbib)

Example Code
\citet{smith2020} showed that...
Command Mandatory { }

\nocite{key}

Includes a reference without citing it in text

Example Code
\nocite{smith2020}
Command Mandatory { }

\bibliography{file}

Specifies BibTeX database file(s)

Example Code
\bibliography{references}
Command Mandatory { }

\bibliographystyle{style}

Sets the bibliography style

Example Code
\bibliographystyle{plain}
Environment Mandatory { }

\begin{thebibliography}{widest}...\end{thebibliography}

Manual bibliography environment

Example Code
\begin{thebibliography}{9}
\bibitem{smith2020} J. Smith, \textit{Title}, 2020.
\end{thebibliography}
Command Mandatory { }

\bibitem{key}

Defines a manual bibliography entry

Example Code
\bibitem{smith2020} J. Smith, \textit{Title}, 2020.
Command Mandatory { }

\footnote{text}

Inserts a footnote

💡 Deep Dive Explanation & Options

Footnote: Inserts a numbered superscript in text and places the note at the page footer.

Example Code
This is a claim.\footnote{See the appendix for details.}
Command

\footnotemark

Inserts a footnote marker without text

Example Code
This needs a note.\footnotemark
Command Mandatory { }

\footnotetext{text}

Inserts footnote text for a prior footnotemark

Example Code
\footnotetext{Details given later.}
Advanced Cross-Referencing (cleveref)

Advanced Cross-Referencing (cleveref)

Comprehensive syntax, arguments, options, and copyable snippets for advanced cross-referencing (cleveref).

Command Mandatory { }

\cref{key}

Smart cross-reference that auto-inserts the label type, e.g. 'Figure 1' (cleveref package)

💡 Deep Dive Explanation & Options

Clever Reference (cleveref): Automatically detects object type and prepends the noun (e.g. 'Figure 2', 'Table 1', 'Equation (3)').

Example Code
\cref{fig:setup}
Command Mandatory { }

\Cref{key}

Like \cref but capitalizes the label type at the start of a sentence (cleveref)

Example Code
\Cref{fig:setup} shows the apparatus.
Command Mandatory { }

\crefrange{key1}{key2}

References a range of labels, e.g. 'Equations 1-3' (cleveref)

Example Code
\crefrange{eq:one}{eq:three}
BibLaTeX Bibliographies

BibLaTeX Bibliographies

Comprehensive syntax, arguments, options, and copyable snippets for biblatex bibliographies.

Command

\printbibliography

Prints the bibliography (biblatex package)

Example Code
\printbibliography
Command Mandatory { }

\addbibresource{file}

Registers a bibliography database file (biblatex)

Example Code
\addbibresource{references.bib}
Command Mandatory { }

\parencite{key}

Parenthetical citation (biblatex)

Example Code
\parencite{smith2020}
Command Mandatory { }

\textcite{key}

In-text citation with author outside parentheses (biblatex)

Example Code
\textcite{smith2020} argued that...
Command Mandatory { }

\footcite{key}

Citation placed in a footnote (biblatex)

Example Code
\footcite{smith2020}
Command Mandatory { }

\fullcite{key}

Prints a full bibliographic entry inline (biblatex)

Example Code
\fullcite{smith2020}
Glossaries & Acronyms

Glossaries & Acronyms

Comprehensive syntax, arguments, options, and copyable snippets for glossaries & acronyms.

Command Mandatory { }

\newglossaryentry{key}{...}

Defines a glossary entry (glossaries package)

Example Code
\newglossaryentry{ray}{name=ray, description={A line used to model light propagation}}
Command Mandatory { }

\gls{key}

Inserts a glossary term, using its short/first-use form (glossaries)

Example Code
\gls{ray}
Command Mandatory { }

\Gls{key}

Inserts a glossary term capitalized (glossaries)

Example Code
\Gls{ray}
Command Mandatory { }

\newacronym{key}{short}{long}

Defines an acronym entry (glossaries package)

Example Code
\newacronym{sem}{SEM}{Scanning Electron Microscope}
Command

\printglossary

Prints the glossary (glossaries package)

Example Code
\printglossary