Mats, Simon -

Thanks for the pointers.  Yesterday I had no idea - now this thread shows
several ways.  Here's another.

                              - Bruce

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.4.6"
                        \paper {
indent                =  0.00\in
betweensystempadding  = -0.10\in
betweensystemspace    =  0.50\in
                        }%end paper
                        OssiaOffset = {
\override NoteHead          #'extra-offset = #'( 0.0 . 15.8 )
\override Stem              #'extra-offset = #'( 0.0 . 15.8 )
\override Beam              #'extra-offset = #'( 0.0 . 15.8 )
\override Slur              #'extra-offset = #'( 0.0 . 15.8 )
\override Ossia.BarLine     #'extra-offset = #'( 0.0 . 15.8 )
\override Ossia.StaffSymbol #'extra-offset = #'( 0.0 . 15.8 )
\override Score.SpanBar     #'extra-offset = #'( 0.0 .  7.9 )
                        } %end OssiaOffset
                        \score {
                \relative c'' {
e1 e e e e e e
        <<
{ d d }
        \context Ossia { \OssiaOffset
b2 ( b4 b8 b ) c2 f
        } %end Ossia
        >>
e1^\markup { "" \raise #8 "" }
e e
        <<
{ d d }
        \context Ossia { \OssiaOffset
b2 ( c4 d8 e ) f,2 f
        } %end Ossia
        >>
e1 e e e e e
                } %end relative
                \layout {
linewidth = 3.0\in
        \context { \Score
\consists Span_bar_engraver
\remove   System_start_delimiter_engraver
\accepts  "Ossia" }
        \context { \Staff
\name     "Ossia"
\remove   "Clef_engraver"
\remove   "Time_signature_engraver"
\remove   "Key_engraver" }
                } %end layout
                        } %end score
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

-----Original Message-----
From: Mats Bengtsson [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 12, 2005 6:29 AM
To: Fairchild
Cc: lilypond-user@gnu.org
Subject: Re: Ossia up?




Fairchild wrote:

>Mats -
>
>Thanks for the response - but alignBelowContext and alignAboveContext 
>aren't found in v2.4.6?
>  
>
Correct! The best option I can think of is to start the ossia Staff context
at the top of the score, beginning with \skip 1*24 or whatever, and use the
\RemoveEmptyStaffContext feature so it isn't printed until the score line
where you have the ossia. This won't let you have an ossia that starts in
the middle of a line, but at least if it's in the middle of a 
long
piece, you can add a \break to make sure that it starts at the beginning of
a score line, if you think that looks better.

   /Mats





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

Reply via email to