bug-lilypond
[Top][All Lists]
Advanced

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

Re: Problem with padding and TextScript


From: Eluze
Subject: Re: Problem with padding and TextScript
Date: Mon, 5 Nov 2012 17:07:19 -0800 (PST)

Eluze wrote
> 
> Trevor Daniels wrote
>> While browsing the Learning Manual I noticed the last example in Section
>> 3.4.4
>> http://www.lilypond.org/doc/v2.16/Documentation/learning/saving-typing-with-variables-and-functions
>> displays a fault.  It is intended to show the use of 'padding to displace
>> TextScript, but
>> the script is not displaced.  The example is still incorrect in the
>> latest 2.17.7 manual,
>> but I don't know when it went wrong.  Possibly the new skyline code
>> packing things
>> closer together?
>> 
>> I've not yet raised a bug report as I don't know whether this behaviour
>> is now
>> intended, so I didn't know whether to classify it as a code bug or a
>> documentation 
>> issue.
>> 
>> Comments?
> I've often misunderstood what 
/
> padding
/
>  is really meaning:
> 
> - keep that distance above the last object/item/whatever (the normal
> staff?)
> - add this distance to what has already been calculated
> 
> and my understanding now is:
> 
> - keep at least that distance from the normal upper staff line (and not
> from the topmost note)
> 
> usually the collision avoiding mechanism moves a text script upwards
> sufficiently  - only if you want surplus vertical space above the ledgered
> lines you have to add more padding space (and this will be counted from
> the normal upper staff line)
> 
> btw - the section you mention wants to explain how to use variables -
> maybe the example(s) are a little bit unlucky?
> 
> Eluze

forgot to mention: users often want to change the vertical space between a
note head/stem /or/  they want to have it all at the same vertical distance
from a staff /per system/.

I think this can be done with \override TextScript.outside-staff-padding =
#.… (number) /or/ with a special staff context for text scripts - similar to
dynamics - with a convenient stretchability (and I just want to add: I
/really like/ this new syntax!)

should the docs go into this?!

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Problem-with-padding-and-TextScript-tp135878p135882.html
Sent from the Bugs mailing list archive at Nabble.com.



reply via email to

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