Subject: Mise en Page

From: "christophe_cgy.godefroy" <[email-masked]>
Date: Sun, 30 Mar 2008 11:13:25 +0200

Re,

J'ai repris le fichier de Claude Chaudron que j'ai modifié et complété. à la compilation , il me sort 3 pages. La dernière ne contient qu'un system. Comment faire pour que tout tienne en 2 pages seulement.

j'ai essayé de jouer avec les directives

topmargin = 0.9 \cm
bottommargin = 0.9 \cm
headsep = 0.9 \cm
footsep = 0.9 \cm
print-page-number = ##t
between-system-space = 0.2 \cm
annotate-spacing = ##t
system-count

Mais rien ne change, j'ai toujours 3 pages.
C'est effectivement du fine tunning, mais j'espère que l'un de vous auras l'idée à laquelle je ne pense pas!
Merci

--
Christophe GODEFROY

\version "2.11.34"

\header {
  title = "Moments Musicaux"
  subtitle = \markup { \italic \medium "Air Russe" }
  date = "1823"
  composer = \markup \center-align { \bold "Franz Schubert" \small "1797 - 1828" \medium "Op. 94, No. 3" }
  instrument = "Piano"
  piece= "Allegro moderato"
  tagline =  "CGY Production"
  maintainer = "Christophe Godefroy"
}

#(set-global-staff-size 19)

\paper {
  #(set-paper-size "a4")
  topmargin = 0.9 \cm
  bottommargin = 0.9 \cm
  headsep = 0.9 \cm
  footsep = 0.9 \cm
  print-page-number = ##t
  between-system-space = 0.2 \cm
  annotate-spacing = ##t
}

global =  {
  \key as \major
  \time 2/4
  \override Score.MetronomeMark #'transparent = ##t
  \tempo 4 = 80
}

