]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/vertically-aligning-ossias-and-lyrics.ly
Merge branch 'master' of git://git.sv.gnu.org/lilypond
[lilypond.git] / input / lsr / vertically-aligning-ossias-and-lyrics.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: vocal-music, tweaks-and-overrides, spacing
4 \version "2.11.35"
5
6 \header { texidoc = "
7 This snippet shows of to use the @code{alignBelowContext} and
8 @code{alignAboveContext} properties, which may be needed for text
9 elements (e.g. lyrics) positioning, but also for musical contents such
10 as ossias.
11 " }
12 % begin verbatim
13 \paper {
14   ragged-right = ##t
15 }
16
17 \relative <<
18   \new Staff = "1" { c4 c s2 }
19   \new Staff = "2" { c4  c s2 }
20   \new Staff = "3" { c4  c s2 }
21   { \skip 2
22     <<
23       \lyrics {
24         \set alignBelowContext = #"1"
25         below8 first staff
26       }
27       \new Staff {
28         \set Staff.alignAboveContext = #"3"
29         \times 4/6 {
30           \override TextScript #'padding = #3
31           c8^"this" d_"staff" e^"above" d_"last" e^"staff" f
32         }
33       }
34     >> }
35 >>