lilypond-user
[Top][All Lists]
Advanced

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

Printing bar number 1


From: Trevor Bača
Subject: Printing bar number 1
Date: Tue, 10 Jul 2007 07:47:05 -0500

Hi,

8.2.4 "Bar numbers" gives an example that, to print a bar number at
the beginning of a piece, we should insert a dummy \bar at the
beginning of note entry. Here's the example:

    \set Score.currentBarNumber = #50
    \bar ""
    \repeat unfold 4 {c4 c c c} \break
    \repeat unfold 4 {c4 c c c}

This works great when currentBarNumber sets to something > 1, but when
we change currentBarNumber to 1, the first bar number disappears:


    \set Score.currentBarNumber = #1
    \bar ""
    \repeat unfold 4 {c4 c c c} \break
    \repeat unfold 4 {c4 c c c}


Is there a way to print bar number *1* under any circumstances?



--
Trevor Bača
address@hidden

reply via email to

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