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

}

>>

>>

}


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to