]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/vertically-aligning-ossias-and-lyrics.ly
Imported Upstream version 2.14.2
[lilypond.git] / Documentation / snippets / vertically-aligning-ossias-and-lyrics.ly
diff --git a/Documentation/snippets/vertically-aligning-ossias-and-lyrics.ly b/Documentation/snippets/vertically-aligning-ossias-and-lyrics.ly
new file mode 100644 (file)
index 0000000..4e2b678
--- /dev/null
@@ -0,0 +1,78 @@
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.14.0"
+
+\header {
+  lsrtags = "vocal-music, tweaks-and-overrides, spacing"
+
+%% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c
+  texidoces = "
+Este fragmento de código muestra el uso de las propiedades de
+contexto @code{alignBelowContext} y @code{alignAboveContext} para
+controlar la posición de la letra y los compases de ossia.
+
+"
+  doctitlees = "Alineación vertical de la letra y los compases de ossia"
+
+
+%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
+  texidocde = "
+Dieser Schnipsel zeigt, wie man die Kontexteigenschaften
+@code{alignBelowContext} und @code{alignAboveContext} benutzen kann, um
+die Positionierung von Gesangstext und Ossia-Abschnitten zu kontrollieren.
+
+"
+  doctitlede = "Gesangstext und Ossia vertikal ausrichten"
+
+%% Translation of GIT committish: 4ab2514496ac3d88a9f3121a76f890c97cedcf4e
+  texidocfr = "
+Cet exemple illustre la manière de positionner une portée d'ossia et
+des paroles à l'aide des propriétés de contexte @code{alignBelowContext}
+et @code{alignAboveContext}.
+
+"
+  doctitlefr = "Positionnement d'une ossia et des paroles"
+
+
+  texidoc = "
+This snippet demonstrates the use of the context properties
+@code{alignBelowContext} and @code{alignAboveContext} to control the
+positioning of lyrics and ossias.
+
+"
+  doctitle = "Vertically aligning ossias and lyrics"
+} % begin verbatim
+
+\paper {
+  ragged-right = ##t
+}
+
+\relative c' <<
+  \new Staff = "1" { c4 c s2 }
+  \new Staff = "2" { c4 c s2 }
+  \new Staff = "3" { c4 c s2 }
+  { \skip 2
+    <<
+      \lyrics {
+        \set alignBelowContext = #"1"
+        lyrics4 below
+      }
+      \new Staff \with {
+        alignAboveContext = #"3"
+        fontSize = #-2
+        \override StaffSymbol #'staff-space = #(magstep -2)
+        \remove "Time_signature_engraver"
+      } {
+        \times 4/6 {
+          \override TextScript #'padding = #3
+          c8[^"ossia above" d e d e f]
+        }
+      }
+    >>
+  }
+>>
+