On 24.11.2013, at 10:06, David Kastrup <d...@gnu.org> wrote:

> David Kastrup <d...@gnu.org> writes:
> 
>> 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.
> 
> Cf <URL:https://en.wiktionary.org/wiki/1%C2%BA>
How about

primero = \markup \concat { 1\char #186 }
primera = \markup \concat { 1\char #170 }

\score {
  \new Staff { c''^\primero c''^\primera }
}
?
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to