I would like to chance how the entry will be displayed on first use in the text. I can use
\defglsdisplayfirst{\emph{#1#4}}
to change the format. But I don't want to emphasise the whole entry, I would like just to emphasize the long from and the short form shout appear not emphasized in brackets. Like this:Long term (short term).
The code so far:
Code: Select all
\documentclass{article}
\usepackage{glossaries}
\newacronym{sample}{short}{long}
\makeglossaries
\defglsdisplayfirst{\emph{#1#4}}
\begin{document}
First: \gls{sample}. Next: \gls{sample}.
\printglossaries
\end{document}
Code: Select all
\documentclass{article}
\usepackage[smaller]{glossaries}
\newacronym{sample}{short}{long}
\makeglossaries
\defglsdisplayfirst{\emph{#1#4}}
\renewcommand*{\firstacronymfont}[1]{\normalfont{#1}}
\renewcommand*{\acronymfont}[1]{#1}
\begin{document}
First: \gls{sample}. Next: \gls{sample}.
\printglossaries
\end{document}
Aquaman
PS: Sorry for my bad english, it is not my native language.