lilypond-user-fr
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: modifier (ou remplacer) un stencil dans lilyjazz


From: NOreply
Subject: Re: modifier (ou remplacer) un stencil dans lilyjazz
Date: Sat, 10 Feb 2018 06:12:53 -0700 (MST)

Bonjour,
Il y a plusieurs manière de procéder: utiliser la lettre C, modifier la
police....
Je t'en propose une: cacher la parenthèse.
Voir ce pdf qui explique comment procéder:
Supprimer_parenthèse_chiffrage_dans_lilyjazz.pdf
<http://lilypond-french-users.1298960.n2.nabble.com/file/t395666/Supprimer_parenth%C3%A8se_chiffrage_dans_lilyjazz.pdf>
  

Voici le code de ce même pdf (attention à la casse au moment d'écrire
"LilyJAZZ" dans le \include. Votre LILYjazz, c'est peut-être LilyJazz ou
autre.  ):
\version "2.18.2"
\include "LilyJAZZ.ily"
\header {
  title = "supprimé la parenthèse du chiffrage C de LilyJAZZ"
}
%%%%%%%%%%%%%%%%%%%%%%
\markup { \vspace #2 }
\markup { le chiffrage de mesure par défaut: 
  \jazzglyph #"timesig.C44jazz" }

\markup { \vspace #1 }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\markup {  Un quadrilatère noir:
 \filled-box #'(0 . 2.5) #'(0 . 3) #0.7 }

\markup { \vspace #1 }
%%%%%%%%%%%%%%%%%%%
\markup { Je cache la parenthèse avec des quadrilatères plein: }
\markup {  \jazzglyph #"timesig.C44jazz"
 \hspace #-2.5

 \filled-box #'(0 . 2.5) #'(0 . 3) #0.7
 \hspace #-2.5

 \filled-box #'(0 . 2.5) #'(-2 . .5) #0.7
  \hspace #-3.5

 \filled-box #'(0 . 2.5) #'(-3 . -1) #0.7
}

\markup { \vspace #1 }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\markup { Je colorie les quadrilatères en blanc }
\markup {  \jazzglyph #"timesig.C44jazz"
 \hspace #-2.5
 \with-color #white
 \filled-box #'(0 . 2.5) #'(0 . 3) #0.7
 \hspace #-2.5
  \with-color #white
 \filled-box #'(0 . 2.5) #'(-2 . .5) #0.7
  \hspace #-3.5
   \with-color #white
 \filled-box #'(0 . 2.5) #'(-3 . -1) #0.7
}

\markup { \vspace #1 }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\markup { Voici un partition: }
{c'}

%%%%%%%%%%%%%%%%%%%%%%%
% Je créer une variable pour la clé sans parenthèse 
sign = \markup {  
  \fontsize #-5
  \jazzglyph #"timesig.C44jazz"
 \hspace #-2.5
 \with-color #white
 \filled-box #'(0 . 2.5) #'(0 . 3) #0.7
 \hspace #-2.5
  \with-color #white
 \filled-box #'(0 . 2.5) #'(-2 . .5) #0.7
  \hspace #-3.5
   \with-color #white
 \filled-box #'(0 . 2.5) #'(-3 . -1) #0.7

}
\markup { \vspace #1 }
%%%%%%%%%%%%%%%%%%%%%
\markup {Je remplace la clé par défaut avec la clé que j'ai créée: }
{ \override Staff.TimeSignature stencil = #ly:text-interface::print
  \override Staff.TimeSignature.text = \sign
c'}

%%%%%%%%%%%%%%%%%%%%%%
\markup { Je grave la clé sous la portée pour ne pas cacher celle-ci: }
{ \override Staff.TimeSignature stencil = #ly:text-interface::print
  \override Staff.TimeSignature.text = \sign
   \override Score.StaffSymbol.layer = #4
  \override Staff.TimeSignature.layer = #3
  c' }

%; )



--
Sent from: http://lilypond-french-users.1298960.n2.nabble.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]