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

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

Re: Espacement entre des blocs \score


From: j-f.lucarelli
Subject: Re: Espacement entre des blocs \score
Date: Wed, 24 Feb 2010 12:52:41 +0100

>
>Bonjour,
>
>Je réalise actuellement une partition en plusieurs mouvements (en fait, 2
>mouvements du Carnaval des animaux) que je place chacun dans un bloc
>\score{}. Le premier de ses blocs contient titre et sous-titre, les
>suivants, uniquement sous-titre (avec print-all-headers=##t). 
>
>Ce qui me gêne, c'est que le sous-titre des pièces (autres que la première)
>est assez proche des portées du mouvement précédent. J'ai tenté le
>space-before-title mais rien n'y fait, d'autant qu'il se définit dans
>\paper, qui est commun à tous les mouvements.
>
>J'aimerais donc agrandir cet espace entre blocs \score (à l'image d'un
>\vspace en LaTeX), ou à défaut placer un titre "vide" au-dessus du
>sous-titre (ce qui ne donne rien avec title = " ")
>
>Voilà à quoi ressemble le fichier de score, dans l'état actuel:
>
>\version "2.13.8"
>
>#(set-global-staff-size 16)
>
>\include "Notes/Carnaval_clarinette.ly"
>\include "Notes/Carnaval_xylophone.ly"
>\include "Notes/Carnaval_piano1md.ly"
>\include "Notes/Carnaval_piano1mg.ly"
>\include "Notes/Carnaval_piano2md.ly"
>\include "Notes/Carnaval_piano2mg.ly"
>\include "Notes/Carnaval_violon.ly"
>\include "Notes/Carnaval_alto.ly"
>\include "Notes/Carnaval_cello.ly"
>
>
>
>% Pianistes
>
>
>\score {
><<     
>\new Staff \staffClarinettePia
>
>\new Staff \staffXylophonePia
>
>
>\new PianoStaff {
><<
>\set PianoStaff.instrumentName = "Piano I"
>\set PianoStaff.shortInstrumentName = "pn. I"
>\new Staff \staffPianoImdPia
>\new Staff  \staffPianoImgPia
>>>
>} 
>\new PianoStaff {
><<
>\set PianoStaff.instrumentName = "Piano II"
>\set PianoStaff.shortInstrumentName = "pn. II"
>\new Staff \staffPianoIImdPia
>\new Staff  \staffPianoIImgPia
>>>
>}
>\new StaffGroup <<
>\new Staff \staffViolonPia
>\new Staff \staffAltoPia
>\new Staff \staffCelloPia
>>>
>
>>>
>\header { 
>    title = "Le carnaval des animaux"
>    tagline = " "
>    composer = "Camille SAINT-SAËNS"
>    subtitle = "Pianistes" } 
>       \layout{
>  \context { 
>  \RemoveEmptyStaffContext
>  }
>  }
>\midi{}
>}
>    
>       
>
>% Fossiles
>
>\score {
><<
>\new Staff \staffClarinetteFos
>
>\new Staff \staffXylophoneFos
>            
>
>\new PianoStaff {
><<
>\set PianoStaff.instrumentName = "Piano I"
>\set PianoStaff.shortInstrumentName = "pn. I"
>\new Staff \staffPianoImdFoss
>\new Staff  \staffPianoImgFoss
>>>
>} 
>\new PianoStaff {
><<
>\set PianoStaff.instrumentName = "Piano II"
>\set PianoStaff.shortInstrumentName = "pn. II"
>\new Staff \staffPianoIImdFoss
>\new Staff  \staffPianoIImgFoss
>>>
>}
>\new StaffGroup <<
>\new Staff \staffViolonFos
>\new Staff \staffAltoFos
>\new Staff \staffCelloFos
>>>
>>>
>       \header { subtitle = "Fossiles" }
>       \layout{
>  \context { 
>  \RemoveEmptyStaffContext
>  }
>  }
>\midi{}
>  }
>
>\paper {
>#(set-paper-size "a4")
>  print-all-headers=##t
>  bookTitleMarkup = ##f
>ragged-last-bottom =##f
>indent = 1.5\cm
>short-indent = 0.5\cm
>system-separator-markup = \slashSeparator
>oddFooterMarkup = \markup {\fill-line {  } }
>}
>
Il est possible d'insérer entre deux \score un \markup du genre :
        \markup { \fill-line { \fontsize #4 \justify-string #" "}}

ou même d'imprimer 'artificiellement' le nom du mouvement :

        \markup { \fill-line { \fontsize #4 \bold \justify-string #" "}}
        \markup { \fill-line { \fontsize #4 \bold \justify-string #"-- VI --"}}
        \markup { \fill-line { \fontsize #4 \bold \justify-string #" "}}

Mais si la ligne vide semble fonctionner correctement APRÈS le texte, la 
première des lignes ne provoque pas d'espace évident.

Cette méthode ne provoque pas de saut de page, à moins qu'il ne soit demandé 
dans le bloc \score

Amicalement,

Jean-François

reply via email to

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