bug-lilypond
[Top][All Lists]
Advanced

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

Re: \powerChords produces superscript 5 that is too large


From: Eluze
Subject: Re: \powerChords produces superscript 5 that is too large
Date: Sun, 14 Apr 2013 06:08:47 -0700 (PDT)

Thomas Morley wrote
> 2013/4/14 Eluze <

> eluzew@

> >:
>> Greg Swinford wrote
>>>> I'm not top posting.
>>>
>>> \version "2.14.2"
>>>
>>> newPowerChordSymbol = {
>>>
>>> 
> <c g>
>>> -\markup { \super "5" }
>>> }
>>>
>>> chExceptions = #( append
>>>   ( sequential-music-to-chord-exceptions newPowerChordSymbol #t)
>>>   ignatzekExceptions)
>>>
>>> music = \chordmode {c:7 c:1.5 c:sus4}
>>>
>>> \new ChordNames \chordmode {
>>> % the 5 is currently much bigger than the 7 or sus4
>>>   \powerChords \music
>>> % it should match the size of the other numbers
>>>   \set chordNameExceptions = #chExceptions \music
>>> }
>>
>> please have a look at
>> http://www.lilypond.org/doc/v2.17/Documentation/notation/displaying-chords#customizing-chord-names
>>
>> Selected Snippets
>>
>> Chord name exceptions
>>
>> it's important to put the music /after/  setting \set chordNameExceptions
>> =
>> …
>>
>> Eluze
> 
> Hi Eluze,
> 
> I read Greg's post different.
> 
> Currently `powerChordSymbol´ is defined in /ly/chord-modifiers.ly and
> finally used with `powerChords´ from `/ly/property-init.ly´
> 
> `powerChordSymbol´ is defined:
> 
> powerChordSymbol = {
>   
> <c g>
> -\markup { \normal-size-super "5" }
>   
> <c g c'>
> 1-\markup { \normal-size-super "5" }
> }
> 
> resulting in a normal-sized "5", not like other numbers in chords.
> 
> Therefore it is not a bug (it is indeed the intended behaviour),
> though, Greg requests to give the "5" the same, smaller size and he
> provides a method how to do it.
> 
> BTW, Greg refers to 2.14.2, though, it's the same with 2.17.15.
> 
> I think it's a legitimate feature request.
> And I lean to agree with him.

ah -sorry, I didn't read the code to the end and overlooked the last
/\music/…

what's the intention to make the "5" bigger than the other numbers?

Eluze







--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/powerChords-produces-superscript-5-that-is-too-large-tp144326p144441.html
Sent from the Bugs mailing list archive at Nabble.com.



reply via email to

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