]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/spacing/alignment-order.ly
Merge branch 'master' of ssh+git://hanwen@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / input / lsr / spacing / alignment-order.ly
1 %%  Do not edit this file; it is auto-generated from LSR!
2 \version "2.11.23"
3
4 \header { texidoc = "
5 This snippet shows of to use the @code{alignBelowContext} and
6 @code{alignAboveContext} properties, which may be needed for text
7 elements (e.g. lyrics) positioning, but also for musical contents such
8 as ossias.
9 " }
10
11 \paper {
12   ragged-right = ##t
13 }
14
15 \relative <<
16   \new Staff = "1" { c4 c s2 }
17   \new Staff = "2" { c4  c s2 }
18   \new Staff = "3" { c4  c s2 }
19   { \skip 2
20     <<
21       \lyrics {
22         \set alignBelowContext = #"1"
23         below8 first staff
24       }
25       \new Staff {
26         \set Staff.alignAboveContext = #"3"
27         \times 4/6 {
28           \override TextScript #'padding = #3
29           c8^"this" d_"staff" e^"above" d_"last" e^"staff" f
30         }
31       }
32     >> }
33 >>