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: Pierre Perol-Schneider
Subject: Re: Order of contexts over staves
Date: Tue, 20 Jan 2015 06:13:08 +0100

Oups, you're wright, I should have added some explanation.
Anyway, Keith's solution is so much better! I didn't take care enough before posting mine.
Cheers,
Pierre

2015-01-19 15:21 GMT+01:00 Phil Holmes <address@hidden>:
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]