Generalglossaries | Sort italicized Acronyms

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
annmucc
Posts: 11
Joined: Mon May 16, 2011 7:33 pm

glossaries | Sort italicized Acronyms

Post by annmucc »

I have developed a glossary and an acronym list using the glossaries package. When using the glossaries package I can sort items by using the following command:

Code: Select all

\newglossaryentry{pi}{name={\ensuremath{\pi}},sort=pi,
description={ratio of circumference of circle to its diameter}}
However, I cannot find a similar command for the acronym list. In particular I need to have a T that is italic. however, when I print the glossary it then finds its way to the top of the list before every other entry. What is the correct command?
e.g.

Code: Select all

\newacronym{AA}{AA}{Acetic acid}
\newacronym{RH}{RH}{Relative Humidity}
\newacronym{T}{\textit{T}}{Temperature}
T is now the first in the list
Last edited by annmucc on Sun Aug 28, 2011 9:35 am, edited 1 time in total.

Recommended reading 2024:

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

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

nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

glossaries | Sort italicized Acronyms

Post by nlct »

\newacronym has an optional argument that can be used to override the values assigned to the keys:

Code: Select all

\newacronym[sort=T]{T}{\textit{T}}{Temperature}
Regards
Nicola Talbot
annmucc
Posts: 11
Joined: Mon May 16, 2011 7:33 pm

Re: glossaries | Sort italicized Acronyms

Post by annmucc »

Thanks!
Post Reply