]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/ambiti-multiple-voices.ly
Merge branch 'master' of ssh+git://git.sv.gnu.org/srv/git/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. Therefore, in this example, one need to use
11
12 @code{\\override Staff.Ambitus #'X-offset = #-1.0}
13
14 to move the ambitus to the left.  The same effect could also have been
15 achieved with @code{extra-offset}, but then the formatting system would
16 not reserve space for the moved object. 
17 " }
18 % begin verbatim
19 \new Staff \with {
20   \consists "Ambitus_engraver"
21   }
22 <<
23   \new Voice \relative c'' {
24       \override Staff.Ambitus #'X-offset = #-1.0
25       \voiceOne
26       c4 a d e f1
27     }
28   \new Voice \relative c' {
29       \voiceTwo
30       es4 f g as b1
31     }
32 >>
33