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 <m...@philholmes.net>:

>  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 <pierre.schneider.pa...@gmail.com>
> *To:* Keith OHara <k-ohara5...@oco.net>
> *Cc:* lilypond-user <lilypond-user@gnu.org>
> *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