MakeIndex, Nomenclature, Glossaries and AcronymsUnsorted nomenclature

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Post Reply
theoricienquantique
Posts: 2
Joined: Sat Jun 19, 2010 12:13 pm

Unsorted nomenclature

Post by theoricienquantique »

Hi everybody,

I am using the nomencl package to create a list of notations and it works perfectly, that is it sorts my notations.
However I would prefer to have them unsorted, that is to keep the order at which they appear in the document. Do you know how I can do this ? :?:

Thank you very much !

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Unsorted nomenclature

Post by kaiserkarl13 »

I have to ask: Why do you want to do this?

If you insist on confusing your readers by having all the symbols in an effectively random order, you will probably have to specify that order yourself. For example,

Code: Select all

\nomenclature[1]{$\gamma$}{Surface tension}%
[text]
\nomenclature[2]{$\kappa$}{Compressibility}%
[more text]
[etc.]
Makeindex (which nomencl uses) is designed for the express purpose of alphabetizing things; what you're doing is effectively making a table of symbols in a specific order, which isn't really an index at all. You might be better served in the long run by simply making your own list environment and typing it explicitly.
theoricienquantique
Posts: 2
Joined: Sat Jun 19, 2010 12:13 pm

Re: Unsorted nomenclature

Post by theoricienquantique »

Thanks, that is indeed what I am doing right now. The reason why I want to do this is because I have so many symbols and so few alphabetical letters for my notations and the final ordering generated by nomencl looks a bit random for the human eye too (unless you know the ASCII table by heart...)
Post Reply