X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fentering-several-tuplets-using-only-one--times-command.ly;h=5e67e60d479c112c612c57e568dfe9d111641aca;hb=23108a9515e7f76b44fac0b323afb169d708bfa1;hp=0b8b646017abc49ac7f9884b7f80ae75f42301fc;hpb=3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4;p=lilypond.git diff --git a/Documentation/snippets/entering-several-tuplets-using-only-one--times-command.ly b/Documentation/snippets/entering-several-tuplets-using-only-one--times-command.ly index 0b8b646017..5e67e60d47 100644 --- a/Documentation/snippets/entering-several-tuplets-using-only-one--times-command.ly +++ b/Documentation/snippets/entering-several-tuplets-using-only-one--times-command.ly @@ -1,85 +1,36 @@ -%% 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" +% 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.17.11 +\version "2.17.11" \header { - lsrtags = "rhythms" - -%% Translation of GIT committish: 6977ddc9a3b63ea810eaecb864269c7d847ccf98 - doctitlees = "Escribir varios grupos especiales usando una sola instrucción \\times" - texidoces = " -La propiedad @code{tupletSpannerDuration} establece cuánto debe durar -cada grupo de valoración especial contenido dentro del corchete que -aparece después de @code{\\times}. Así, se pueden escribir muchos -tresillos seguidos dentro de una sola expresión @code{\\times}, -ahorrando trabajo de teclado. - -En el ejemplo se muestran dos tresillos, aunque se ha escrito -@code{\\times} una sola vez. - - -Para ver más inforamción sobre @code{make-moment}, véase la sección -correspondiente del manual de Referencia de la Notación. - -" - - -%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40 - texidocde = " -Die Eigenschaft @code{tupletSpannerDuration} bestimmt, wie lange jede -der N-tolen innerhalb der Klammern nach dem @code{\\times}-Befehl -dauert. Auf diese Art können etwa viele Triolen nacheinander mit nur -einem @code{\\times}-Befehl geschrieben werden. - -Im Beispiel sind zwei Triolen zu sehen, obwohl @code{\\times} nur -einmal geschrieben wurde. - -Mehr Information über @code{make-moment} gibt es in \"Verwaltung der Zeiteinheiten\". - -" - doctitlede = "Mehrere Triolen notieren aber nur einmal \\times benutzen" - - - -%% Translation of GIT committish: 4ab2514496ac3d88a9f3121a76f890c97cedcf4e - texidocfr = " -La propriété @code{tupletSpannerDuration} spécifie la longueur voulue de -chaque crochet. Avec elle, vous pouvez faire plusieurs nolets en ne -tapant @code{\\times} qu'une fois, ce qui évite une longue saisie. - -Dans l'exemple suivant, deux triolets sont imprimés avec une seule fonction -@code{\\times}. - -Pour plus d'information sur @code{make-moment}, voir la section -appropriée du manuel de notation. - -" - doctitlefr = "Plusieurs triolets avec une seule commande \\times" + lsrtags = "rhythms, syntax-and-expressions" texidoc = " The property @code{tupletSpannerDuration} sets how long each of the -tuplets contained within the brackets after @code{\\times} should last. +tuplets contained within the brackets after @code{\\tuplet} should last. Many consecutive tuplets can then be placed within a single -@code{\\times} expression, thus saving typing. - -In the example, two triplets are shown, while @code{\\times} was -entered only once. - - -Read the relevant sections of the Notation Reference for more -information about @code{ly:make-moment}. +@code{\\tuplet} expression, thus saving typing. +There are several ways to set @code{tupletSpannerDuration}. The command +@code{\\tupletSpan} sets it to a given duration, and clears it when +instead of a duration @code{\\default} is specified. Another way is +to use an optional argument with @code{\\tuplet}. " - doctitle = "Entering several tuplets using only one \\times command" + doctitle = "Entering several tuplets using only one \\tuplet command" } % begin verbatim + + \relative c' { \time 2/4 - \set tupletSpannerDuration = #(ly:make-moment 1 4) - \times 2/3 { c8 c c c c c } + \tupletSpan 4 + \tuplet 3/2 { c8^"\\tupletSpan 4" c c c c c } + \tupletSpan \default + \tuplet 3/2 { c8^"\\tupletSpan \\default" c c c c c } + \tuplet 3/2 4 { c8^"\\tuplet 3/2 4 {...}" c c c c c } } -