# Tag Info

27

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

26

The documentation of the nomenclature package includes code to put everything in a longtable environment, 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} ...

14


11

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

11

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

10

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

10

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

10

There are many ways, the following uses a simple tabular (for more than one page, package longtable can be used): \documentclass{article} \usepackage{array} \begin{document} \begin{tabular}{@{}>{$}l<{$}@{ --- }l@{}} p & pressure \\ \eta & viscosity \\ \lambda(P,T) & thermal conductivity \\ \end{tabular} \end{document} Remarks: ...

9

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?

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

If you can, I suggest you to try arara. Advantages: It has a great manual written for humans ;-) You can use directives from within the document, meaning that you can compile different documents in different ways. In other words, the directives are document specific. Comiplation is easy and one step: arara yourfile The documentation tells you about ...

9

You have to redefine the command \pagedeclaration defined by \nomencl. Please note that the original definition of \pagedeclaration depends on your selected language. \documentclass{article} \usepackage[refpage]{nomencl} \usepackage[pageanchor]{hyperref} \def\pagedeclaration#1{, \hyperlink{page.#1}{page\nobreakspace#1}} \makenomenclature \begin{document} ...

8

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

8

the original code you have posted seems to work also, if you run pdflatex, then makeindex, then pdflatex again. I have copied and pasted your example into a file named n.tex. Then, I did pdflatex n.tex makeindex n.nlo -s nomencl.ist -o n.nls pdflatex n.tex and it seems to work. You may also want to check a more up-to-date version of the documentation ...

8

As egreg said, look at the nomencl and glossaries packages. Quick and dirty for nomencl: \documentclass{article} \usepackage[refpage]{nomencl} \makenomenclature \begin{document} Here is some text, where we use APC.\nomenclature{APC}{antigeen-presenterende cel} \printnomenclature \end{document} Run pdflatex; makeindex -s nomencl.ist -t liselot.nlg ...

8

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

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

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

7

The problem was, that one of the abbreviations was defined twice. After removing the duplicate item everything works fine.

7

I have no idea about how you have tweaked your nomentbl.sty. For my nomentbl.sty file, this is what I added to nomentbl.ist file to get the desired effect. preamble "\n\\begin{thenomenclature}\n% \\begin{longtable}[l]% {lp{\\textwidth*\\real{0.6}}c!{\\extracolsep{\\fill}}lll}\\toprule %% <------ rule here ...

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

There is a default prefix a that is added before the entries without optional argument. Therefore aGaz... is sorted before e.... You can redefine the default prefix to an empty string: \renewcommand*{\nomprefix}{}

7

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

7

Some will frown on this, but the error is $\lambda$ being used in $$...$$ when \gls{slambda} is replaced with $\lambda$ then. It's not possible to use $$$...$$$ inside equation-like environments. Omitting works for the environment, but then \printglossaries complains about missing math mode. One possible solution is to apply $$...$$

7

You can use the following key: \pgfkeys{/pgf/number format/.cd,1000 sep={\,}} Full MWE \documentclass{article} \usepackage{pgfplots} \begin{document} \pgfkeys{/pgf/number format/.cd,1000 sep={\,}} \begin{tikzpicture} \begin{axis} \addplot {100*x^2}; \end{axis} \end{tikzpicture} \end{document} If you're just changing one key, you can ...

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