[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
still problems with piano template
From: |
Werner LEMBERG |
Subject: |
still problems with piano template |
Date: |
Sun, 22 Apr 2007 17:53:08 +0200 (CEST) |
Have a look at the slightly modified piano template (with centered
dynamics). What can I do to avoid the overlapping of the dynamic sign
with the bar line? Shifting such dynamics manually is definitely not
the right solution...
Werner
======================================================================
\version "2.11.22"
upper = \relative c'' {
\clef treble
\key c \major
\time 4/4
a4 b c d |
e4 e e e |
}
lower = \relative c {
\clef bass
\key c \major
\time 4/4
a2 c |
a1 |
}
dynamics = {
s1\fff\> |
s1\!\pp |
}
pedal = {
s2\sustainDown s2\sustainUp |
s1\sustainDown
}
\score {
\new PianoStaff <<
\new Staff = "upper" \upper
\new Dynamics = "dynamics" \dynamics
\new Staff = "lower" <<
\clef bass
\lower
>>
\new Dynamics = "pedal" \pedal
>>
\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)
\override DynamicLineSpanner #'Y-offset = #0
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
\consists "Skip_event_swallow_translator"
\consists "Axis_group_engraver"
}
\context {
\PianoStaff
\accepts Dynamics
}
}
}
\paper {
indent = 0\cm
ragged-right = ##t
}
- still problems with piano template,
Werner LEMBERG <=
- Re: still problems with piano template, Mats Bengtsson, 2007/04/24
- Re: still problems with piano template, Werner LEMBERG, 2007/04/24
- Re: still problems with piano template, Mats Bengtsson, 2007/04/24
- Re: still problems with piano template, Werner LEMBERG, 2007/04/24
- Re: still problems with piano template, Han-Wen Nienhuys, 2007/04/24
- Re: still problems with piano template, Mats Bengtsson, 2007/04/24
- Re: still problems with piano template, Han-Wen Nienhuys, 2007/04/24
- Re: still problems with piano template, Werner LEMBERG, 2007/04/25
- Re: still problems with piano template, Han-Wen Nienhuys, 2007/04/25