lilypond-user
[Top][All Lists]
Advanced

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

Bar numbers seem to be one off


From: T. Michael Sommers
Subject: Bar numbers seem to be one off
Date: Sat, 26 Sep 2015 01:28:38 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

It seems that unless I put a

        \set Score.currentBarNumber = #0

at the top of a score, the bar numbers that get printed are one higher than they should be. For instance, this, with the above line commented out, labels the first bar "2". What am I missing?

----- snip -----
\version "2.18.2"

\language "english"

\relative c' {
    \time 6/4
    \key e \major
    \override Score.BarNumber.break-visibility = ##(#t #t #t)

    %\set Score.currentBarNumber = #0

    r2. r2 b4 | b2 <gs e'>4 e'2 fs4 | e2 <a, ds>4 cs2 <a b>4 |
    <b e>2 e4 <cs e>2 fs4 | <b, e b'>2.~ <b e b'>2 gs'4 |

}
----- snip -----

--
T.M. Sommers -- address@hidden -- ab2sb



reply via email to

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