]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/removing-bar-numbers-from-a-score.ly
Imported Upstream version 2.19.45
[lilypond.git] / Documentation / snippets / removing-bar-numbers-from-a-score.ly
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
5 %%
6 %% This file is in the public domain.
7 \version "2.18.0"
8
9 \header {
10   lsrtags = "contexts-and-engravers, rhythms"
11
12   texidoc = "
13 Bar numbers can be removed entirely by removing the
14 @code{Bar_number_engraver} from the @code{Score} context.
15
16 "
17   doctitle = "Removing bar numbers from a score"
18 } % begin verbatim
19
20 \layout {
21   \context {
22     \Score
23     \omit BarNumber
24     % or:
25     %\remove "Bar_number_engraver"
26   }
27 }
28
29 \relative c'' {
30   c4 c c c \break
31   c4 c c c
32 }