On 3/11/2019 3:33 PM, Павел Буданов wrote:
I found a temporary way to control the vertical spacing in the middle
of the piece. It looks awful, but it works. I still hope that someone
will suggest a more correct way.
\new StaffGroup
<<
\new Staff
{
c' c' c' c' \break
% Add an invisible very low note to push the staffs.
c'4*1/2 \once \hideNotes c,,,,,8 c'4 c' c'
}
\new Staff { c' c' c' c' c' c' c' c' }
>>
Hello,
I'm sure other people have different ways they approach this, but for me
this works great so far with no negative side effects in my projects.
Granted, I don't use this code often but it's never failed me yet.
Basically, it's just a very small markup blank space or if you prefer, a
vertical spacer instead. Hope this helps you.
%%%%%%%%%%%%%%%%
\version "2.19.82"
% _\markup \lower #3 " "
% or
% ^\markup \raise #3 " "
% also you could define something like this
verticalSpacer = -\markup \transparent \draw-line #'(0 . 12)
% and input it inline with music
\new StaffGroup
<<
\new Staff
{
c'4 c' c' c' \break
c' c' c' c'
}
\new Staff { c' c' c' c' c' c'^\markup \raise #10 " " c' c' }
>>
\new StaffGroup
<<
\new Staff
{
c'4 c' c' c' \break
c' c' c' c'
}
\new Staff { c' c' c' c' c' c'^\verticalSpacer c' c' }
>>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user