lilypond-user
[Top][All Lists]
Advanced

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

Re: Printing bar number 1


From: James E. Bailey
Subject: Re: Printing bar number 1
Date: Wed, 27 Aug 2008 15:22:59 +0200


Am 27.08.2008 um 15:05 schrieb Peter Johnson:


On 27 Aug 2008, at 13:21, Johan Vromans wrote:


So, here it goes again: How can I print bar number 1? E.g.,


Add this here:

\override Score.BarNumber #'break-visibility = #'#(#t #t #t)

   \set Score.currentBarNumber = #1
   \bar ""
   \repeat unfold 4 {c4 c c c} \break
   \repeat unfold 4 {c4 c c c}


And it will work for any \set Score.currentBarNumber greater than 1. Take a look at section 1.2.5.2 of the Notation Reference for more. You may have to use a markup if you really want to print bar number 1, which looks as if it never prints, wherever it appears (try setting currentBarNumber to -1 at any point in the score).

Peter

That still doesn't print bar number 1. "…it will work for any \set Score.currentBarNumber greater than 1" I thought the point was to print bar 1.



reply via email to

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