lilypond-user
[Top][All Lists]

## Re: first barnumber

 From: Xavier Scheuer Subject: Re: first barnumber Date: Tue, 11 May 2010 20:40:00 +0200

2010/5/11 Stefan Thomas <address@hidden>:

> Dear community,
> is it possible to force lilypond to show the number of the first bar?

Hi,

It is explained as a snippet in the doc: "Printing the bar number for
the first measure"
http://lilypond.org/doc/v2.13/Documentation/notation/bars.html#Bar-numbers

By default, the first bar number in a score is suppressed if it is
less than or equal to ‘1’.  By setting barNumberVisibility to
all-bar-numbers-visible, any bar number can be printed for the first
measure and all subsequent measures.  Note that an empty bar line
must be inserted before the first note for this to work.

\relative c' {
\set Score.barNumberVisibility = #all-bar-numbers-visible
\bar ""
c1 | d | e | f \break
g1 | e | d | c
}

Cheers,
Xavier

--