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

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

paper, layout, book, tout ça


From: Vincent Gay
Subject: paper, layout, book, tout ça
Date: Sat, 2 Nov 2019 23:40:16 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

bonsoir à toutes et à tous,

dans mon bloc paper j'ai ceci

\paper {
  #(define fonts
    (set-global-fonts
    #:music "lilyjazz"
    #:brace "lilyjazz"
    #:roman "lilyjazz-text"
    #:sans "lilyjazz-chord"
    #:factor (/ staff-height pt 20)
  ))
}

ce qui fonctionne parfaitement... sauf quand je rajoute un layout comme
celui ci-dessous dans le bloc score pour changer la taille des portées

      \layout{
        #(layout-set-staff-size 19)       
      }

Une explication, ou mieux une solution ? Merci d'avance


exemple de code :

\version "2.19.80"

\paper {
  #(define fonts
    (set-global-fonts
    #:music "lilyjazz"
    #:brace "lilyjazz"
    #:roman "lilyjazz-text"
    #:sans "lilyjazz-chord"
    #:factor (/ staff-height pt 20)
  ))
}



Notes = \relative c'' {
  \clef "treble" \key es \major \time 4/4
    g4. g8 ~ g2 ~ | \times 2/3 { g4 c, es } \times 2/3 { g f es } |
    g1 |
  \bar "|." }


harmonies = \chordmode {
  es1*2:7+ f:9
}

    \score {
      <<
        \new ChordNames {
          \set chordChanges = ##t
          \harmonies
        }
        \new Staff <<
          \context Staff <<
            \context Voice = "PartPOneVoiceOne" { \Notes }
          >>
        >>
      >>
      \layout{
        #(layout-set-staff-size 19)    %ligne à commenter pour utiliser
lilyjazz 
      }
 }

-- 
Vincent Gay
Envoyé depuis mon saxo-phone :)
http://blog.vintherine.org/ - http://photos.vintherine.org/

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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