]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/vertically-aligning-ossias-and-lyrics.ly
Merge master into nested-bookparts
[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.62"
4
5 \header {
6   lsrtags = "vocal-music, tweaks-and-overrides, spacing"
7
8   texidoc = "
9 This snippet demonstrates the use of the context properties
10 @code{alignBelowContext} and @code{alignAboveContext} to control the
11 positioning of 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 c' <<
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         lyrics4 below
29       }
30       \new Staff \with {
31         alignAboveContext = #"3"
32         fontSize = #-2
33         \override StaffSymbol #'staff-space = #(magstep -2)
34         \remove "Time_signature_engraver"
35       } {
36         \times 4/6 {
37           \override TextScript #'padding = #3
38           c8^"ossia above" d e d e f
39         }
40       }
41     >>
42   }
43 >>