I'm trying to get piano centered dynamics, and my "cresc.----" is far
too close to the bottom staff. I'm just modifying the existing
template. My question is, which line of the code do I need to alter
to change this?
following is my offending code (stripped down as best as I could
\version "2.10.5"
\include "deutsch.ly"
RH=\relative
{
\key d \major
\tempo 4=120
e8 d e4 d8 e fis4
<<{g4 a4 h8 a h cis}\\{e,8 fis g4 fis <e a>}>>
}
LH=\relative
{
\key d \major
\clef bass
<a cis>4 <<{d8 cis~ cis4 d8 e} \\ {a,4 h cis} >>
<<{d4 e8 fis e4 e8 d}\\{h4 a cis8 h <a e>4}>>
}
dynamics = {
\setTextCresc
s1*2\<
s2.\!
}
\score
{
\new PianoStaff
<<
\new Staff \RH
\new Dynamics \dynamics
\new Staff \LH
>>
\layout {
\context {
\type "Engraver_group"
\name Dynamics
\alias Voice % So that \cresc works, for example.
\consists "Output_property_engraver"
\override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
pedalSustainStrings = #'("Ped." "*Ped." "*")
pedalUnaCordaStrings = #'("una corda" "" "tre corde")
\consists "Piano_pedal_engraver"
\consists "Script_engraver"
\consists "Dynamic_engraver"
\consists "Text_engraver"
\override TextScript #'font-size = #2
\override TextScript #'font-shape = #'italic
\override DynamicText #'extra-offset = #'(0 . 2.5)
\override Hairpin #'extra-offset = #'(0 . 2.5)
\consists "Skip_event_swallow_translator"
\consists "Axis_group_engraver"
}
\context {
\PianoStaff
\accepts Dynamics
\override VerticalAlignment #'forced-distance = #7
}
}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user