简体   繁体   中英

Unable to make acronyms in latex

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}

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}

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM