]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/ambiti-multiple-voices.ly
Update LSR with new tags
[lilypond.git] / input / lsr / ambiti-multiple-voices.ly
1 %% Do not edit this file; it is auto-generated from LSR!
2 %% Tags: pitches
3 \version "2.11.35"
4
5 \header { texidoc = "
6 If you have multiple voices in a single staff and you want a single
7 ambitus per staff rather than per voice, add the
8 @code{Ambitus_engraver} to the @code{Staff} context rather than to the
9 @code{Voice} context.
10
11 This example uses one advanced feature,
12
13
14 @code{ \\override Ambitus #'X-offset = #-1.0 }
15 % begin verbatim
16
17
18 This code moves the ambitus to the left.  The same effect could have
19 been achieved with @code{extra-offset}, but then the formatting system
20 would not reserve space for the moved object.
21
22
23
24 " }
25
26 \new Staff \with {
27   \consists "Ambitus_engraver"
28 }
29 <<
30   \new Voice \with {
31     \remove "Ambitus_engraver"
32   } \relative c'' {
33     \override Ambitus #'X-offset = #-1.0
34     \voiceOne
35     c4 a d e f2
36   }
37   \new Voice \with {
38     \remove "Ambitus_engraver"
39   } \relative c' {
40     \voiceTwo
41     es4 f g as b2
42   }
43 >>
44