> ## Documentation Index
> Fetch the complete documentation index at: https://resources.latex-cloud-studio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Glossaries and Acronyms in LaTeX

> Create glossaries and acronym lists in LaTeX with the glossaries package and a stable build workflow.

Use the `glossaries` package to define terms once and reuse them consistently.

## Setup

```latex glossary-basic.tex theme={null}
\documentclass{report}
\usepackage[colorlinks=true]{hyperref}
\usepackage[acronym]{glossaries}
\makeglossaries

\newglossaryentry{latex}{
  name=LaTeX,
  description={A high-quality typesetting system}
}
\newacronym{api}{API}{Application Programming Interface}

\begin{document}
\gls{latex} is widely used in academia.
First use: \gls{api}. Later use: \gls{api}.

\printglossary
\printglossary[type=\acronymtype,title=Acronyms]
\end{document}
```

## Build Steps

1. Run LaTeX.
2. Run `makeglossaries <jobname>`.
3. Run LaTeX twice.

## Related Pages

* [Indexes](/learn/latex/document-structure/indexes)
* [Cross-referencing](/learn/latex/cross-referencing)
