Page Layout ⇒ list of abbreviation - sorting
list of abbreviation - sorting
Hello,
I have got a problem with alphabetical order of the list of abbreviation at the end of the document.
I use nomencl package. The problem is, that every entry with a number or a special symbol (+,-..) is before the entries without those symbols.
Eg. it sorts like this: +za, xy2, ab, bc ... I want it like: ab, bc, xy2, +za. Is there any command to use for sorting only letters, not other symbols?
Thank you for the answer.
Zuzana
I have got a problem with alphabetical order of the list of abbreviation at the end of the document.
I use nomencl package. The problem is, that every entry with a number or a special symbol (+,-..) is before the entries without those symbols.
Eg. it sorts like this: +za, xy2, ab, bc ... I want it like: ab, bc, xy2, +za. Is there any command to use for sorting only letters, not other symbols?
Thank you for the answer.
Zuzana
NEW: TikZ book now 40% off at Amazon.com for a short time.
list of abbreviation - sorting
Hi,
you can declare the package option noprefix:
and then use the optional argument of the \nomenclature command to manualy adjust the sort order. The package documentation contains the details.
you can declare the package option noprefix:
Code: Select all
\usepackage[noprefix]{nomencl}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: list of abbreviation - sorting
I have already read it. But I could not have found it in the manual... So a asked here. I am a LaTex begginer, I don't understand it much. What prefix should I use?
list of abbreviation - sorting
A little example:
The use of the optional argument in
instructs MakeIndex to sort "+x" as "zz+x" so it will appear after all the words beginning with "zz" (i.e., after every normal English word); without the optional argument, "+x" will appear as the first item in the nomenclature.
Code: Select all
\documentclass[12pt,a4paper]{article}
\usepackage[noprefix]{nomencl}
\makenomenclature
\begin{document}
\nomenclature[x]{+x}{A special symbol.}
\nomenclature{y}{Some letter.}
\nomenclature{z}{The last letter.}
\nomenclature{a}{The first letter.}
\nomenclature{w}{Some other letter.}
\printnomenclature
\end{document}
Code: Select all
\nomenclature[zz]{+x}{A special symbol.}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: list of abbreviation - sorting
Now it works. Thank you for the help!! I have one more question. Do I have to let it go through Makeindex every time I add a new abbreviation? Now I have to do it. Or is it possible to connect(?) it somehow not to do it every time?
list of abbreviation - sorting
Since MakeIndex is responsible for sorting out the entries, you must use MakeIndex every time that you want your document to reflect any changes involving the \nomenclature commands. If you add a new entry and don't run MakeIndex then this new entry won't apear in the final document.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: list of abbreviation - sorting
OK. Thank you very much!