Actually, if you put it in the snippet you sent, it won't compile.  It provides 
an extra unwanted {.  My version compiles with the Ossia where required.  Could 
I suggest you experiment using this as a basis?

--
Phil Holmes


  ----- Original Message ----- 
  From: Richard Opheim 
  To: Phil Holmes 
  Cc: Lilypond user email list 
  Sent: Tuesday, March 08, 2011 10:59 PM
  Subject: Re: alignAboveContext not working


  OK, but if I erase

  "PartPOneVoiceOne =  \relative e' {\clef "treble" \key c \major \time 6/8"

  the file won't compile.

  On Tue, Mar 8, 2011 at 8:09 AM, Phil Holmes <m...@philholmes.net> wrote:

    Here's one solution:

    \version "2.12.3"
    \layout {\context {\Score }}

    \context Staff = "main"
    { e4 e e e 

    <<{ e8 e4 e8 e4 d4. e4 c8 ~}
    \new RhythmicStaff \with {alignAboveContext = #"main" fontSize = #-3 
    \override Stem #'length = #5
    \remove "Time_signature_engraver"
    \remove "Staff_symbol_engraver" 
    \remove "Bar_engraver"}
    {b4 b8 r8 b8 b8 r8 b4 b4 b8}>>
    }

    --
    Phil Holmes


      ----- Original Message ----- 
      From: Richard Opheim 
      To: Lilypond user email list 
      Sent: Tuesday, March 08, 2011 11:05 AM
      Subject: alignAboveContext not working


      Hello. In the code below...

      \version "2.12.3"
      \layout {\context {\Score }}
      PartPOneVoiceOne =  %{Leader %} \relative e' {\clef "treble" \key c 
\major \time 6/8 
      \partial 4. e8 e4
      <<{ e8 e4 e8 e4 d4. e4 c8 ~}
      \new RhythmicStaff \with {alignAboveContext = #"main" fontSize = #-3 
      \override Stem #'length = #5
      \remove "Time_signature_engraver"
      \remove "Staff_symbol_engraver" 
      \remove "Bar_engraver"}
      {b4 b8 r8 b8 b8 r8 b4 b4 b8}>>

      ... the ossia bars show up below the staff. I realize that I should put 
in \new Staff = "main" --- but where?

      Richard Opheim
       





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


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






  -- 

  Richard Opheim
  Home: 425-486-5421
  Cell: 425-381-9213



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

Reply via email to