]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/vertically-aligning-ossias-and-lyrics.ly
Merge commit 'origin/dev/jneeman' into systems-per-page
[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.13.0"
4
5 \header {
6   lsrtags = "vocal-music, tweaks-and-overrides, spacing"
7
8   texidoces = "
9 Este fragmento de código muestra el uso de las propiedades de
10 contexto @code{alignBelowContext} y @code{alignAboveContext} para
11 controlar la posición de la letra y los compases de ossia.
12
13 "
14   doctitlees = "Alineación vertical de la letra y los compases de ossia"
15
16 %% Translation of GIT committish :<0364058d18eb91836302a567c18289209d6e9706>
17   texidocde = "
18 Dieser Schnipsel zeigt, wie man die Kontexteigenschaften
19 @code{alignBelowContext} und @code{alignAboveContext} benutzen kann, um
20 die Positionierung von Gesangstext und Ossia-Abschnitten zu kontrollieren.
21
22 "
23   doctitlede = "Gesangstext und Ossia vertikal ausrichten"
24
25   texidoc = "
26 This snippet demonstrates the use of the context properties
27 @code{alignBelowContext} and @code{alignAboveContext} to control the
28 positioning of lyrics and ossias.
29
30 "
31   doctitle = "Vertically aligning ossias and lyrics"
32 } % begin verbatim
33
34 \paper {
35   ragged-right = ##t
36 }
37
38 \relative c' <<
39   \new Staff = "1" { c4 c s2 }
40   \new Staff = "2" { c4 c s2 }
41   \new Staff = "3" { c4 c s2 }
42   { \skip 2
43     <<
44       \lyrics {
45         \set alignBelowContext = #"1"
46         lyrics4 below
47       }
48       \new Staff \with {
49         alignAboveContext = #"3"
50         fontSize = #-2
51         \override StaffSymbol #'staff-space = #(magstep -2)
52         \remove "Time_signature_engraver"
53       } {
54         \times 4/6 {
55           \override TextScript #'padding = #3
56           c8[^"ossia above" d e d e f]
57         }
58       }
59     >>
60   }
61 >>