bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Broken piano template w/ centered dynamics


From: Hinrik ÖrnSigurðsson
Subject: Broken piano template w/ centered dynamics
Date: Thu, 7 Apr 2011 11:40:43 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

http://lilypond.org/doc/v2.12/input/lsr/lilypond-snippets/Expressive-marks#Piano-template-with-centered-dynamics

If one sets an instrument name (\set PianoStaff.instrumentName = #"Piano") with
this template, the name with be incorrectly placed on the Y-axis (below center,
see http://i.imgur.com/SmUDr.png). This only happens if pedaling instructions
are specified, and it seems to relate to the following line:

    \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)

If it is omitted, the instrument name will be centered, but of course the
dynamics and pedaling will then appear in the wrong place, so this is not a
solution.

The following will move the instrument name slightly closer to the center:

    \override PianoStaff.InstrumentName #'self-alignment-Y = #DOWN

It's still not in the center, though.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]