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