lilypond-user
[Top][All Lists]
Advanced

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

Re: Order of contexts over staves


From: Phil Holmes
Subject: Re: Order of contexts over staves
Date: Mon, 19 Jan 2015 14:21:29 -0000


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 -----
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
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

reply via email to

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