lilypond-user
[Top][All Lists]
Advanced

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

VerticalAlignment in PianoStaff


From: Atte Andre Jensen
Subject: VerticalAlignment in PianoStaff
Date: Mon, 12 Aug 2002 22:52:07 +0200 (CEST)

Here:

http://www.lilypond.org/development/Documentation/user/out-www/lilypond/Vertical-spacing.html#Vertical%20spacing

I read:

"The piano staffs are handled a little differently: to make cross-staff
beaming work correctly, it necessary that the distance between staves is
fixed. This is also done with a VerticalAlignment grob, created in
PianoStaff , but a forced distance is set. This is done with the grob
property #'forced-distance. If you want to override this, use a
\translator block as follows:

\translator {
\PianoStaffContext
VerticalAlignment \override #'forced-distance = #9
}

This would bring the staffs together at a distance of 9 staff spaces, and
again this is measured from the center line of each staff."

Great! But I can't figure out where to put the code... Asumed it was just
after my \context PianoStaff but that gives me an "error: parse error,
expecting `STRING':" on the "{" in the above code.

Newbies like me really need to see stuff in context to get the big
picture, so is someone could post a working .ly with VertivalAlignment *in
PianoStaff*, that would be extremely helpful.

Thanks in advance.
-- 
love, peace & harmony
Atte





reply via email to

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