]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/vertically-aligning-ossias-and-lyrics.ly
Merge master into nested-bookparts
[lilypond.git] / input / lsr / vertically-aligning-ossias-and-lyrics.ly
index df6b9d187577cd1e36c264ceedc6ed387c69ca7e..ab6f71684e54150c92dc97b3e8faf538f239921f 100644 (file)
@@ -1,34 +1,43 @@
-%% Do not edit this file; it is auto-generated from LSR!
-%% Tags: vocal-music, tweaks-and-overrides, spacing
-\version "2.11.35"
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.62"
 
-\header { texidoc = "
-This snippet shows of to use the @code{alignBelowContext} and
-@code{alignAboveContext} properties, which may be needed for text
-elements (e.g. lyrics) positioning, but also for musical contents such
-as ossias.
-" }
-% begin verbatim
+\header {
+  lsrtags = "vocal-music, tweaks-and-overrides, spacing"
+
+  texidoc = "
+This snippet demonstrates the use of the context properties
+@code{alignBelowContext} and @code{alignAboveContext} to control the
+positioning of lyrics and ossias.
+
+"
+  doctitle = "Vertically aligning ossias and lyrics"
+} % begin verbatim
 \paper {
   ragged-right = ##t
 }
 
-\relative <<
+\relative c' <<
   \new Staff = "1" { c4 c s2 }
-  \new Staff = "2" { c4  c s2 }
-  \new Staff = "3" { c4  c s2 }
+  \new Staff = "2" { c4 c s2 }
+  \new Staff = "3" { c4 c s2 }
   { \skip 2
     <<
       \lyrics {
-       \set alignBelowContext = #"1"
-       below8 first staff
+        \set alignBelowContext = #"1"
+        lyrics4 below
       }
-      \new Staff {
-       \set Staff.alignAboveContext = #"3"
-       \times 4/6 {
-         \override TextScript #'padding = #3
-         c8^"this" d_"staff" e^"above" d_"last" e^"staff" f
-       }
+      \new Staff \with {
+        alignAboveContext = #"3"
+        fontSize = #-2
+        \override StaffSymbol #'staff-space = #(magstep -2)
+        \remove "Time_signature_engraver"
+      } {
+        \times 4/6 {
+          \override TextScript #'padding = #3
+          c8^"ossia above" d e d e f
+        }
       }
-    >> }
+    >>
+  }
 >>