Unable to make acronyms in latex

548 Views Asked by At

Hi I am trying to get acronyms in my document but I am continuously failing in doing that.

\documentclass{scrbook}
\usepackage[acronym]{glossaries}
\makeglossaries

\begin{document}
\mainmatter
\printglossary[type=\acronymtype]
\include{ch1}
end{document}

and my acronym code is in the chapter file

\chapter{ch1}
\acrfull{WLAN} is used as a trial for my example and problem

\newacronym{wlan}{WLAN}{Wireless Local Area Network}
1

There are 1 best solutions below

4
On

You're defining the acronym wlan, but you are using the acronym WLAN. Decide on which of the two you want and the be consistent:

\documentclass{scrbook}
\usepackage[acronym]{glossaries}
\makeglossaries

\begin{document}
\mainmatter
\printglossary[type=\acronymtype]
\chapter{ch1}
\acrfull{WLAN} is used as a trial for my example and problem

\newacronym{WLAN}{WLAN}{Wireless Local Area Network}
\end{document}

enter image description here