%% DO NOT EDIT this file manually; it is automatically %% generated from LSR http://lsr.di.unimi.it %% Make any changes in LSR itself, or in Documentation/snippets/new/ , %% and then run scripts/auxiliar/makelsr.py %% %% This file is in the public domain. \version "2.18.0" \header { lsrtags = "rhythms" texidoc = " Bar numbers can be printed at regular intervals by setting the property @code{barNumberVisibility}. Here the bar numbers are printed every two measures except at the end of the line. " doctitle = "Printing bar numbers at regular intervals" } % begin verbatim \relative c' { \override Score.BarNumber.break-visibility = #end-of-line-invisible \set Score.currentBarNumber = #11 % Permit first bar number to be printed \bar "" % Print a bar number every second measure \set Score.barNumberVisibility = #(every-nth-bar-number-visible 2) c1 | c | c | c | c \break c1 | c | c | c | c }