Marc Hohl <m...@hohlart.de> writes: > Am 24.11.2013 09:56, schrieb David Kastrup: >> Marc Hohl <m...@hohlart.de> writes: >> >>> Am 24.11.2013 09:35, schrieb David Kastrup: >>> [...] >>>> What's wrong with >>>> >>>> primo = "1º" >>>> prima = "1ª" >>>> >>>> Shouldn't that do the trick without further trickery? >>> >>> Well, the example png shows the "°" placed above the dot of "1.". >> >> You are using the wrong character here. What you use is >> >> name: DEGREE SIGN >> general-category: So (Symbol, Other) >> decomposition: (176) ('°') >> >> whereas the correct character is >> >> name: MASCULINE ORDINAL INDICATOR >> general-category: Lo (Letter, Other) >> decomposition: (super 111) (super 'o') >> >>> If the dot can be omitted, "1°" is probably just fine. >> >> My mastery of Spanish (and/or Portuguese?) is non-existing, but it would >> seem like the name and existence of that glyph makes it likely that its >> presence alone should be indicative of an ordinal number. > > Ok. This is yet another utf trickery I wasn't aware of ;-)
I think it's actually in the Latin-1 range already. Some people must have considered it important. On my keyboard, I get them with Compose ^ _ o and Compose ^ _ a which took me an inordinate amount of time to figure out. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user