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
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to