[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to bring two staves close enough together to allow for overprint
From: |
Trevor Bača |
Subject: |
Re: How to bring two staves close enough together to allow for overprint? |
Date: |
Mon, 2 Apr 2007 13:39:05 -0500 |
On 4/2/07, Maximilian Albert <address@hidden> wrote:
Trevor Bača schrieb:
> In the following snippet I want the two staves to be exactly 5 staff
> spaces apart even though this will cause the g'4 in the bass to
> overprint the c'4 in the treble. But it doesn't work.
In your example, you use a *pair* of two numbers to specify the vertical
positions because there is a dot in between the numbers:
(0 . 5)
This seems to make sense because you want to position _two_ staves
relative to each other. However, the syntax also makes sense with three
or more staves, which is why lilypond interprets the given argument as a
*list*. Therefore if you remove the dot and write the argument as a
*list* of two objects, like this:
(0 5)
then it works like a charm.
D'oh!
Perfect. Thanks, Max!
At-home example:
%%% BEGIN %%%
\version "2.11.20"
\new GrandStaff <<
\new Staff { c'4 }
\new Staff {
\clef bass
\overrideProperty "Score.NonMusicalPaperColumn"
#'line-break-system-details #'((alignment-offsets . (0 -5)))
g'4
}
%%% END %%%
--
Trevor Bača
address@hidden