lilypond-user
[Top][All Lists]
Advanced

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

Beam.positions affecting space between staves


From: Karim Haddad
Subject: Beam.positions affecting space between staves
Date: Mon, 19 Aug 2024 01:49:23 +0200

Hi

I know there is a simple solution for this but cannot find it.

When applying \override Beam.positions in order to raise the beam of a grouped 
rythm above the first staff:

1) it doesn't overlapp the first staff
2) an extra space is created (i imagine to avoid collision)

How can i make it happen.

Here is the code:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
\version "2.25.1"
 
"one"=
{
\time 4/4
s2
c'4 
c'4
|
} 
 

"two"=
{
\time 4/4
\once \override Beam.positions=#'( 18 . 18)
c'8 [
c'8
c'8
c'8]
c'4
c'4
|
} 
 
\score { 
 { 
<<
\new StaffGroup
 << 

\new Staff  {
\one
}

\new Staff  {
\two
}
 >> 
>> 
}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

in image one is the result
image two is what i want


thank you for any solution.
BEst


-- 
Karim Haddad

Music Representations Team, IRCAM
Research and development manager.

Attachment: 1.ly
Description: Text Data

Attachment: 1.ly
Description: Text Data

Attachment: 01.jpg
Description: JPEG image

Attachment: 02.jpg
Description: JPEG image


reply via email to

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