]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/non-default-tuplet-numbers.ly
Imported Upstream version 2.14.2
[lilypond.git] / Documentation / snippets / non-default-tuplet-numbers.ly
diff --git a/Documentation/snippets/non-default-tuplet-numbers.ly b/Documentation/snippets/non-default-tuplet-numbers.ly
new file mode 100644 (file)
index 0000000..a838305
--- /dev/null
@@ -0,0 +1,80 @@
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.14.0
+\version "2.14.0"
+
+\header {
+%% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c
+  texidoces = "
+LilyPond también proporciona funciones de formato para imprimir
+números de grupo especial diferentes a la propia fracción, así
+como para añadir una figura al número o a la fracción de la
+agrupación.
+
+"
+
+  doctitlees = "Números de agrupación especial distintos a los predeterminados"
+
+
+%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
+texidocde = "
+LilyPond stellt auch Formatierungsfunktionen zur Verfügung, mit denen
+N-tolennummern gesetzt werden können, die sich von dem eigentlichen Bruch
+unterscheiden.  Auch ein Notenwert kann zu Nenner oder Zähler des Bruchs
+hinzugefügt werden.
+"
+  doctitlede = "Nicht-standard-N-tolennummern"
+
+
+%% Translation of GIT committish: 015b8e65e5e9a74cea1618b597402b5b74f89b89
+  texidocfr = "
+LilyPond sait aussi gérer des nolets dont le chiffrage imprimé ne
+correspond pas exactement à la fraction de mesure à laquelle ils se
+réfèrent, tout comme ceux auxquels une valeur de note vient en complément
+au chiffre.
+"
+  doctitlefr = "Nolets au chiffrage inhabituel"
+
+  lsrtags = "rhythms"
+
+  texidoc = "
+LilyPond also provides formatting functions to print tuplet numbers different
+than the actual fraction, as well as to append a note value to the tuplet
+number or tuplet fraction.
+"
+  doctitle = "Non-default tuplet numbers"
+} % begin verbatim
+
+
+\relative c'' {
+  \once \override TupletNumber #'text =
+    #(tuplet-number::non-default-tuplet-denominator-text 7)
+  \times 2/3  { c4. c4. c4. c4. }
+  \once \override TupletNumber #'text =
+    #(tuplet-number::non-default-tuplet-fraction-text 12 7)
+  \times 2/3  { c4. c4. c4. c4. }
+  \once \override TupletNumber #'text =
+    #(tuplet-number::append-note-wrapper
+      (tuplet-number::non-default-tuplet-fraction-text 12 7) "8")
+  \times 2/3  { c4. c4. c4. c4. }
+
+  \once \override TupletNumber #'text =
+    #(tuplet-number::append-note-wrapper
+      tuplet-number::calc-denominator-text "4")
+  \times 2/3  { c8 c8 c8 c8 c8 c8 }
+  \once \override TupletNumber #'text =
+    #(tuplet-number::append-note-wrapper
+      tuplet-number::calc-fraction-text "4")
+  \times 2/3  { c8 c8 c8 c8 c8 c8 }
+
+  \once \override TupletNumber #'text =
+    #(tuplet-number::fraction-with-notes "4." "8")
+  \times 2/3  { c4. c4. c4. c4. }
+  \once \override TupletNumber #'text =
+    #(tuplet-number::non-default-fraction-with-notes 12 "8" 4 "4")
+  \times 2/3  { c4. c4. c4. c4. }
+}