]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/alternative-bar-numbering.ly
Doc: NR 4.1.4: document improved spacing on the last page (issue 1377)
[lilypond.git] / Documentation / snippets / alternative-bar-numbering.ly
1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
5 %
6 % This file is in the public domain.
7 %% Note: this file works from version 2.15.24
8 \version "2.15.24"
9
10 \header {
11 %% Translation of GIT committish:
12   texidocfr = "
13 Deux méthodes alternatives vous permettent de gérer la numérotation ds
14 mesures en cas de reprises.
15
16 "
17   doctitlefr = "Numérotation des mesures et alternatives"
18
19   lsrtags = "editorial-annotations, staff-notation, tweaks-and-overrides"
20   texidoc = "Two alternative methods for bar numbering can be set,
21   especially for when using repeated music."
22   doctitle = "Alternative bar numbering"
23 } % begin verbatim
24
25
26 \relative c'{
27   \set Score.alternativeNumberingStyle = #'numbers
28   \repeat volta 3 { c4 d e f | }
29     \alternative {
30       { c4 d e f | c2 d \break }
31       { f4 g a b | f4 g a b | f2 a | \break }
32       { c4 d e f | c2 d }
33     }
34   c1 \break
35   \set Score.alternativeNumberingStyle = #'numbers-with-letters
36   \repeat volta 3 { c,4 d e f | }
37     \alternative {
38       { c4 d e f | c2 d \break }
39       { f4 g a b | f4 g a b | f2 a | \break }
40       { c4 d e f | c2 d }
41     }
42   c1
43 }