X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Ftime-signature-printing-only-the-numerator-as-a-number-instead-of-the-fraction.ly;h=ab1392209eb6030f8841bb816e47f9ccb2a580b0;hb=9d6de982fe5be4786a9bc8ff71d577042dbba61f;hp=9e4fc45c0d23e9445ac55bc88728f3a1586732aa;hpb=559a79b8ff4144181431e327c175047d0c808164;p=lilypond.git diff --git a/Documentation/snippets/time-signature-printing-only-the-numerator-as-a-number-instead-of-the-fraction.ly b/Documentation/snippets/time-signature-printing-only-the-numerator-as-a-number-instead-of-the-fraction.ly index 9e4fc45c0d..ab1392209e 100644 --- a/Documentation/snippets/time-signature-printing-only-the-numerator-as-a-number-instead-of-the-fraction.ly +++ b/Documentation/snippets/time-signature-printing-only-the-numerator-as-a-number-instead-of-the-fraction.ly @@ -4,48 +4,17 @@ %% and then run scripts/auxiliar/makelsr.py %% %% This file is in the public domain. -\version "2.14.2" +\version "2.17.25" \header { - lsrtags = "tweaks-and-overrides, rhythms" - -%% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa - texidoces = " - -A veces, la indicación de compás no debe imprimir la fracción completa -(p.ej. 7/4), sino sólo el numerador (7 en este caso). Esto se puede -hacer fácilmente utilizando @code{\\override Staff.TimeSignature -#'style = #'single-digit} para cambiar el estilo -permanentemente. Usando @code{\\revert Staff.TimeSignature #'style}, -se puede revertir el cambio. Para aplicar el estilo de un dígito -único a una sola indicación de compás, utilice la instrucción -@code{\\override} y anteponga la instrucción @code{\\once}. - -" - doctitlees = "Indicación de compás imprimiendo sólo el numerador (en lugar de la fracción)" - -%% Translation of GIT committish: 3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4 - texidocfr = " -La métrique est parfois indiquée non pas par une fraction (p.ex. 7/4) -mais simplement par son numérateur (7 dans ce cas). L'instruction -@code{\\override Staff.TimeSignature #'style = #'single-digit} permet de -déroger au style par défaut de manière permanente -- un @code{\\revert -Staff.TimeSignature #'style} d'annuler ces modifications. Lorsque cette -métrique sous la forme d'une seul chiffre ne se présente qu'une seule -fois, il suffit de faire précéder l'instruction @code{\\override} d'un -simple @code{\\once}. - -" - doctitlefr = "Affichage seulement du numérateur d'une métrique (au -lieu d'une fraction)" - + lsrtags = "rhythms, tweaks-and-overrides" texidoc = " Sometimes, a time signature should not print the whole fraction (e.g. 7/4), but only the numerator (7 in this case). This can be easily done -by using @code{\\override Staff.TimeSignature #'style = #'single-digit} +by using @code{\\override Staff.TimeSignature.style = #'single-digit} to change the style permanently. By using @code{\\revert -Staff.TimeSignature #'style}, this setting can be reversed. To apply +Staff.TimeSignature.style}, this setting can be reversed. To apply the single-digit style to only one time signature, use the @code{\\override} command and prefix it with a @code{\\once}. @@ -58,20 +27,19 @@ the single-digit style to only one time signature, use the \time 3/4 c4 c c % Change the style permanently - \override Staff.TimeSignature #'style = #'single-digit + \override Staff.TimeSignature.style = #'single-digit \time 2/4 c4 c \time 3/4 c4 c c % Revert to default style: - \revert Staff.TimeSignature #'style + \revert Staff.TimeSignature.style \time 2/4 c4 c % single-digit style only for the next time signature - \once \override Staff.TimeSignature #'style = #'single-digit + \once \override Staff.TimeSignature.style = #'single-digit \time 5/4 c4 c c c c \time 2/4 c4 c } -