Very clever.  Took me a while to work out what you're doing, but you're 
essentially putting in a staff that is never shown, and then putting the ossia 
above that.

--
Phil Holmes


  ----- Original Message ----- 
  From: Pierre Perol-Schneider 
  To: Keith OHara 
  Cc: lilypond-user 
  Sent: Sunday, January 18, 2015 10:19 PM
  Subject: Re: Order of contexts over staves


  Hi again,


  How about :

  \version "2.19.15"

  myOssia = \relative c' { 
    R1*2
    <<
      \new Staff 
      \with { alignAboveContext = #"essai" \magnifyStaff #5/7 } 
      { c4 c c c }
    R1
    >>
    R1*5
  }

  myMusic = \relative c' { 
    c1 c c c c c c c
  }

  myDynamics = { 
    s1\f s s\p s\f s 
    \break
    s s\p s\pp 
  } 

  \score {
    <<
      \new Staff = "essai" \myOssia
      \new Staff = "label" \myMusic
      \new Dynamics \with {  alignAboveContext = #"label" } \myDynamics
    >>
    \layout {
      \context {
        \Score
        \override VerticalAxisGroup.remove-first = ##t
        %\override SystemStartBar.collapse-height = #1
      }
      \context { 
        \Staff \RemoveEmptyStaves 
      }
    }
  }


  See attached png

  Cheers,
  Pierre



------------------------------------------------------------------------------


  _______________________________________________
  lilypond-user mailing list
  lilypond-user@gnu.org
  https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to