lilypond-user
[Top][All Lists]
Advanced

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

Re: Bar numbers seem to be one off


From: David Kastrup
Subject: Re: Bar numbers seem to be one off
Date: Sat, 26 Sep 2015 07:53:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

"T. Michael Sommers" <address@hidden> writes:

> 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?

It labels the _second _ bar "2".  Which is entirely correct.

> ----- 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 -----

If you don't want to start with a full (obviously counted) bar, write
\partial 4 instead of r2. r2 at the start.

-- 
David Kastrup



reply via email to

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