]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/vertically-aligning-ossias-and-lyrics.ly
Merge branch 'metronome'
[lilypond.git] / Documentation / snippets / vertically-aligning-ossias-and-lyrics.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.31"
5
6 \header {
7   lsrtags = "vocal-music, tweaks-and-overrides, spacing"
8
9 %% Translation of GIT committish: 0b55335aeca1de539bf1125b717e0c21bb6fa31b
10   texidoces = "
11 Este fragmento de código muestra el uso de las propiedades de
12 contexto @code{alignBelowContext} y @code{alignAboveContext} para
13 controlar la posición de la letra y los compases de ossia.
14
15 "
16   doctitlees = "Alineación vertical de la letra y los compases de ossia"
17
18
19 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
20   texidocde = "
21 Dieser Schnipsel zeigt, wie man die Kontexteigenschaften
22 @code{alignBelowContext} und @code{alignAboveContext} benutzen kann, um
23 die Positionierung von Gesangstext und Ossia-Abschnitten zu kontrollieren.
24
25 "
26   doctitlede = "Gesangstext und Ossia vertikal ausrichten"
27
28 %% Translation of GIT committish: 4ab2514496ac3d88a9f3121a76f890c97cedcf4e
29   texidocfr = "
30 Cet exemple illustre la manière de positionner une portée d'ossia et
31 des paroles à l'aide des propriétés de contexte @code{alignBelowContext}
32 et @code{alignAboveContext}.
33
34 "
35   doctitlefr = "Positionnement d'une ossia et des paroles"
36
37
38   texidoc = "
39 This snippet demonstrates the use of the context properties
40 @code{alignBelowContext} and @code{alignAboveContext} to control the
41 positioning of lyrics and ossias.
42
43 "
44   doctitle = "Vertically aligning ossias and lyrics"
45 } % begin verbatim
46
47 \paper {
48   ragged-right = ##t
49 }
50
51 \relative c' <<
52   \new Staff = "1" { c4 c s2 }
53   \new Staff = "2" { c4 c s2 }
54   \new Staff = "3" { c4 c s2 }
55   { \skip 2
56     <<
57       \lyrics {
58         \set alignBelowContext = #"1"
59         lyrics4 below
60       }
61       \new Staff \with {
62         alignAboveContext = #"3"
63         fontSize = #-2
64         \override StaffSymbol #'staff-space = #(magstep -2)
65         \remove "Time_signature_engraver"
66       } {
67         \times 4/6 {
68           \override TextScript #'padding = #3
69           c8[^"ossia above" d e d e f]
70         }
71       }
72     >>
73   }
74 >>
75