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

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

Re: problème changement de page


From: Martial R
Subject: Re: problème changement de page
Date: Mon, 10 Jan 2022 10:37:48 +0100

Bonjour,

Merci Vincent pour les précisions et le liens vers la doc..
J'aurais appris 2 choses
les autoBreaksOff et autoLineBreaksOff
et de mettre des Voices ensemble à la place de Staff
Il restait un \pageBreak  ligne 5 qui forçait le saut de page

http://lilybin.com/83j8ii/5
%--------------------------------------------
\version "2.20.0"

#(set-global-staff-size 15) %taille des portées
%----------------------------------------
\paper
{#(set-paper-size "a3landscape") }

%--------------------------------------
Global=
{
 \numericTimeSignature
 \set Score.markFormatter = #format-mark-box-alphabet
 \time 4/4
 \tempo 4 = 72
}
%-----------------------------------

Picolo =
\relative c'
{
 \Global
 \key f\major

 \repeat unfold 16{r1}
 \repeat unfold 14{r1}
}
%----------------------------------
FluteUnDeux =
\relative c'
{
 \Global
 \key f\major

 <f' e'>4.(<d' a>8~<d a>2)<f, c'>4.(<d a'>8~<d a'>4.)
 \autoLineBreaksOff
 \autoBreaksOff
 <c g'>8-><bes f'>4(<c g'>2~q8)<d a'>
 <f c>4.(<d a'>8~q2) r1 r <f c>4.(<d a'>8~q2)
 \repeat unfold7{r1}<fis c>4.--(<d a>8~q2)
 <c e>
}
%-----------------------------------
myPageBreak ={
 s1*6 \break
 s1*6 \break
 s1*6 \break
}
\book
{
 \bookpart
 {
  \score
  {
   \new StaffGroup = "Bois"
   <<
    \new Staff = "Picolo"\with{
     instrumentName ="Picolo"
     shortInstrumentName ="Pic."
    }
    \Picolo

    \new Staff = "FluteUnDeux"  \with{
     instrumentName = "Flute.1.2"
     shortInstrumentName ="flu1.2."
    }
    <<
     \new Voice \FluteUnDeux
     \new Voice \myPageBreak
    >>
   >>
   \layout {  indent = 2  }
  }%score
 }%bookpart
}%Book
%--------------------------------------------

Le dim. 9 janv. 2022 à 16:42, Vincent Gay <vgay@vintherine.org> a écrit :
>
> Les commandes \autoLineBreaksOff et \autoBreaksOff doivent impérativement se 
> placer après le début de la musique pour éviter tout message d'erreur.
>
>
> source 
> https://lilypond.org/doc/v2.22/Documentation/notation/line-breaking.fr.html
> section Problèmes connus et avertissements
>
>
> Le 09/01/2022 à 16:30, Christian LE BARS a écrit :
>
> Bonjours a tous.
>
> je reprend seulement ma partition.
>
> Mon problème maintenant, je ne sais ou mettre \autoBreaksOff
>
> dans le code cela plante! pourtant je suis dans un : \relative c {}
>
> A+
>
>
> --
> Vincent Gay
> Envoyé depuis mon saxo-phone :)
> https://myrealbook.vintherine.org/  -http://photos.vintherine.org/
>
>
>
>
> --
> Vincent Gay
> Envoyé depuis mon saxo-phone :)
> https://myrealbook.vintherine.org/ - http://photos.vintherine.org/



-- 
Martial Rameaux



reply via email to

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