I just tried
\set Staff.instrument = \markup { "2 Flöten" }
on version 2.2.x and it works excellently.
What version did you try? Also, if you are on Windows or Mac,
make sure that your text editor uses Latin1 encoding when saving
the file.
If you want to use TeX commands instead, you can use more or
less anything that works in TeX/LaTeX, as long as you remember
to replace each single backslash with a double backslash (as
least as long as you use version 2.2.x or earlier), so
Fl\\"oten should work well.
If you run version 2.3.x, then the answer will be different.
/Mats
Quoting Will Oram <address@hidden>:
This is one of my dumber questions. How do I get an umlaut in an
instrument name:
\set Staff.instrument = \markup { "2 Flöten" }
Naturally lily doesn't like it if I type the umlaut straight. I've
tried various other things found around the site and the Web, and none
work. \''o, \"o, \"{o} (the LaTeX method), and \\\"o (which I think
worked on something I did once a year ago). In most cases the output is
just the string minus the backslash.
I would suggest a small mention of foreign characters in the manual,
unless I missed an already present one.
Best,
Will Oram
spamguy ^^AT^^ foxchange.com // william.oram ^^AT^^ cwru.edu // AIM
spamguy21
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user