# Tag Info

12

The KOMA-Script classes have a list that basically does what you want: \begin{labeling}[<separator>]{<widest label>} ... \end{labeling} This evironment can be used with the standard classes, too, by loading the scrextend package. The list would then maybe look like: \begin{labeling}[---]{\hspace*{4em}} \item[$P$] pressure ...

11

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

11


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

7

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

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} $$a=\frac{N}{A}$$% \nomenclature{$a$}{The number of ...

6

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

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

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

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

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

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

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

If I change the MakeIndex slot into "/usr/texbin/makeindex" %.nlo -s nomencl.ist -o %.nls doing "PDFLaTeX", then "MakeIndex" and again "PDFLaTeX" results in correct compilation. If you have an updated distribution, you also have Arara. Edit the User commands; in a free slot add "Arara" as menu item and "/usr/texbin/arara" -v % in the second box, like ...

6

! is a special character for MakeIndex (that is used for sorting the nomenclature). Quote it with MakeIndex's method, that is, adding " in front of it: % arara: pdflatex % arara: nomencl % arara: pdflatex \documentclass{article} \usepackage{nomencl} \makenomenclature \begin{document} \nomenclature{$n"!$}{factorial of $n$} $n! = \prod_{i=1}^n i$ ...

6

You can redefine the \gls command in this way \let\oldgls\gls \renewcommand{\gls}[1]{% \ifglsused{#1}% {\glsentrylong{#1}}% {\oldgls{#1}}% } Thus, the following MWE % arara: pdflatex: {synctex: yes} % arara: makeglossaries % arara: pdflatex: {synctex: yes} % arara: pdflatex: {synctex: yes} \documentclass{article} ...

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

5

Add the following lines to the preamble: \makeatletter \def\thenomenclature{% \section*{\nomname} \if@intoc\addcontentsline{toc}{section}{\nomname}\fi% \nompreamble \list{}{% \labelwidth\nom@tempdim \leftmargin\labelwidth \advance\leftmargin\labelsep \itemsep\nomitemsep \let\makelabel\nomlabel}} \makeatother The original definition begins with ...

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

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]{% ...

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