lilypond-user
[Top][All Lists]
Advanced

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

currentBarnumber in layout?


From: Thomas Morley
Subject: currentBarnumber in layout?
Date: Wed, 21 Aug 2013 15:05:23 +0200

Hi,

playing around with some code to answer a request about setting
BarNumber for the first measure at the german lilypond forum
http://www.lilypondforum.de/index.php?topic=1529.0
I've found:

\version "2.17.24"

\layout {
  \context {
    \Score
    currentBarNumber = #10
  }
}

\new Staff
\relative c' { \bar "" \repeat unfold 10 { c'1 \break } }

My naive expectation was that _every_ BarNumber would get value 10.
Though, it works.

Is this a recommended use?
If yes should it be mentioned somewhere in the docs?


Cheers,
  Harm



reply via email to

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