[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Printing bar number 1
From: |
Peter Johnson |
Subject: |
Re: Printing bar number 1 |
Date: |
Wed, 27 Aug 2008 14:05:36 +0100 |
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
Re: Printing bar number 1, Trevor Daniels, 2008/08/27