]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/vertically-aligning-ossias-and-lyrics.ly
Merge commit 'origin/master'
[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.4"
5
6 \header {
7   lsrtags = "vocal-music, tweaks-and-overrides, spacing"
8
9 %% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
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 %% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
19   texidocde = "
20 Dieser Schnipsel zeigt, wie man die Kontexteigenschaften
21 @code{alignBelowContext} und @code{alignAboveContext} benutzen kann, um
22 die Positionierung von Gesangstext und Ossia-Abschnitten zu kontrollieren.
23
24 "
25   doctitlede = "Gesangstext und Ossia vertikal ausrichten"
26
27   texidoc = "
28 This snippet demonstrates the use of the context properties
29 @code{alignBelowContext} and @code{alignAboveContext} to control the
30 positioning of lyrics and ossias.
31
32 "
33   doctitle = "Vertically aligning ossias and lyrics"
34 } % begin verbatim
35
36 \paper {
37   ragged-right = ##t
38 }
39
40 \relative c' <<
41   \new Staff = "1" { c4 c s2 }
42   \new Staff = "2" { c4 c s2 }
43   \new Staff = "3" { c4 c s2 }
44   { \skip 2
45     <<
46       \lyrics {
47         \set alignBelowContext = #"1"
48         lyrics4 below
49       }
50       \new Staff \with {
51         alignAboveContext = #"3"
52         fontSize = #-2
53         \override StaffSymbol #'staff-space = #(magstep -2)
54         \remove "Time_signature_engraver"
55       } {
56         \times 4/6 {
57           \override TextScript #'padding = #3
58           c8[^"ossia above" d e d e f]
59         }
60       }
61     >>
62   }
63 >>
64