[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Bar numbers for broken measures
From: |
Daniel Rosen |
Subject: |
RE: Bar numbers for broken measures |
Date: |
Fri, 19 Oct 2012 19:32:40 +0000 |
Here's what I ended up using, and it works fine:
\version "2.16.0"
\relative c' {
\set Score.barNumberVisibility = #(lambda (bar-number measure-position) #t)
\time 4/4
\repeat volta 2 {
c d e
}
\break f | g a b
}
\paper { ragged-right = ##t }
This is essentially Mark's solution, except that (a) I didn't use the \once
command, and (b) I didn't have to adjust the barNumberFormatter property
because the parentheses appeared by default.
I have absolutely no programming experience and don't understand Scheme at all,
so I never would have figured out this syntax by myself; perhaps it should be
included in the NR somewhere?
DR
-----Original Message-----
From: Janek Warchoł [mailto:address@hidden
Sent: Friday, October 19, 2012 8:19 AM
To: Daniel Rosen
Cc: address@hidden
Subject: Re: Bar numbers for broken measures
Hi,
On Fri, Oct 19, 2012 at 2:52 AM, Daniel Rosen <address@hidden> wrote:
> The piece I'm working on has a repeat that ends in the middle of a measure,
> with a line break at the same point:
>
> I would like to have a bar number, perhaps in parentheses, at the
> beginning of the second line,
sorry, no time to analyze this carefully, but according to this
http://code.google.com/p/lilypond/issues/detail?id=460 Lilypond should have
this feature available. If it doesn't work, please report a bug.
cheers,
janek