lilypond-user
[Top][All Lists]

## Re: Peculiar behavior of barlines

 From: Kevin Barry Subject: Re: Peculiar behavior of barlines Date: Thu, 19 Mar 2020 21:07:31 +0000

Hi Sami,

I think your alignment problem arises because you moved the barline
engraver from the score context to the staff context. Each staff
doesn't seem to "know" about the alignment of bars in other staves so
it cannot align with them. Since it seems you need different bar types
in different staves I think you will have to manually modify the
position of a barline with stuff like:
\once \override Staff.Barline.X-offset = 0.5 \bar "||-!"

If that works for you and you need to do it frequently in the score it
would be worth putting it in a variable or a function (my simple
attempts at this produced different output though so perhaps someone
else will best know how).

Kevin

On Thu, 19 Mar 2020 at 14:26, Sami Amiris <address@hidden> wrote:
>
> I apologise for flooding your email. Just found out another issue that I
> would like your help, again with the barlines. Should I open another thread?
> I thought they were in the same topic as before.
>
> The question is: Is there a way to align the barlines correctly at the end
> of the system?
>
> I have written a  minimal example <http://lilybin.com/soj3yd/13>   and a
> less minimal <http://lilybin.com/soj3yd/12>   if one wants to see more
> barline types (the problem area is highlighted).
>
> Thank you,
>
> S.A.
>
>
>
> --
> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
>