X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fvolta-text-markup-using-repeatcommands.ly;h=4c2350c9f51433bd28ba12113208e049d84c3498;hb=061c50f352513cc942c1741d5b9429de5ae52b1d;hp=0f18baff1a4fd81522ae0d207ff66d02b85e6dd5;hpb=4e7e046d0842fe1de8ef906de402246f7ca33d0b;p=lilypond.git diff --git a/Documentation/snippets/volta-text-markup-using-repeatcommands.ly b/Documentation/snippets/volta-text-markup-using-repeatcommands.ly index 0f18baff1a..4c2350c9f5 100644 --- a/Documentation/snippets/volta-text-markup-using-repeatcommands.ly +++ b/Documentation/snippets/volta-text-markup-using-repeatcommands.ly @@ -1,16 +1,37 @@ -%% Do not edit this file; it is automatically +%% 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.13.29" +\version "2.14.2" \header { - lsrtags = "repeats, text" +%% Translation of GIT committish: d5307870fe0ad47904daba73792c7e17b813737f + texidocfr = " +La commande @code{\\repeat volta} permet d'indiquer facilement des +reprises. Il est certains cas où l'adjonction d'un texte sous forme de +@code{\\markup} nécessite cependant de recourir à la propriété de +contexte @code{repeatCommands}. + +Dans la mesure où l'argument de @code{repeatCommands} est constitué +d'une liste, le plus simple est de définir le texte dans une variable +qui sera ensuite incorporée dans la liste en respectant la syntaxe Scheme +@code{#(list (list 'volta texteIdentificateur))}. Les commandes de +début et de fin de reprise peuvent s'ajouter séparément à la liste des +éléments. + +" + doctitlefr = "Indication de reprise avec texte grâce à repeatCommands" + + lsrtags = "text, repeats, symbols-and-glyphs" texidoc = " Though volte are best specified using @code{\\repeat volta}, the context property @code{repeatCommands} must be used in cases where the volta text needs more advanced formatting with @code{\\markup}. + Since @code{repeatCommands} takes a list, the simplest method of including markup is to use an identifier for the text and embed it in the command list using the Scheme syntax @code{#(list (list 'volta @@ -21,6 +42,7 @@ separate list elements: doctitle = "Volta text markup using repeatCommands" } % begin verbatim + voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } } \relative c'' {