]> git.donarmstrong.com Git - lilypond.git/blob - input/test/bar-number-regular-interval.ly
* scripts/lilypond-book.py (do_file): do not overwrite input file.
[lilypond.git] / input / test / bar-number-regular-interval.ly
1 \header {
2     texidoc = "
3
4 Bar numbers can also be printed at regular intervals.
5
6 " }
7
8 \version "2.1.26"
9
10 \score {
11     \context Staff \notes \transpose  c c' {
12         \override Score.BarNumber  #'break-visibility = #end-of-line-invisible
13         \set Score.barNumberVisibility = #(every-nth-bar-number-visible 4)
14         \override Score.BarNumber  #'print-function =
15         #(make-stencil-boxer 0.1 0.25 0.25 Text_item::print)
16         \override Score.BarNumber  #'font-size = #2
17         
18         \repeat unfold 9 { c1 } \bar "|."
19     }
20 }
21
22