[texhax] glossaries - glsentryname and math
Susan Dittmar
Susan.Dittmar at gmx.de
Mon Jan 10 16:42:34 CET 2011
Quoting Vangelis Katsikaros (ibob17 at yahoo.gr):
> I define an entry that has some math in its name, then if use \gls{foo}
> everything is fine. However, if I use \glsentryname{goo}, then the
> $math$ part is not rendered as math but as regular text (including the
> dollar signs).
Did you try using the text field? I do not have access to a working
glossaries style right now, so I cannot test, sorry.
\newglossaryentry{lala}{
name={$X^{y}$-tree},
text={$X^{y}$-tree},
description={The famous Xy-tree}
}
Hope that helps,
Susan
More information about the texhax
mailing list