4

I want just the opposite to this post.

Actually the idea is that in ToC, sections, chapters, etc titles the acronym is not expanded. But then the first time it is used in the text it should be expanded as the first.

Thanks.

\documentclass{amsbook}

\usepackage[acronym,nonumberlist]{glossaries}
\newacronym{MOSFET}{MOSFET}{metal-oxide semiconductor field-effect transistor}
\makeglossaries

\begin{document}
\tableofcontents
\chapter{\Gls{MOSFET}}
\printglossaries
\end{document}
6

You can unset all acronyms before the table of contents and reset them all afterwards:

\documentclass{amsbook}

\usepackage[acronym,nonumberlist]{glossaries}
\newacronym{MOSFET}{MOSFET}{metal-oxide semiconductor field-effect
transistor}
\makeglossaries

\begin{document}
\glsunsetall
\tableofcontents
\glsresetall

\chapter{\Gls{MOSFET}}
\printglossaries
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.