% local macros
textCresc = { \set crescendoText = \markup { \italic "cresc." } \set crescendoSpanner = #'dashed-line }
  
righthand = \context Staff \relative c'\new Voice \with {
       \remove "Forbid_line_break_engraver"
     } {
	%1
	R2 R2 \bar "|:"
	\grace bes'16 (as8-2-.)\mp as16 ( bes ) as8-. g-. |
	
	\appoggiatura { as16-2 [bes-3] } \stemUp <as c>4-5^> \appoggiatura { as16 [bes] } \stemUp <as c>4^> |
	\override Fingering #'extra-offset = #'(0.3 . 1.8) \grace bes16 (as8-.) as16 ( bes ) as8-. <g c^4>-. \revert Fingering #'extra-offset | \grace c16-2 (<as-1 f'-5>4->) \grace c16 (<as f'>4->) |
	<<
	  { \grace ges'16-5 \stemUp f8-4 f16 ^( ges f8 ) f } \\
	  { as,8 [ as a a ] }
	%8
	<<
	  { f'8 ( [bes16] ) } \\
	  { bes,8. }
	r16 <as-1 f'-4>4-- | \set fingeringOrientations = #'(down) <as-3 c-5>16\p ( <g-2 bes-4> <f-1 as-3> <g-2 bes-4> )
	<<
	  { c16-3 (des-4) c-3 (e-5) } \\
	  { as,8 <g bes> }
	\stemDown <as c f>4-- <as c f>4-- |
	
\bar ":|:"
	
	%19
	c-2--^\markup { \italic "dolce (catando)" } c-- | c16-1 (des es des) des8.-3 (c16 )| \grace c16- (bes8) bes c16-4 ( bes-3 as-2 bes-3 ) | bes4 ( c ) |
	%23
	\grace es16-2 <c-1 as'-4>4-> \grace es16 <c as'>4-> | <es-3 g-5>16 (<des f> <c-1 e-3> <des-2 f-4>) <des-2 f-4>4 |
	
	%25
	<<
	  { f16-5 (es!-4) \set fingeringOrientations = #'(up) <des-4 es-5>4 <des-4 es-5>8 } \\
	  { <g, des'>8\noBeam \set fingeringOrientations = #'(down) g16-1 ( [as-2 bes8-3] ) as16-2 (g-1) }
\set fingeringOrientations = #'(up)	<as-1 c-3 es-5>4 <as c es>4 |
	
 \bar ":|:"
	
	%35
	<g bes c e>->\f <g bes c e>-> |
	<< 
	  { \grace f'16 \stemUp as8-4 as16-5 (g-5) f8-4 es16-4 (des-3) } \\
	  {\set fingeringOrientations = #'(left) <as-1 c-2>8 <as c>4. }
\set fingeringOrientations = #'(up)	
	%37
	\stemDown <g bes c-4>4-> <g bes c e!>-> |
	<< 
	  { \grace f'16 \stemUp as8-4 as16-5 (g-5) f8-4 es16-4 (des-3) } \\
	  {\set fingeringOrientations = #'(left) <as-1 c-2>8 <as c>4. }
	
	   \stemUp <as-2 c-4>4\p\< (<ges-1 c-4> 

	\stemUp \override Fingering #'extra-offset = #'(0.3 . 1.8) <f c'-3>16)\> (des' es des)\! <f,-1 des'-5>8 <es-2 c'-5>16 ( <des-1 bes'-4> ) |
	    <c-1 as'-3>8-. <c as'>-. <c-1 as'-3>16 ( <des-1 bes'-4> <es-2 c'-5> <des-1 bes'-4>  |
	\revert Fingering #'extra-offset <c-1 as'-3>4) <c as'> |
	
	%43
	 \bar ":|"
	
	\grace bes'16 (as8-2-.)\pp as16 ( bes ) as8-. g-. |
	
	\appoggiatura { as16-2 [bes-3] } \stemUp <as c>4-5^> \appoggiatura { as16 [bes] } \stemUp <as c>4^> |
	\override Fingering #'extra-offset = #'(0.3 . 1.8) \grace bes16 (as8-.) as16 ( bes ) as8-. <g c^4>-. |\revert Fingering #'extra-offset \grace c16-2 (<as-1 f'-5>4->) \grace c16 (<as f'>4->) |
	<<
	  { \grace ges'16-5 \stemUp f8-4 f16 ^( ges f8 ) f } \\
	  { as,8 [ as a a ] }
	%8
	<<
	  { f'8 ( [bes16] ) } \\
	  { bes,8. }
	r16 <as-1 f'-4>4-- | \set fingeringOrientations = #'(down) <as-3 c-5>16\p ( <g-2 bes-4> <f-1 as-3> <g-2 bes-4> )
	<<
	  { c16-3 (des-4) c-3 (e-5) } \\
	  { as,8 <g bes> }
	\stemDown <as c f>4-- <as c f>4--	
	
	%59
	<<
	  { \grace as'16-4 (\stemUp g8-3)\mp \< g16-3^( as-4 g8-3 ) g-2 \( ^(  bes!8-4\> ) as4-3\!   g16-2 f-1  \) } \\
	  { e8-1 e4 e8-1 f4. r8 }
	
	%61
	<<
	  { \grace des16 (c8)
	    c16 ( des c8 e ) } \\
	  { as,8 as4 <g bes c>8 }
	<as-1 c-2 f-5>4-- <as c f>-- |
	
	%63
	<<
	 { \grace as'16-4 (\stemUp g8-3)\mp \< g16-3^( as-4 g8-3 ) g-2 \( ^(  bes!8-4\> ) as4-3\!   g16-2 f-1  \) } \\
	  {  e8-1 e4 e8-1 f4. r8 }
	
	%65
	<<
	  { \grace d16 (c8)
	    \override DynamicTextSpanner #'dash-period = #-1.0
	    \override DynamicTextSpanner #'font-size = #-1 \setTextDim
	    c16\> ( d\! c8 d-4 ) \grace d16 c8 c16 ( d c8 d ) \grace d16 (c8) c16 ( d c8 e-5 )  } \\
	  { a,8-1 a4 bes8-2 a a4 bes8 a a4 (bes8) }
	<a-1 f'-5>4-- <a f'>-- |
	
	%69
	<<
	  { \grace d16-4 (\stemUp c8-3) c16-4 ^( d-5 c8 a-2 ) } \\
	  { \override DynamicTextSpanner #'dash-period = #-1.0
	    \override DynamicTextSpanner #'font-size = #-1 \setTextDim a8 a4-2 f8-1 }
	<e-1 bes'-3>4-- <e bes'>-- |
	
	%71
	<<
	  { \grace c'16 (\stemUp bes8) bes16 ^( c bes8 e, ) } \\
	  { e8 e4 bes8 }
	<a f'>4-- <a f'>-- |
	
	%73
	<<
	  { \grace d'16 (\stemUp c8) c16 ^( d c8 a ) } \\
	  { a8 a4 es!8-> }
	<e-1 bes'-5>4-- <e bes'>-- |
	
	%75
	<<
	  { \grace c'16 (\stemUp bes8) bes16 ^( c bes8 e, ) } \\
	  { e8 e4 bes8-> }
	\stemUp <a-1 f'-5>4 <a f'> | <a f'> <a f'> | <a f'>2\fermata \bar "|."
}

lefthand = \context Staff  \relative c \new Voice \with {
       \remove "Forbid_line_break_engraver"
     } {
	%1
	f8-.\p [ <c' f>-. f,-. <c' f>-. ] f,-. [ <c' f>-. f,-. <c' f>-. ] f,_\markup { \italic "sempre staccato" } [ <c' f> f, <c' e> ] | f, [ <c' f> f, <c' f> ] f, <c' f> f, <c' e> |
	f, <c' f> f, <c' f> | des, <des' f> c, <c'-3 es-4 f-5> |
	%8
	bes, <bes' des f> f <c' f> | c, c' c, <c' e> | f, <c' f> f, <c' f>
	%19
	\clef violin
	as <c es as> as <c es as> | as <bes es g> as <bes es g> | as <des es g> as <des es g> |
	as <c es as> as <c es as> | as <c es as> as <c es as> |
	
	%24
	\clef bass
	des, <des' f> des, <des' f> | es, <bes' des es> es, <bes' des es> | as <c es> as <c es> |
	
	\bar":|:"	
	
	%35
	c, <c' e> c, <c' e> | c, <c' f> c, <c' f> | c, <c' e> c, <c' e> | c, <c' f> f, <c' f> |
	as, <as' c> a, <ges' c> | bes, <f' bes> des, <des' f> | es, <es' as> es, <es' g> |
	as, <es' as> as, <es' as> |
	
	%51
	f [ <c' f> f, <c' e> ] | f, [ <c' f> f, <c' f> ] f, <c' f> f, <c' e> |
	f, <c' f> f, <c' f> | des, <des' f> c, <c' es f> |
	
	%56
	bes, <bes' des f> f <as c f> | c, <c' f> c, <c' e> | f, <c' f> f, <c' f> |
	
	%59
	bes, <bes' des> bes, <bes' des> |
	b, <b' d> b, <b' d> | c, <c' f> c, <c' e> | f, <c' f> f, <c' f> |
	
	%63
	bes, <bes' des> bes, <bes' des> |
	b, <b' d> b, <b' d> | c, <c' f> c, <c' e> | c, <c' f> c, <c' e> | c, <c' f> c, <c' g'> | f,, <c' f> f, <c' f> |
	
	%69
	f, <c' f> f, <c' f> | f, <c' g'> f, <c' g'> | f, <c' g'> f, <c' g'> | f, <c' f> f, <c' f> | f, <c' f> f, <c' fis> |
	
	%74
	f, <c' g'> f, <c' g'> | f, <c' g'> f, <des' g> | f, <c' f> f, <c' f> | f, <c' f> f, <c' f> | <f, c' f>2_\fermata
	
}

\score {
    \context PianoStaff <<
	\new Staff = "treble" << 
	    \global
	    \clef violin
	    \righthand
	\new Staff = "bass" <<
	    \global
	    \clef bass
	    \lefthand
    \layout {
	\context {
	    \Score
	}
    }
    
  \midi { 
    \context {
        \Voice
        \remove "Dynamic_performer"
        tempoWholesPerMinute = #(ly:make-moment 80 4)
  	}
  }

}

---

From: Marc Lanoiselée <[email-masked]>
Date: Sun, 30 Mar 2008 11:51:14 +0200

christophe_cgy.godefroy a écrit :
> Re,
> 
> J'ai repris le fichier de Claude Chaudron que j'ai modifié et complété. 
> à la compilation , il me sort 3 pages. La dernière ne contient qu'un 
> system. Comment faire pour que tout tienne en 2 pages seulement.
> 
Dans _paper
line-width = 176\mm  %élargit la zone imprimable

Essaye de réduire la taille des portées.
Avant score
#(set-global-staff-size 18)  % changer le 18

   Amicalement

Marc Lanoiselée