Tag Info

Hot answers tagged

10

Save a new file ~/Library/TeXShop/Engines/Nomenclature.engine with following contents: #!/bin/sh bfname=$(dirname "$1")/"`basename "$1" .tex`" makeindex "$bfname".nlo -s nomencl.ist -o "$bfname".nls Make this new file executable using chmod u+x ~/Library/TeXShop/Engines/Nomenclature.engine from within a shell or set the executable bit at the file ...


10

The documentation of the nomenclature package includes code to put everything in a longtable envorinment, but this involves some hacking of the .ist file. A simpler approach that may be sufficient is just to define some helper macros that work within in an ordinary list: \documentclass{article} \usepackage{nomencl,etoolbox,ragged2e,siunitx} ...


9

You could use the comprehensive glossaries package, it's the successor of the glossary package by the same author. nomencl is a good alternative. There are further packages for this purpose, such as glosstex (related to nomencl) and gloss (using BibTeX).


9

As long as you're sure that the first occurrence of \Rn is not in a section title or other moving argument, then you can define \Rn to emit the desired \nomenclature command and redefine itself: \newcommand*{\Rn}{% \nomenclature{$\mathbb{R}^n$}{$n$-dimensional real space}% \gdef\Rn{\mathbb{R}^n}\mathbb{R}^n% } You can of course automatize this in a ...


9

The nomencl package typesets the labels in a fixed width box; if the label (together with a padding space) exceeds this width, the description is moved right. \documentclass[12pt,a4paper]{report} \usepackage[intoc]{nomencl} \makenomenclature \setlength\nomlabelwidth{1.5cm} \nomenclature{AA}{text} \nomenclature{AAA}{text} \nomenclature{AAB}{text} ...


8

In the following example mathematical symbols and textual abbreviations are declared with \newmathsymb{<name>}{<symbol without $>}{<meaning>} \newtextsymb{<abbreviation/name>}{<meaning>} \newtextsymb[<name>]{<abbreviation>}{<meaning>} Example: \newmathsymb{approx}{\approx}{approximately equal to} ...


7

