X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fvertically-aligning-ossias-and-lyrics.ly;h=1678a548957995d15431818e17b747d460ece8af;hb=1423508c355989fa26a8cfe5985b0d6e1ab0a538;hp=c0be939398de4559733298cc949d87ae72160385;hpb=1b35a0d2453eb0f01462c5156566212c8b9636e3;p=lilypond.git diff --git a/input/lsr/vertically-aligning-ossias-and-lyrics.ly b/input/lsr/vertically-aligning-ossias-and-lyrics.ly index c0be939398..1678a54895 100644 --- a/input/lsr/vertically-aligning-ossias-and-lyrics.ly +++ b/input/lsr/vertically-aligning-ossias-and-lyrics.ly @@ -1,39 +1,63 @@ %% 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.46" +\version "2.13.1" \header { lsrtags = "vocal-music, tweaks-and-overrides, spacing" +%% Translation of GIT committish: dcd61338c753205b6f8d549389fcb0d999c3a675 + texidoces = " +Este fragmento de código muestra el uso de las propiedades de +contexto @code{alignBelowContext} y @code{alignAboveContext} para +controlar la posición de la letra y los compases de ossia. + +" + doctitlees = "Alineación vertical de la letra y los compases de ossia" + +%% Translation of GIT committish: 0364058d18eb91836302a567c18289209d6e9706 + texidocde = " +Dieser Schnipsel zeigt, wie man die Kontexteigenschaften +@code{alignBelowContext} und @code{alignAboveContext} benutzen kann, um +die Positionierung von Gesangstext und Ossia-Abschnitten zu kontrollieren. + +" + doctitlede = "Gesangstext und Ossia vertikal ausrichten" + 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" } % 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] + } } - >> } + >> + } >> +