|
From: | Pierre Perol-Schneider |
Subject: | Re: Marque de repère et Signe |
Date: | Sat, 11 Apr 2020 10:40:53 +0200 |
Bonjour Marc,Une solution simple :\version "2.20.0"
\fixed c' {
\compressFullBarRests
s1 \bar "||" \mark\default
R1*8 \bar "||" \mark\default
r2 -\tweak extra-offset #'(2 . 2) -\markup { \musicglyph #"scripts.segno" }
r4 \once\hideNotes b4*1/2 \tweak style #'trill \glissando g'-^
R1
}
\layout {
\context {
\Score
markFormatter = #format-mark-box-alphabet
\override MultiMeasureRest.expand-limit = #5
}
}
\paper {
ragged-right = ##F
}Cordialement,PierreLe sam. 11 avr. 2020 à 10:38, Valentin Villenave <address@hidden> a écrit :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] |