|
From: | Pierre Perol-Schneider |
Subject: | Re: Dessiner la ronde comme une tête de blanche |
Date: | Tue, 11 Oct 2016 23:27:56 +0200 |
Bonjour Pierre,
Le 11/10/2016 12:01, Pierre Perol-Schneider a écrit :
>
> [...]
> %% Resserrer les notes:
> %% Option 1:
> %\override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 1) Sur
>
> %%option 2:
> \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1 1)
http://lilypond.org/doc/v2.19/Documentation/notation/ changing-spacing.fr.html
et
http://lilypond.org/doc/v2.19/Documentation/notation/ changing-horizontal-spacing
on lit respectivement :
SpacingSpanner.common-shortest-duration = #(ly:make-moment 1/2)
et
SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/16)
Du coup, j'ai deux questions :
1) Quelle différence y a-t-il entre common-shortest-duration et
base-shortest-duration ?
2) Y a-t-il une différence entre #(ly:make-moment 1/2) et
#(ly:make-moment 1 2) ?
> %% Changer les [rondes]:
> \override NoteHead.stencil =
> #(lambda (grob)
> (let ((duration (ly:grob-property grob 'duration-log)))
> (case duration
> ((0) (grob-interpret-markup grob (markup #:musicglyph "noteheads.s1")))
> (else (ly:note-head::print grob)))))
C'est tout simplement parfait ! Un grand merci pour cela.
> %% Changer la métrique affichée:
> \tweak stencil #(lambda (grob)
> (grob-interpret-markup grob
> (markup #:musicglyph "timesig.C22")))
> \time 2/1
J'avais écrit :
\time 2/1 \set Staff.timeSignatureFraction = 2/2
Y a-t-il un avantage au \tweak stencil ?
--
Olivier Miakinen
_______________________________________________
liste de diffusion lilypond-user-fr
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user-fr
[Prev in Thread] | Current Thread | [Next in Thread] |