\version "2.14.2" \include "italiano.ly" \header { title = "" subtitle = "" composer = "" tagline = "" } BlocUnInstUn = { } BlocDeuxInstUn = { } BlocTroisInstUn = { } InstUn = { \key sol \major \BlocUnInstUn \repeat unfold 3 { \BlocDeuxInstUn \BlocTroisInstUn } \BlocUnInstUn } InstUnPart = { \set Staff.instrumentName = "Instrument un" \set Staff.shortInstrumentName = "Inst 1" \clef treble << \InstUn >> } %% idem pour tous les intruments \score { % sortie pdf, (dé)-commenter les lignes \new Voice pour afficher/masquer les voix << \new StaffGroup = "band" << \new Staff << \new Voice = "one" \InstUnPart % \new Lyrics \lyricsto "one" { \Paroles} % paroles éventuelles >> \new Staff << \new Voice \InstDeuxPart >> % idem pour tous les instruments >> >> \layout { \context { \RemoveEmptyStaffContext } \context { \Voice } \context { \remove "Bar_number_engraver" skipBars = ##t } } } \score { % sortie midi \unfoldRepeats << \new StaffGroup << \new Staff \with {midiInstrument = #"instrumentmidi" }% mettre les bons noms d'instruments << \new Voice \InstUn >> % mettre la variable de l'instrument et non InstPart \new Staff \with {midiInstrument = #"instrumentmidi" } << \new Voice \InstUn >> % \new Staff \with {midiInstrument = #"instrumentmidi" } % << \new Voice \InstUn >> % % \new Staff \with {midiInstrument = #"instrumentmidi" } % << \new Voice \InstUn >> \new Staff \with {midiInstrument = #"instrumentmidi" } << \new Voice \InstUn >> >> >> \midi { \context { \Score % tempoWholesPerMinute = #(ly:make-moment 160 8) } } } #(define myStaffSize 15) % changez cette valeur à votre convenance #(set-global-staff-size myStaffSize) \paper { % Réglages de la sortie papier TailleGlobale = #15 % Titres des pages de suite en cas de partition sur plusieurs pages oddHeaderMarkup = \markup \column { \fill-line { " " % Laisser vide impérativement \on-the-fly #not-first-page "Krysten" % Titre des pages impaires suivantes à saisir éventuellement \on-the-fly #not-first-page \fromproperty #'page:page-number-string } } evenHeaderMarkup = \markup \column { \fill-line { \fromproperty #'page:page-number-string "Krysten" % Titre des pages paires suivantes à saisir éventuellement " " % Laisser vide impérativement } } % (Dé)-commenter les lignes adéquates % paper-width = 171\mm paper-height = 95\mm line-width = 160\mm % Format Organiseur % #(set-paper-size "a5" 'landscape) left-margin = 20\mm line-width = 180\mm top-margin = 15\mm bottom-margin = 10\mm% Format Carnet % #(set-paper-size "a4") left-margin = 20\mm line-width = 180\mm top-margin = 15\mm bottom-margin = 160\mm% Format A5 sur du A4 #(set-paper-size "a4") left-margin = 15\mm line-width = 190\mm top-margin = 10\mm bottom-margin = 10\mm% Format A4 % page-count = #1 % Partition en une seule page ragged-right = ##f % Justification horizontale pour un système unique % ragged-last-bottom = ##f % Justification verticale pour une page unique #(define fonts (make-pango-font-tree "Liberation Sans" "Liberation Sans" "Liberation Mono" ; définition de l'arbre des polices (/ TailleGlobale 20) ; ne pas modifier ce paramètre proportionnel global mais TailleGlobale ci-dessus )) }