arara has a predefined nomencl rule, so you can use (from the nomencl documentation) the following directives: % arara: pdflatex % arara: nomencl % arara: pdflatex \documentclass{article} \usepackage{nomencl} \makenomenclature \begin{document} \section*{Main equations} \begin{equation} a=\frac{N}{A} \end{equation}% \nomenclature{$a$}{The number of ...


7

Quoting from the nomencl package documentation (page 9) If you are using e. g. the documentclass book with page style headings you should also take care of correct headings: \cleardoublepage% or \clearpage \markboth{\nomname}{\nomname}% maybe with \MakeUppercase \printnomenclature Does this help?


7

The nomencl package provides two options in this regard: intoc: Inserts the nomenclature in the Table of Contents. notintoc: No entry for the nomenclature in the Table of Contents. (default) To revert to the default, use \usepackage{nomencl}% http://ctan.org/pkg/nomencl or insert the package option notintoc for completeness ...


6

The easiest way (that I know of) is to use a function in the place of TeX-run-command like: ;;nomenclature for latex (eval-after-load "tex" '(add-to-list 'TeX-command-list '("Nomenclature" "makeindex %s.nlo -s nomencl.ist -o %s.nls" (lambda (name command file) (TeX-run-compile name command file) ...


6

The nomencl package documentation explicitly states the compile sequence in order to use the package: latex <filename>.tex makeindex <filename>.nlo -s nomencl.ist -o <filename>.nls latex <filename>.tex If you're using pdflatex, the same sequence holds. After following this sequence, your nomenclature chapter is printed, as ...


6

For the second question: I haven't checked out the alternatives, but nomencl is what I've had experience with for making a list of symbols. \newcommand{\Vs}[1]{\FZ{V_{\mathrm{s}#1}}} \makenomenclature somewhere in the preamble, plus something like In some subspace $\Vs{1}$, something happens.\nomenclature{$\Vs{1}$}{A special subspace} in the main body. ...


6

The nomencl package has a different purpose than what you're using it for. The package's purpose is to write a list of symbols or abbreviation used, with a reference to the place where they're defined or first used (at the user's choice). So it's not meant to place multiple reference to a nomenclature. For acronyms the best package around is glossaries, ...


6

Not sure this is the best solution, but still... % arara: pdflatex % arara: nomencl % arara: pdflatex \documentclass{article} \usepackage{nomencl} \usepackage{multicol} \makenomenclature \makeatletter \newif\if@nomlist \newcommand*\nomlist{% \@nomlisttrue \list{}{% \labelwidth\nom@tempdim \leftmargin\labelwidth \advance\leftmargin\labelsep ...


6

Just add to all the entries that have math an ASCII version for sorting: % arara: pdflatex % arara: nomencl % arara: pdflatex \documentclass[oneside,paper=a4,fontsize=12pt,english]{scrreprt} \usepackage[noprefix]{nomencl} \makenomenclature \begin{document} \printnomenclature \nomenclature[1a]{\(a\)}{Semimajor axis} \nomenclature[1v]{\(v\)}{Velocity} ...


6

\leaders If you need vertically aligned dots, then you need \leaders. It is also used by \@dottedtocline from the table of contents. There is a kind of invisible fixed grid of leader boxes (horizontal positions are fixed) and \leaders select the boxes whose width fits entirely in the wanted space. (+) Vertical alignment. (+) Overall equal distances ...


6

For some strange reasons, TeXMaker finds the path to pdflatex, but not the one to makeindex. The best solution is to specify the full path to makeindex in the corresponding slot of the 'Configure TeXMaker' -> 'Commands' dialog, by writing "/usr/texbin/makeindex" -s nomencl.ist -t %.nlg -o %.nls %.nlo /t %.nlg has been added to generate a .nlg log file so ...


5

In the following example I played around with the sort order of nomencl by using the <prefix> command: \nomencl[<prefix>]{<symbol>}{<description>} However, it required to transform all the nomenclatures to the same type (string in this case). That is, using the prefix for each item (in text/non-math) so that they are sorted in the ...


5

Technically, they are quite similar. But they seem to have somewhat different purposes. I believe a glossary should contain domain-specific terms that are not ambiguous but, rather, likely to be unknown to the reader. It should convey a general meaning of these terms. A nomenclature, on the other hand, should show the reader how your particular document ...


5

Package nomencl uses \ProcessOptions without star. That means the options are processed in the order of declaration and not in order of usage. Option italian is declared after option english, therefore italian is executed last. Even if nomencl would be fixed and would use \ProcessOptions* with star, you are out of luck here, because of the way LaTeX ...


5

I'm not aware of a way to do this with nomencl. However, there are other packages which can be used. I'll give two examples, one for my package acro and one for glossaries. acro The acro package allows to assign acronyms to a class and print lists for each class (also for combined classes...). This fact can be used for the task. Entries are defined with ...


5

You can take advantage of the fact that the section number is known at the moment you issue the \nomenclature command. Here's a way to do it with a new command: % arara: pdflatex % arara: nomencl % arara: pdflatex % arara: pdflatex \documentclass{report} \usepackage{nomencl} \makenomenclature \newcommand{\mynomencl}[3][section]{% ...


5

If the asme2.cls is the one found here it's the normal behavior. You can change it by adding the code between \makeatletter and \makeatother (included) to your document: \documentclass[twocolumn,10pt]{asme2e} %%% Start of code to add \makeatletter \newif\if@checkentries \renewenvironment{nomenclature}[1][] {\if\relax\detokenize{#1}\relax ...


5

Please always post complete documents so answers may be tested, but you are using \cleaders so the dots are centred between the boxed number and the (unshown) earlier text which means their position is irregular depending on that text. I suspect you want \leaders or \xleaders.


5

The log file of Makeindex says: !! Input index error (file = test.nlo, line = 1): -- Extra `|' at position 14 of first argument. The other three messages Unknown specifier lethead_... are warnings and can be ignored here. The reason for the error is that | is used as encap character. The text after the symbol is used as command to format the page ...


4

The following steps will lead to a glossary and an acronym list in LyX. When using this approach, "nomenclature" and "nomenclature entries" in LyX cannot be used. Setup In the LaTeX Preamble ("Document > Setting...") we add: \usepackage[acronym]{glossaries} \makeglossaries The generating the index files for the glossaries package uses different options ...


4

I don't know what this has to do with Lyx, so I ignore that. Second, it might be helpful to know what larger problem you want(-ed) to solve, as the question you linked to seems to achieve the same thing, just without using nomencl. It might be possible that the still developed glossaries package is suitable to solve the larger problem at hand. Having said ...


4

The nomencl package uses the standard MakeIndex process and | is a special character for the \index command. So there's no way unless you produce a variant of nomencl.ist that disables that special character: %% ---- for input file ---- keyword "\\nomenclatureentry" %% Germans might want to change this and delete the two %% %% quote '"' %% ---- for ...


4

The nomencl documentation states that you have to run makeindex <filename>.nlo -s nomencl.ist -o <filename>.nls (from the command line, or as part of your editor workflow) which produces a .nls file, which is used by \printnomenclature. In fact, nomencl defines \def\@outputfileextension{.nlo}% \def\@inputfileextension{.nls}% to be the ...


4

You're probably missing the necessary makeindex run (related question here). The following MWE using your excerpts works fine for me -- I recommend using latexmk and an appropriate .latexmkrc to make this easier: \documentclass{report} \usepackage[intoc]{nomencl} \renewcommand{\nomname}{\large \textbf{Mathematical Notation}} \makenomenclature ...



Only top voted, non community-wiki answers of a minimum length are eligible