]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/vertically-aligning-ossias-and-lyrics.ly
LSR: update
[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 \version "2.11.46"
4
5 \header {
6   lsrtags = "vocal-music, tweaks-and-overrides, spacing"
7
8   texidoc = "
9 This snippet demonstrates the use of the @code{alignBelowContext} and
10 @code{alignAboveContext} properties to control the positioning of
11 lyrics and ossias.
12
13 "
14   doctitle = "Vertically aligning ossias and lyrics"
15 } % begin verbatim
16 \paper {
17   ragged-right = ##t
18 }
19
20 \relative <<
21   \new Staff = "1" { c4 c s2 }
22   \new Staff = "2" { c4 c s2 }
23   \new Staff = "3" { c4 c s2 }
24   { \skip 2
25     <<
26       \lyrics {
27         \set alignBelowContext = #"1"
28         below8 first staff
29       }
30       \new Staff {
31         \set Staff.alignAboveContext = #"3"
32         \times 4/6 {
33           \override TextScript #'padding = #3
34           c8^"this" d_"staff" e^"above" d_"last" e^"staff" f
35         }
36       }
37     >> }
38 >>