lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Primo symbol in LilyPond


From: pls
Subject: Re: Primo symbol in LilyPond
Date: Sun, 24 Nov 2013 10:24:08 +0100

On 24.11.2013, at 10:06, David Kastrup <address@hidden> wrote:

> David Kastrup <address@hidden> writes:
> 
>> Marc Hohl <address@hidden> 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 }
}
?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]