X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Ffr%2Fextending%2Fscheme-tutorial.itely;h=bfb39c7f45228cbe80cb8598f5db7528efeee280;hb=958e95822083954cad00e0a598eb9f12ceba67b9;hp=e9539c77f954924cf2ddced2c113548b268655d0;hpb=d36171e34d236d890f5dc511b895037188c6c7cb;p=lilypond.git diff --git a/Documentation/fr/extending/scheme-tutorial.itely b/Documentation/fr/extending/scheme-tutorial.itely index e9539c77f9..bfb39c7f45 100644 --- a/Documentation/fr/extending/scheme-tutorial.itely +++ b/Documentation/fr/extending/scheme-tutorial.itely @@ -1,14 +1,14 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*- @ignore - Translation of GIT committish: 5a6340b7f319802a7313c0e6b82eef96909cde42 + Translation of GIT committish: e8c4826ed3fca952984600bcce60b53e76aff5d2 When revising a translation, copy the HEAD committish of the version that you are working on. For details, see the Contributors' Guide, node Updating translation committishes.. @end ignore -@c \version "2.19.21" +@c \version "2.19.22" @c Translators: Jean-Charles Malahieude @@ -1472,7 +1472,7 @@ vide), aucune vérification n'est requise avant d'introduire un nouvel élément en tête de la propriété @code{articulations}. @example -doubleSlur = #(define-music-function (parser location note) (ly:music?) +doubleSlur = #(define-music-function (note) (ly:music?) "Renvoie : @{ note ( note ) @}. `note' est censé être une note unique." (let ((note2 (ly:music-deep-copy note))) @@ -1656,7 +1656,7 @@ fonction musicale, à l'aide d'un peu d'enrobage syntaxique et mention du type de son unique argument « réel ». @example -ajouteAccent = #(define-music-function (parser location note-event) +ajouteAccent = #(define-music-function (note-event) (ly:music?) "Ajoute un accent (ArticulationEvent) aux articulations de `note-event', qui est censé être une expression NoteEvent." @@ -1699,7 +1699,7 @@ TODO Find a simple example @ignore @lilypond[quote,verbatim,ragged-right] -padText = #(define-music-function (parser location padding) (number?) +padText = #(define-music-function (padding) (number?) #{ \once \override TextScript.padding = #padding #}) @@ -1722,16 +1722,16 @@ We can use it to create new commands: @lilypond[quote,verbatim,ragged-right] -tempoPadded = #(define-music-function (parser location padding tempotext) +tempoPadded = #(define-music-function (padding tempotext) (number? markup?) #{ \once \override Score.MetronomeMark.padding = #padding \tempo \markup { \bold #tempotext } #}) -\relative c'' { +\relative { \tempo \markup { "Low tempo" } - c4 d e f g1 + c''4 d e f g1 \tempoPadded #4.0 "High tempo" g4 f e d c1 } @@ -1741,7 +1741,7 @@ tempoPadded = #(define-music-function (parser location padding tempotext) Even music expressions can be passed in: @lilypond[quote,verbatim,ragged-right] -pattern = #(define-music-function (parser location x y) (ly:music? ly:music?) +pattern = #(define-music-function (x y) (ly:music? ly:music?) #{ #x e8 a b $y b a e #})