6

I'm using the glossaries package to define a glossary. However, I would like all \gls{} references to appear in italic. Is there any way to do this without adding \it everywhere?

  • 1
    Welcome to the TeX.SX and thank you for the question. Could you please add your (minimal working) example starting with \documentclass... and ending with ...\end{document} to the post? It would help solvers tremendously when they try to solve it. – Malipivo Mar 31 '14 at 12:45

1 Answers1

11

Redefine \glstextformat:

\documentclass{article}

\usepackage{glossaries}

\newglossaryentry{sample}{name={sample},description={an example}}

\renewcommand{\glstextformat}[1]{\textit{#1}}

\begin{document}

\gls{sample}.

\end{document}
Nicola Talbot
  • 41,153