|
From: | Auto mailings of changes to Lily Issues |
Subject: | [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #4756 Automatically shift dynamics horizontally? |
Date: | Fri, 29 Jan 2016 12:22:32 +0000 |
[issues:#4756] Automatically shift dynamics horizontally?
Status: New
Created: Fri Jan 29, 2016 12:22 PM UTC by Palmer Ralph
Last Updated: Fri Jan 29, 2016 12:22 PM UTC
Owner: nobody
Attachments:
Urs Liska and Malte Meyn wrote :
The fact that dynamics are always aligned to their notes can cause
unnecessarily large distances between staves as you can for example see
in the attached image generated from the following code.
\version "2.19.35" off = { % uncomment either of the following lines % \once \override DynamicText.X-offset = -3 % \once \override DynamicText.X-offset = -3.5 } \score { \new PianoStaff << \new Staff \relative c'' { << { \voiceOne c2 2 } \new Voice { \voiceTwo e,4 c \off g \sf g' } >> } \new Staff \relative g { \clef bass << { \voiceOne g4 a8 b c4 b8 a } \new Voice { \voiceTwo c,1 } >> } >> }
In such situations one will usually shift the dynamics to the left, and
Lily will automatically use the space better. You can see that when you
uncomment one of the lines in \off.
Would there be a way to approach this problem automatically, presumably
controlled by a configuration variable?
Basically a DynamicText (would this be true for other grobs as well? I
can't think of any) would - after line breaking is finished - have to
determine if it is the lowest element in a staff, and then consider
moving left until it can be shifted upwards. Is this possible?
I think this is something that would greatly reduce the number of cases
where LilyPond produces ugly layout by default, so it should be worth
exploring.
-and-
In my opinion moving the sf to the left looks like the b of the left hand has the accent. In this case I would prefer a positive shift (to the right): off = { \once \override DynamicText.X-offset = 0.3 } So if it is possible at all to do this automatically one probably would want to be able to write something like \once \override DynamicText.auto-X-offset = #RIGHT
Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________ Testlilyissues-auto mailing list address@hidden https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
[Prev in Thread] | Current Thread | [Next in Thread] |