3

A possible list of terms, abbreviations and variable names with brief explanations has to be placed after the table of contents. If any term is explained in the list of terms, it is supposed to be used in the chapter text where it is used the first time. Is that possible in latex? If so which package can help me to do that. This MsWord screen shot is a good example.. enter image description here thanks in advance..

1 Answers1

7

The glossaries package allows glossaries as well as lists of acronyms. Here's a full example (note: compile it with pdflatex <myfile> makeglossaries <myfile> pdflatex <myfile>):

\documentclass{article}

\usepackage[acronym]{glossaries}
\makeglossaries

\newglossaryentry{electrolyte}{name=electrolyte,%
    description={solution able to conduct electric current}}

\newacronym{svm}{SVM}{support vector machine}

\textheight=180pt% just for the example

\begin{document}

Some text about \gls{svm}.

Some more text about \gls{svm}.

Some text about \gls{electrolyte}.

Some more text about \gls{electrolyte}.

\printglossary[type=acronym]

\printglossary

\end{document}

enter image description here

lockstep
  • 250,273
  • I am using TeXlipse in eclipse...could you suggest me how to compile this glosarry file here? – volatNumbers Jan 31 '12 at 19:45
  • I don't know aynthing about TeXlipse. I'm using latexmk to run makeglossaries-- see http://tex.stackexchange.com/questions/1226/how-to-make-latexmk-use-makeglossaries. If that isn't helpful, please ask a new question. – lockstep Jan 31 '12 at 19:47
  • I am using everything what u said and successfully compiled with padflatex as u explained above..my .glo file empty..i dont get the problem..Am i missing something? – volatNumbers Feb 01 '12 at 23:11
  • I get nothing too – Khaaba Feb 27 '16 at 16:19