Subject: Fontes

From: Christian LE BARS <[email-masked]>
Date: Wed, 8 Nov 2017 17:28:24 +0100

Bonjour a tous,

voila j’écris des partitions avec les polices "lilyjazz", qui me
conviennent a 99% .

je joins un fichiers un PDF (d'une partition bidon), dans laquelle on peut voir ce qui me chagrine:

le lien de mon PDF se trouve :http://www.cjoint.com/c/GKiqvgKwwGy

1- j'aimerai que les mots: swing,piano,altérations  soit écris en "musejazz"

2- j'aimerai que les chiffres: de la page, des triolets aient la même
fonte que les numéros de l'alternative;

3- que le segno ne soit pas encadré

voici le .ly du PDF:

\version "2.19.65"
#(set-global-staff-size 24) %taille des portées
\include "lilyjazz.ily" 
%-------------------------------------------------
\header 
{
   title = \markup { \override #'(font-name . "LilyJAZZText")\fontsize #1 \bold\italic "V'la  d'la Musique" }
  composer =\markup { \override #'(font-name . "LilyJAZZText")\italic "Le Compositeur" }  
  subtitle = \markup { \override #'(font-name . "LilyJAZZText")\italic "Le sousTitre," } 
  subsubtitle = \markup { \override #'(font-name . "LilyJAZZText")\italic "Autre sousTitre," }
  arranger = \markup { \override #'(font-name . "LilyJAZZText")\italic "L'Arrangeur" } 
  poet =\markup { \override #'(font-name . "LilyJAZZText")\italic "Le Parolier" }  
}
%----------------------------------------------
\paper 
 {
  oddFooterMarkup = \markup {\override #'(font-name . "LilyJAZZText")\fontsize #3 \fill-line { \fromproperty #'header:title  } }
  print-page-number = ##t  
  top-margin = 5\mm  
  markup-system-spacing.minimum-distance = 15\mm
 }
%------------------------------------------
rhythmMarkStaffReduce = #-3
rhythmMarkLabelFontSize = #-2
rhythmMark = #(define-music-function (parser location label musicI musicII ) (string? ly:music? ly:music?)
  #{
      \mark \markup {
        \line \general-align #Y #DOWN {
          \combine
            \italic \fontsize #rhythmMarkLabelFontSize $label
            \transparent \italic \fontsize #rhythmMarkLabelFontSize f
%------------------------------------------------------------------
          \score
         {                     % 2nd column in line\version "2.19.56"
            \new Staff 
            \with 
            {
              fontSize = #rhythmMarkStaffReduce
              \override StaffSymbol.staff-space = #(magstep rhythmMarkStaffReduce)
              \override StaffSymbol.line-count = #0
              \override VerticalAxisGroup.Y-extent = #'(-0.85 . 4)
            }
           {
              \relative c' { \stemUp $musicI }             
              \once \override Score.TextScript.Y-offset = #-0.4
              s4.^\markup{ \halign #-1 \italic "=" }             
              \relative c' { \stemUp $musicII }
            } 
 %-----------------------------------          
            \layout 
            {
              ragged-right= ##t
              indent = 0
              \context 
              {
               \Staff
                \remove "Clef_engraver"
                \remove "Time_signature_engraver"
              }
            } % layout end
          } % Score end
        } % line end
      } % markup end
   #})
rhyMarkIIEighths = 
 {
  \override Score.SpacingSpanner.common-shortest-duration = #(ly:make-moment 3/16) 
  b'8[ b8]
}
rhyMarkTriplets =
{
  \override Score.SpacingSpanner.common-shortest-duration = #(ly:make-moment 3/16) 
  \tuplet 3/2 { b'4 b8 }
}
%----------------------------------------------
Global=
{
   \numericTimeSignature 
 \set Score.markFormatter = #format-mark-box-alphabet
 \time 4/4
 \tempo 4 = 100
\partial 4
}
%------------------------------------------------
Couplet =
\lyricmode 
  {
    \override LyricText #'font-size = #2
     \override LyricText #'font-name = # "musejazz"
     \set stanza = " 1. " Les Pa- ro- les
  }
%------------------------------------------------  
Accords =
\chordmode 
  {
    c1:maj7   g2:m7   d:m7.5- a:dim    a :dim  b:sus4  f:7  f    e1:m
  } 
%----------------------------------------------
LesAccords =
\new ChordNames
 \with
   { \override BarLine.bar-extent = #'(-2 . 2)
    \consists "Bar_engraver"
   }
  {
   \override ChordNames.ChordName.font-name = "musejazz"
  \override ChordNames . ChordName.font-size = #1
  \set chordChanges = ##t 
  \set Score.majorSevenSymbol = \markup {Maj7}
  \set chordNameSeparator = \markup { "/" }
  \set minorChordModifier = \markup{"-"}
  \Accords
 }
%------------------------------------------------
MainDroite = 
\relative c''
 {
  \Global
  s4
  <g bes>4 <g bes>8 <g bes> 
   <<
     {  b'4 a8 s2  }
  \\
     { <d, g>4 <b d g> <b d gis> <b d gis>  }
  <<    
    { \set doubleSlurs = ##t <d d'>1(<d d'>4) c}  
   \\
    {s4 <f bes>r<fis c'>}
  }
%-----------------------------------------------------
MainGaucheHaut = 
\relative c'
{
  \Global
  s4
   s8 e,16
  \change Staff = "MD"
  a'16 s4 
}
%----------------------------------
MainGaucheBas = 
\relative c' 
{
  \Global
  s4
  <d g, bes>4 <g, bes d>8 <g bes d> r4 r c2 g e c
}
%-----------------------------------------------
LaMainGauche =
 \new Staff = "MG"
  {
   \clef "bass"
    <<
       \new Voice = "MGHaut" 
         \MainGaucheHaut
        \new Voice = "MGBas" 
         \MainGaucheBas
  }
%--------------------------------------------
LaMainDroite =
 \new Staff = "MD"
  {
   \clef "treble"
   \MainDroite
  }
%-------------------------------------------
LePiano =
\new PianoStaff
 \with 
    { instrumentName = #"Piano "
      shortInstrumentName = #"Pia. "
 %     midiInstrument = #"acoustic grand"
%      \override StaffGrouper.staff-staff-spacing = #'
%               ( ( basic-distance . 4)
%                 (padding . 4)) % ajuster la distance entre les 2 portées
    }  
   <<
     \LaMainDroite
     \LaMainGauche
%---------------------------------
LaVoix = 
\relative c'
 {
  \Global 
  \key d\major
  c8
  \mark \markup {\override #'(font-name . "LilyJAZZText")\rounded-box \bold \fontsize #1"A"}   
 c8| 
  ees4->\mf \segno f8-. g--  as4-^ bes8-^ r8| 
  b8\trill\fff ~ b d'8 c~\tuplet3/2{c c b }16   r bes16-> r| as4\mp  g4( \tuplet 3/2 { es8 f e\pp ~ } e4\fermata )| \bar "||"
  c4 \grace  {c16 d} e4 f r8  r |
  g2 r| r1%\noBreak
  \clef bass
  \time 5/4
  \key g \major
  \bar"[|:"
   geses,,4-5 ges_"altérations" g gis f|
   \set Score.repeatCommands = #'((volta "1"))
   gisis g \tuplet 3/2{ c,8 e g}r2|
   \set Score.repeatCommands = #'((volta #f))
   \set Score.repeatCommands = #'((volta "2"))
   e8\mark \markup {\override #'(font-name . "LilyJAZZText")"to coda"} r g r c r c2| 
   \set Score.repeatCommands = #'((volta #f))
  \bar":|]"
   c4  \varcoda  c2 c,4  c4 \segno| 
   \clef "treble" 
  \time 10/8 
  \key ees \major 
  \tuplet 3/2 4 { r8 c' fis g bes ees e, aes d } ees2| 
  c2. d2
 }
%------------------------------------------------
\book
{

 \score 
  {
   {
    \override Score.RehearsalMark.self-alignment-X = #LEFT
    \override Score.BarNumber.break-visibility = #all-invisible
    \once \override Score.RehearsalMark.X-offset = #5  % td    
    \rhythmMark #"Swing" \rhyMarkIIEighths \rhyMarkTriplets
    <<
      \context Voice = voix \LaVoix
      \context Lyrics = coupletA\lyricsto voix  \Couplet
     \LesAccords
     \LePiano 
  }  
  \layout 
  {
    ragged-right= ##t
    indent = 12   
  }
 }
}

 par avance merci pour vos réponses