]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/instrument-name-volta.ly
Doc-es: various updates.
[lilypond.git] / input / regression / instrument-name-volta.ly
1 \version "2.19.21"
2
3 \header {
4   texidoc = "Moving the @code{Volta_engraver} to the @code{Staff}
5 context does not affect @code{InstrumentName} alignment."
6 }
7
8 testMusik =  \relative {
9   \repeat volta 2 {
10     c''1 \break
11   } \alternative {
12     { c1 \break }
13     { c1 \break }
14   }
15 }
16
17 \score {
18   \new Staff \relative {
19     \set Staff.shortInstrumentName = #"Instr."
20     \repeat volta 2 {
21       c'1 \break
22     }
23     \alternative {
24       { c1 \break }
25       { c1 \break }
26     }
27   }
28 }
29 \layout {
30   ragged-right = ##t
31   short-indent = 5\mm
32   \context {
33     \Score
34     \remove "Volta_engraver"
35   }
36   \context {
37     \Staff
38     \consists "Volta_engraver"
39   }
40 }