lilypond-user
[Top][All Lists]
Advanced

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

Re: Align staffs based on first notes


From: Valentin Petzel
Subject: Re: Align staffs based on first notes
Date: Tue, 12 May 2020 12:36:24 +0200

Hello,

You have to enclose your staves in << CONTENT >> to make them parallel. If you 
just do \new Staff … \new Staff you get basically one Staff, and then, when the 
first staff ends, another Staff starts (That is, in your case you actually get 
two different scores for each Staff, because you did not define a score around 
them).

So just simply do
<<
 \new Staff …
 \new Staff …
>>

And you’ll get them aligned. If you want to get rid of TimeSignatures, I’d 
just remove the Time_signature_engraver and the Time_signature_performer and 
the Timing_translator from the Staff context, and instead of doing weird Time 
Signatures, you can just remove the Bar_engraver from the Staff context.

If you want to get rid of the spanned barline at the start of the system, you 
can remove the System_start_delimiter_engraver from the score context.
If you want the staff spacing to reflect the system spacing, add an

\override VerticalAxisGroup.default-staff-staff-spacing =
#(ly:output-def-lookup (ly:parser-lookup '$defaultpaper) system-system-
spacing)

To the Staff context. If you want to get lineBreaks only at specified 
positions, 
override in the Score context

\override NonMusicalPaperColumn.line-break-permission = ##f

I’ll append a full example.

Regards,
Valentin

Attachment: example.ly
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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