Hello all,
I'm having a bit of a struggle with correctly displaying my list of symbols for a paper I'm trying to publish. I'm using the nomencl package and it appears to be attempting an alphabetical approach... but if I include []'s or {}'s then my order is rearranged. I assume the package is trying to use some sort of ASCII (or other) way of ordering the entries (somebody can correct me here). However, I would prefer an alphabetic ordering, such as for the Greek alphabet. For example, \theta comes before \omega in Greek but not in ASCII. Also, I would prefer A to come before [A]. But the ASCII code, again, reverses this. Does anybody have a possible work around for this.
Thanks,
~~archery~~
Page Layout ⇒ Alphabetical Nomenclature
-
- Posts: 4
- Joined: Thu Jan 13, 2011 7:56 pm
Alphabetical Nomenclature
Last edited by archeryguru2000 on Tue Jan 25, 2011 10:00 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 4
- Joined: Thu Jan 13, 2011 7:56 pm
Alphabetical Nomenclature
Yeah! I think I've figured it out. Here's my code:
With these "shortcuts" (the []'s immediately following \nomenclature command), I am able to display the Greek alphabet in the correct order. Honestly I feel this should be fixed upstream to allow for other languages WITHIN a given language, i.e. LaTeX will somehow know the symbol is Roman, Greek, etc. without having to explicitly state it within an ifthen statement. But hopefully this post can help somebody else who's having a similar issue.
~~archery~~
Code: Select all
\RequirePackage{ifthen}
\renewcommand{\nomgroup}[1]{%
\ifthenelse{\equal{#1}{A}}{\item[\textbf{Roman}]}{%
\ifthenelse{\equal{#1}{G}}{\item[\textbf{Greek}]}}}
...
\nomenclature[gto]{$\tau_0$}{Greek letter}%
\nomenclature[gtc]{$\{\tau\}$}{Greek letter with braces}%
\nomenclature[gtco]{$\{\tau_0\}$}{Greek letter with subscript}%
\nomenclature[aN]{$N$}{Roman letter}%
\nomenclature[aNb]{$[N]$}{Roman letter with brackets}%
\nomenclature[gl]{$\lambda$}{another greek letter}
...
~~archery~~