bug-lilypond
[Top][All Lists]
Advanced

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

Re: Automatic barline misplaced?


From: Kevin Barry
Subject: Re: Automatic barline misplaced?
Date: Wed, 23 Nov 2022 12:31:55 +0000

On Wed, Nov 23, 2022 at 12:22:14PM +0000, Mungo Carstairs wrote:
> <score sound="1"> \relative c' { \clef treble \key ees \major \time 12/8
> \tempo "Tempo molto moderato" \partial 8*5 bes4~\p\<( bes2.~ | bes4 ees8 f)
> bes4-- g-- ees8 f4.\fermata } </score>
> 
> I thought I might have a go at correcting it myself, despite knowing
> nothing (until today) about Lilypond. However I can see nothing in the
> markup that places the barline explicitly, so (with all due diffidence)
> wonder whether it is a bug. I did search GitLab for open issues without
> finding anything that seemed to match.

I don't think it's a bug. Looking at the code you quoted it seems the
anacrusis is 5 quavers, when it should be 8 (the same length as a
semibreve).

If you change `\partial 8*5` to `\partial 1` that should fix it.

(Barlines are usually placed automatically by LilyPond, and by setting
the anacrusis to 5 quavers LilyPond is putting the first barline in the
middle of the dotted minim - which is why you see the odd spacing where
the first crotchet afterwards is too far to the right.)

Kevin



reply via email to

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