X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fnon-default-tuplet-numbers.ly;h=059e9241d0b9b2a61ae08d1fe494d04a62545276;hb=730d4eb3e0328e8ba0b376f8191a5bb6ae7f904c;hp=4365b581ec8c1fcf493067cda840af348e2a9e1d;hpb=ee2fdacf2ff3acd7e6fb7c4005dfe698b1cc4eed;p=lilypond.git diff --git a/Documentation/snippets/non-default-tuplet-numbers.ly b/Documentation/snippets/non-default-tuplet-numbers.ly index 4365b581ec..059e9241d0 100644 --- a/Documentation/snippets/non-default-tuplet-numbers.ly +++ b/Documentation/snippets/non-default-tuplet-numbers.ly @@ -1,77 +1,46 @@ -% Do not edit this file; it is automatically -% generated from Documentation/snippets/new -% This file is in the public domain. -%% Note: this file works from version 2.13.1 -\version "2.13.18" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { -%% Translation of GIT committish: 2b0dc29608d6c3f5a03ead4877ae514c647adb74 - 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. +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 = + \once \override TupletNumber.text = #(tuplet-number::non-default-tuplet-denominator-text 7) - \times 2/3 { c4. c4. c4. c4. } - \once \override TupletNumber #'text = + \tuplet 3/2 { 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 3/2 { 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 3/2 { 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 3/2 { 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 3/2 { 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 3/2 { 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. } + \tuplet 3/2 { c4. c4. c4. c4. } }