lilypond-user
[Top][All Lists]
Advanced

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

Re: Making flags a bit thicker? Changing distance between key signature


From: Urs Liska
Subject: Re: Making flags a bit thicker? Changing distance between key signature elements?
Date: Mon, 30 May 2016 11:59:40 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0

Am 30.05.2016 um 11:53 schrieb Federico Bruni:
> Il giorno lun 30 mag 2016 alle 11:13, Stanislav <address@hidden>
> ha scritto:
>> Now I mainly
>> use Musescore, which is a wonderful piece of software,
>> but as of yet it cannot change the width of flags
>> and chance distance between key signature elements.
>> Can those things be done in Lilypond?
> 
> I've looked at:
> http://lilypond.org/doc/v2.19/Documentation/internals/flag
> 
> and thought that X-extent could have been the right property, because
> the description says:
> 
> """
> X-extent (pair of numbers):
> 
>    ly:flag::width
> 
>    Extent (size) in the X direction, measured in staff-space units,
> relative to object’s reference point.
> """
> 
> but actually it just takes space and place next notes more faraway on
> the line:
> 
> \version "2.19.42"
> \relative {
>  c''8
>  \override Flag #'X-extent = #'(0 . 10)
>  c8 d
> }
> 
> I would call it X-padding
> 

Not really. X-extent doesn't actually pad elements but overrides the
value LilyPond *thinks* the item has. To make that clearer consider
setting the X-extent (and A-extent) of an object both to zero. This
makes LilyPond's spacing and collision handling completely ignore the
element. Which is for example useful to "stamp" something on top of the
score.

Urs



reply via email to

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