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