|
From: | Pierre Perol-Schneider |
Subject: | Re: Marque de repère et Signe |
Date: | Sat, 11 Apr 2020 10:39:18 +0200 |
On 4/11/20, Voltrane <address@hidden> wrote:
> <http://lilypond-french-users.1298960.n2.nabble.com/file/t395757/Capture_d%E2%80%99%C3%A9cran_2020-04-11_%C3%A0_09.png>
Il est (comme toujours) possible d’obtenir exactement ce que vous
cherchez, si je comprends bien, mais c’est un peu lourd :
%%%
\compressMMRests {
s1 \bar "||"
\set Score.markFormatter = #format-mark-box-letters
\override MultiMeasureRest.expand-limit = #7
\mark \default
R1*8 \bar "||"
\once \override Score.RehearsalMark.stencil =
#(lambda (grob)
(ly:stencil-add
(ly:text-interface::print grob)
(grob-interpret-markup grob
(markup #:tiny #:translate '(4 . 1)
#:musicglyph "scripts.segno"))))
\mark \default
r2 r4*1/8 \hideNotes
\once \override Glissando.style = #'trill
d''4*7/8\glissando
\unHideNotes g''4-^
R1
}
%%%
Évidemment, la solution la plus simple reste d’utiliser un markup tout bête :
%%%
\compressMMRests {
s1 \bar "||"
\set Score.markFormatter = #format-mark-box-letters
\override MultiMeasureRest.expand-limit = #7
\mark \default
R1*8 \bar "||"
\mark \default
r2^\markup \translate #'(2 . 1) \musicglyph #"scripts.segno"
r4*1/8 \hideNotes
\once \override Glissando.style = #'trill
d''4*7/8\glissando
\unHideNotes g''4-^
R1
}
%%%
V.V.
[Prev in Thread] | Current Thread | [Next in Thread] |