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