%include en fin de fichier ly \paper { page-count = 1 #(set-default-paper-size "a4") } \header{ subtitle = \subtitle subsubtitle = \subsubtitle composer = \composer footer = "" date = # ( strftime "%d-%m-%Y" ( localtime ( current-time ) ) ) tagline = \markup {\title"- LicArtLibre1.4 - "\composer" - "\dateCrea" (éd."\date")"} dedication = "" } \layout { %\context {\Staff \RemoveAllEmptyStaves} \context {\Score \remove "Bar_number_engraver"} } deco={ \override Score.RehearsalMark.padding = #2 \set Score.rehearsalMarkFormatter = #format-mark-circle-letters \set Score.skipBars = ##t \set Staff.explicitClefVisibility = #end-of-line-invisible \set Timing.beamHalfMeasure = ##f } %\unless #'(med == "") smed={\new Staff = "med" {\deco \global \med }} %med= ##f %initialisation %bas= ##f %initialisation contenu= << \new ChordNames \harmonies \new Staff = "sup" { \clef "G"\deco \global \sup } #(if med #{ \new Staff = "med" {\deco \global\med} #}) %en début de fichier initialiser med= ##f #(if bas #{ \new Staff = "bas" {\clef "F" \deco \global\bas} #}) %et bas= ##f >> \book{ \header{title = \markup {\title" (Sib)"}} \bookOutputSuffix "Sib" \score {\transpose c d \contenu} } \book{ \header{title = \markup {\title}} %\bookOutputSuffix "Ut" \score {\contenu \layout {}} \score {\unfoldRepeats \contenu \midi {}} }