Ans. M6: Difference between revisions

From STMDocs
Jump to navigation Jump to search
(New page: <Back Please follow the instruction which are given below: * In the preamble (before <code>\begin{document}</code>) of your TeX file, please provide: <geshi lang=...)
 
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[FAQ_-_elsarticle.cls|<Back]]
[[FAQ_-_elsarticle.cls|<Back]]


Please follow the instruction 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 provide:
* In the preamble (before <code>\begin{document}</code>) of your TeX file, please add:
<geshi lang="latex">
<geshi lang="latex">
   \usepackage{nomencl}
   \usepackage{nomencl}
   \makenomenclature
   \makenomenclature
</geshi>
</geshi>
* Provide the command <code>\printnomenclature</code> in the body, where you want to print the nomenclature list. May be before the first section or before the bibliography.
* Add the command <code>\printnomenclature</code> in the body, where you want to print the nomenclature list, possibly before the first section or before the bibliography.
* Then do the following
* Then do the following.
** Compile your document. Then a file with .nlo extension will be created. In this case YourFilename.nlo will be generated.
** Compile your document. Then a file with <code>.nlo</code> extension will be created. In this case <code>YourFilename.nlo</code> will be generated.
** Then do
** Then do
<geshi lang="latex">
<geshi lang="latex">
           makeindex YourFilename.nlo -s nomencl.ist -o YourFilename.nls
           makeindex YourFilename.nlo -s nomencl.ist -o YourFilename.nls
</geshi>
</geshi>
** Then compile your document. You can see nomenclature is printed at the place where you have given <code>\printnomenclature</code> command.
* Then compile your document. You can see that the nomenclature is printed at the place where you have given the <code>\printnomenclature</code> command.
The latest version of the <code>nomencl.sty</code> can be downloaded from [http://dante.ctan.org/tex-archive/macros/latex/contrib/nomencl.zip CTAN].
 
If you are submitting your manuscript through EES, then the above system will not work. In that case, follow the instruction given below:
 
* Create yourfile.nls.
* Include the content of yourfile.nls in the TeX file.
* A sample yourfile.nls will look like as given in the below example. So paste this content in the TeX file.
<geshi lang="latex">
\begin{thenomenclature}
 
\nomgroup{A}
 
  \item [{$A$}]\begingroup investigate the\nomeqref {0}\nompageref{1}
  \item [{$N$}]\begingroup investigate the\nomeqref {0}\nompageref{1}
  \item [{$Z$}]\begingroup investigate the\nomeqref {0}\nompageref{1}
 
\end{thenomenclature}
</geshi>

Latest revision as of 11:55, 30 March 2012

<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.

If you are submitting your manuscript through EES, then the above system will not work. In that case, follow the instruction given below:

  • Create yourfile.nls.
  • Include the content of yourfile.nls in the TeX file.
  • A sample yourfile.nls will look like as given in the below example. So paste this content in the TeX file.

<geshi lang="latex"> \begin{thenomenclature}

\nomgroup{A}
 \item [{$A$}]\begingroup investigate the\nomeqref {0}\nompageref{1}
 \item [{$N$}]\begingroup investigate the\nomeqref {0}\nompageref{1}
 \item [{$Z$}]\begingroup investigate the\nomeqref {0}\nompageref{1}

\end{thenomenclature} </geshi>