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
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user