[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ending bar line too short
From: |
Malte Meyn |
Subject: |
Re: ending bar line too short |
Date: |
Mon, 14 May 2018 09:09:37 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
Am 13.05.2018 um 17:24 schrieb Étienne PERRINE:
In this code, the ending bar line of second staff is very slightly too short
(probably due to the magnyfyStaff)… Why ?
It’s not the bar line that is too short but the staff lines. And that’s
because of wrong alignment of the different bar lines:
• Bar lines from different staves are left-aligned.
• The score’s right end aligns with the paper (so no “too big” bar lines
extend into the right margin, instead “too small” bar lines end earlier
than they should).
• The staff line length is correctly chosen for the first staff (not the
smallest or largest).
The second and third point would be ok *iff* bar lines would be
right-aligned. But then also we would have a problem with SpanBars
(uncomment the % \new StaffGroup lines).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.19.81"
\paper {
ragged-right = ##f
}
\new Staff { s1 \bar "|." }
% \new StaffGroup
<<
\new Staff { s1 \bar "|." }
\new Staff \with { \magnifyStaff #4 } { s1 \bar "|." }
>>
% \new StaffGroup
<<
\new Staff \with { \magnifyStaff #4 } { s1 \bar "|." }
\new Staff { s1 \bar "|." }
>>
% \new StaffGroup
<<
\new Staff { s1 \bar "|." }
\new Staff \with { \magnifyStaff #1/4 } { s1 \bar "|." }
>>
% \new StaffGroup
<<
\new Staff \with { \magnifyStaff #1/4 } { s1 \bar "|." }
\new Staff { s1 \bar "|." }
>>