X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fvertically-aligning-ossias-and-lyrics.ly;h=384cb442a1e9db29475122a97b40276759420a9d;hb=4311a6488800130567ebc7847105156122ba0c76;hp=af75028cfda0c5af405c0538c1ea5139b63b097e;hpb=2455e5b0f8f0846a42952e32bbedecf1da1e7855;p=lilypond.git diff --git a/input/lsr/vertically-aligning-ossias-and-lyrics.ly b/input/lsr/vertically-aligning-ossias-and-lyrics.ly index af75028cfd..384cb442a1 100644 --- a/input/lsr/vertically-aligning-ossias-and-lyrics.ly +++ b/input/lsr/vertically-aligning-ossias-and-lyrics.ly @@ -1,15 +1,14 @@ %% 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.38" +\version "2.11.48" \header { lsrtags = "vocal-music, tweaks-and-overrides, spacing" 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. +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" @@ -18,22 +17,27 @@ as ossias. 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 + } } - >> } + >> + } >>