Ans. M6: Difference between revisions

From STMDocs
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[FAQ_-_elsarticle.cls|<Back]]
[[FAQ_-_elsarticle.cls|<Back]]


Please follow the instructions which are given below:
Please follow the instructions which are given below.
* In the preamble (before <code>\begin{document}</code>) of your TeX file, please add:
* In the preamble (before <code>\begin{document}</code>) of your TeX file, please add:
<geshi lang="latex">
<geshi lang="latex">

Revision as of 14:48, 18 June 2009

<Back

Please follow the instructions which are given below.

  • In the preamble (before \begin{document}) of your TeX file, please add:

<geshi lang="latex">

  \usepackage{nomencl}
  \makenomenclature

</geshi>

  • Add the command \printnomenclature in the body, where you want to print the nomenclature list, possibly before the first section or before the bibliography.
  • Then do the following.
    • Compile your document. Then a file with .nlo extension will be created. In this case YourFilename.nlo will be generated.
    • Then do

<geshi lang="latex">

         makeindex YourFilename.nlo -s nomencl.ist -o YourFilename.nls

</geshi>

    • Then compile your document. You can see that the nomenclature is printed at the place where you have given the \printnomenclature command.

The latest version of the nomencl.sty can be downloaded from CTAN.