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