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: Thomas Morley
Subject: Re: \powerChords produces superscript 5 that is too large
Date: Sun, 14 Apr 2013 14:08:38 +0200

2013/4/14 Eluze <address@hidden>:
> 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.

png attached,


Cheers,
  Harm

Attachment: powerChords-request.png
Description: PNG image


reply via email to

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