I have am relatively new to LaTeX. I have used now for 4 reports. Somehow, the abbreviation is not working for my documents anymore. I even copied a sample code from the internet but it still is not working.
In TeXstudio, I have gone to options, configure TeXstudio, I have set the Default Glossary Tool to
Code: Select all
makeindex %.nlo -s nomencl.ist -o %.nls -t %.nlg\documentclass[a4paper,12pt]{book}
\usepackage{nomencl}
\makenomenclature
\renewcommand{\nomname}{List of Abbreviations}
\begin{document}
\printnomenclature[3cm]
\newpage
Scanning Electron Microscopy (SEM) \nomenclature{SEM}{Scanning Electron
Microscopy} is used for microstructural analysis, while
X-ray Diffraction (XRD) \nomenclature{XRD}{X-ray Diffraction} gives the phase
of the material.
(XRD) \nomenclature{$XRD$}{X-ray Diffraction}
\end{document}