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

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

Re: Ossia au dessus d'une voix dans un chœur


From: marc.lanoiselee
Subject: Re: Ossia au dessus d'une voix dans un chœur
Date: Wed, 27 May 2015 15:00:32 +0200
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Merci, c'est exactement ce qu'il faut

Marc

Le 27/05/2015 14:40, Pierre Perol-Schneider a écrit :
Bonjour Marc,

Le 27 mai 2015 12:18, marc.lanoiselee <address@hidden> a écrit :
Bonjour,
J'ai essayé de placer un ossia au dessus de la deuxième voix, mais il apparait en dessous de la quatrième voix,
j'ai essayé des contextes différents pour   alignAboveContext = #"main" mais sans résultat.
Je recherche la bonne idée....
 
Ça ne peut marcher puisque le contexte 'main' n'exsiste pas...

Si, par exemple, on appelle la deuxième portée "2", ça donne :

\version "2.18.0"

%************PartieUn**********************************
PartieUn = {
  \override NoteHead.style = #'baroque
  \clef "treble"
  \key f\major
  \time 2/2

  g'2. f'4  |
  g'2 g'2  |
  a'1  |
 
}

%************PartieDeux avec ossia*******************
PartieDeux = {
  \override NoteHead.style = #'baroque
  \clef "treble"
  \key f\major
  \time 2/2
 
  e'2. d'4  |
  <<            
    {d'2 e'2 } |
    \new Staff \with {
     
      %% on réduit un peu l'espacement vertical pour un meilleur rendu :
      \override VerticalAxisGroup.staff-staff-spacing = #'((basic-distance . 7))
      \remove "Time_signature_engraver"
      alignAboveContext = #"2"
      fontSize = #-3
      \override StaffSymbol.staff-space = #(magstep -3)
      \override StaffSymbol.thickness = #(magstep -3)
      firstClef = ##f
    }
    { d'2 e'4 (d'4)}
  >>
  cis'1  |
 
 
}
%************PartieTrois**********************************
PartieTrois = {
  \override NoteHead.style = #'baroque
  \clef "treble_8"
  \key f\major
  \time 2/2
  c'2. a4  |
  d'2 c'2  |
  a1  |
 
 
}

%************PartieQuatre**********************************
PartieQuatre = {
  \override NoteHead.style = #'baroque
  \clef "bass"
  \key f\major
  \time 2/2
  c2. d4  |
  g,2 c2  |
  a,1  |
  }

%**********Voix**********
VoixUn = \lyricmode {
  de pour -- pre~au so -- leil,
}

\score {
  \new ChoirStaff <<
    %----------------------------------
    \new Staff \new Voice = "Un" {
      \PartieUn }
  
    \addlyrics {     \VoixUn    }
  
    %----------------------------------
    \new Staff = "2"  \new Voice = "Deux"  {
    
      \PartieDeux
    }
    \addlyrics {       \VoixUn    }
  
    %-----------------------------------
    \new Staff \new Voice = "Trois"  {
    
      \PartieTrois
    }
    \addlyrics {       \VoixUn    }
  
    %--------------------------------------------------------------
    \new Staff \new Voice = "Quatre"  {
    
      \PartieQuatre    
    }
    \addlyrics {       \VoixUn    }
    %---------------------------------------------------------------
  >>

}

%%%%%%%%%%%%%


Cordialement,
Pierre



reply via email to

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