1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
6 %% This file is in the public domain.
13 Bar numbers by default are right-aligned to their parent object. This
14 is usually the left edge of a line or, if numbers are printed within a
15 line, the left hand side of a bar line. The numbers may also be
16 positioned directly over the bar line or left-aligned to the bar line.
19 doctitle = "Aligning bar numbers"
23 \set Score.currentBarNumber = #111
24 \override Score.BarNumber.break-visibility = #all-visible
25 % Increase the size of the bar number by 2
26 \override Score.BarNumber.font-size = #2
27 % Print a bar number every second measure
28 \set Score.barNumberVisibility = #(every-nth-bar-number-visible 2)
30 % Center-align bar numbers
31 \override Score.BarNumber.self-alignment-X = #CENTER
33 % Left-align bar numbers
34 \override Score.BarNumber.self-alignment-X = #LEFT