]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/alternative-bar-numbering.ly
Add '-dcrop' option to ps and svg backends
[lilypond.git] / Documentation / snippets / alternative-bar-numbering.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 = "editorial-annotations, staff-notation, tweaks-and-overrides"
11
12   texidoc = "
13 Two alternative methods for bar numbering can be set, especially for
14 when using repeated music.
15
16 "
17   doctitle = "Alternative bar numbering"
18 } % begin verbatim
19
20 \relative c'{
21   \set Score.alternativeNumberingStyle = #'numbers
22   \repeat volta 3 { c4 d e f | }
23     \alternative {
24       { c4 d e f | c2 d \break }
25       { f4 g a b | f4 g a b | f2 a | \break }
26       { c4 d e f | c2 d }
27     }
28   c1 \break
29   \set Score.alternativeNumberingStyle = #'numbers-with-letters
30   \repeat volta 3 { c,4 d e f | }
31     \alternative {
32       { c4 d e f | c2 d \break }
33       { f4 g a b | f4 g a b | f2 a | \break }
34       { c4 d e f | c2 d }
35     }
36   c1
37 }