On 03/31/2017 01:11 PM, Wolfgang Engelmann wrote:
Am 31.03.2017 um 18:37 schrieb David L. Johnson:
On 03/31/2017 10:53 AM, Wolfgang Engelmann wrote:
I try to get an item starting with an Umlaut 'Ü' sorted under the
appropriate place U and not at the end of the glossary. I added in
this nomenclature item under */sort by/* an *U* hoping that it would
now be correctly sorted. It does not (see appended lyx file).
I would appreciate a hint what I am doing wrong. I am using lyx
2.2.0 under Debian. Do I need another package instead of
nomenclature, which takes care of umlaute?
As a guess, since you probably use a font set that includes the
Umlaut-U as a character, the glossary is sorting by the order that
that symbol appears in the font. You might try replacing that
character by the TeX equivalent \"{U} (in ERT) and see whether it is
then properly alphabetized.
--
David L. Johnson
Department of Mathematics
Lehigh University
Thanks, David, that did it. What about $Q_{10}$? It is sorted
correctly, but the global
\renewcommand{\nomlabel}[1]{\textsf{\textbf{#1}}}
does not turn it into bold, nor does the individual \textbf{$Q_{10}$}
do it.
Wolfgang
I'm glad I guessed right about the umlaut. But for this I think there
is a different problem. \textbf{} has, I believe, a problem with math
mode. Try $\mathbf{Q_{10}}$ instead -- or, equivalently, enter
math-mode in LyX and type \mathbf (then space), and then Q_10 (space).
--
David L. Johnson
Department of Mathematics
Lehigh University