X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fdynamics-text-spanner-postfix.ly;h=b7f84a13928beab5ac38443a794bfeee29984bf4;hb=99ef5fc2078de65d49783e81d0258d33a72486f5;hp=6bbf7b88aa810dc9799b239fa19de174faecd42e;hpb=46c607403da44b1c124d0c38ba1d1d5bc69ac8d8;p=lilypond.git diff --git a/Documentation/snippets/dynamics-text-spanner-postfix.ly b/Documentation/snippets/dynamics-text-spanner-postfix.ly index 6bbf7b88aa..b7f84a1392 100644 --- a/Documentation/snippets/dynamics-text-spanner-postfix.ly +++ b/Documentation/snippets/dynamics-text-spanner-postfix.ly @@ -1,57 +1,29 @@ -% 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.20 -\version "2.13.20" +%% 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: d2119a9e5e951c6ae850322f41444ac98d1ed492 + lsrtags = "expressive-marks, tweaks-and-overrides" - texidoces = " -Los objetos de extensión \cresc, \dim y \decresc ahora se pueden -redefinir como operadores postfijos y producir un solo objeto de -extensión de texto. La definición de extensores personalizados -también es fácil. Se pueden mezclar con facilidad los crescendi -textuales y en forma de reguladores. \< y \> producen reguladores -gráficos de forma predeterminada, \cresc etc. producen elementos -extensores de texto de forma predeterminada. + texidoc = " +Custom text spanners can be defined and used with hairpin and text +crescendos. @code{\\<} and @code{\\>} produce hairpins by default, +@code{\\cresc} etc. produce text spanners by default. -" - - doctitlees = "Objetos extensores de texto postfijos para dinámica" - - lsrtags = "expressive-marks, tweaks-and-overrides" - texidoc = "The \cresc, \dim and \decresc spanners can now be redefined as -postfix operators and produce one text spanner. Defining custom spanners is -also easy. Hairpin and text crescendi can be easily mixed. \< and \> produce -hairpins by default, \cresc etc. produce text spanners by default. " doctitle = "Dynamics text spanner postfix" } % begin verbatim - % Some sample text dynamic spanners, to be used as postfix operators crpoco = #(make-music 'CrescendoEvent 'span-direction START 'span-type 'text 'span-text "cresc. poco a poco") -% Redefine the existing \cresc, \dim and \decresc commands to use postfix syntax -cresc = -#(make-music 'CrescendoEvent - 'span-direction START - 'span-type 'text - 'span-text "cresc.") -dim = -#(make-music 'DecrescendoEvent - 'span-direction START - 'span-type 'text - 'span-text "dim.") -decresc = -#(make-music 'DecrescendoEvent - 'span-direction START - 'span-type 'text - 'span-text "decresc.") \relative c' { c4\cresc d4 e4 f4 | @@ -60,4 +32,3 @@ decresc = g4 a4\! b4\< c4 | g4\dim a4 b4\decresc c4\! } -