% This file is public domain % If you want to use arara, you need the following directives: % arara: pdflatex: { synctex: on } % arara: makeglossaries % arara: pdflatex: { synctex: on } % %http://mirrors.ctan.org/macros/latex/contrib/glossaries/glossaries-user.html#sample4col \documentclass[a4paper]{article} % Other 4 column styles are available. The ones that use % booktabs.sty are recommended over the "headerborder" styles \usepackage[style=long4colheaderborder]{glossaries} \makeglossaries \newglossaryentry{w}{name={$w$}, sort=w, description={width}, symbol=m} \newglossaryentry{M}{name={$M$}, sort=M, description={mass}, symbol=kg} \begin{document} \printglossaries The width, \gls{w}, is measured in meters. The mass, \gls{M} is measured in kilograms. \end{document}