[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
positioning dynamics vertically
From: |
David B. Stocker |
Subject: |
positioning dynamics vertically |
Date: |
Tue, 18 Nov 2014 12:28:59 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
Hello all,
I'm typesetting pieces for piano and melody instrument and I have a
question about dynamic placement.
I'm adding dynamics to the melody part in a separate Dynamics context
because I like for each line of markings to have its own static
baseline. But I need that baseline to 'hug' the bottom of the melody
staff and I haven't been able to do that.
Thanks in advance,
David
Here is my minimal example:
\version "2.18.2"
\paper {
ragged-last = ##f
ragged-last-bottom = ##f
}
pianoRH = \relative c'' {
c4 d e c
}
pianoLH = \relative c {
c2 g'4 e
}
hornNotes = \relative c'' {
g2 c
}
dyn = {
s2\mf\< s\!\f
}
\score {
<<
\new Staff \with {
fontSize = #-3
\override StaffSymbol #'staff-space = #(magstep -3)
\override StaffSymbol #'thickness = #(magstep -3)
}
<<
\new Voice {
\hornNotes
}
\new Dynamics {
\override DynamicText.font-size = #-3
\dyn
}
>>
\new PianoStaff <<
\new Staff {
\pianoRH
}
\new Dynamics {
\dyn
}
\new Staff {
\clef bass
\pianoLH
}
>>
>>
}
- positioning dynamics vertically,
David B. Stocker <=