[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dynamic marks and vertical space
From: |
Cynthia Karl |
Subject: |
Re: Dynamic marks and vertical space |
Date: |
Sat, 27 Aug 2016 12:14:25 -0500 |
> On Aug 27, 2016, at 02:24:41 +0300,Timofey Misarenkov wrote:
>
> Message: 2
> Date: Sat, 27 Aug 2016 02:24:41 +0300
> From: Timofey Misarenkov <address@hidden>
> Subject: Dynamic marks and vertical space
>
> The sample code below has one flaw: it wastes too much vertical space
> due to \ff. In the real case its even worse, because of <d d,> has
> duration of 1 and uses more space. I'm trying to move \ff to the left,
> but unsuccessfully. (DynamicText.extra-offset can help to move, but
> vertical space waste remains the same. And using same approach to move
> \p and hairpin do not helps either.)
>
> So, the question is: how to make \ff to appear at the left of <d d,>s ?
>
> \version "2.18.2"
>
> \score {
> \new GrandStaff <<
> \new Staff = "up" \relative c' {
> \clef treble
> <d d,>4-> \repeat unfold 12 {<a' d fis a>16-.}
> }
> \new Dynamics = "dynamics" { s8\ff s8\p\< s2 s8. s16\! |}
Change the above line to:
\new Dynamics = "dynamics" {
s8-\tweak X-offset #-4 \ff s8-\tweak X-offset #1 \p\< s2 s8. s16\! |
}
> \new Staff = "down" \relative c, {
> \clef bass
> <d d,>4-> \repeat unfold 12 {<a' d fis a>16-.}
> }
>>>
> \layout {}
> }