On 11/08/2013 01:48 PM, daviau ewen wrote:


I hope that could help you to help me ;)





Ok, here is a more minimal example which hopefully can be a starting point!

\version "2.16.2"

voicei = \relative c''{
  \time 12/4
  r4 e r e ~ e r r e e ~ e r e |
  e r e ~ e r r e e ~ e r r e
}

voiceii = \relative c'{
  \time 12/4
  f4 r f r f r r f r f f f |
  r f ~ f f f r f r f f r f
}

refUp = \relative c''{
  \time 12/4
  \override NoteHead #'transparent = ##t
  \once \override Stem #'color = #red
  b4 b b b b b b b b b b b |
  \once \override Stem #'color = #red
  b4 b b b b b b b b b b b
}
refDwn = \relative c''{
  \time 12/4
  \override NoteHead #'transparent = ##t
  \once \override Stem #'color = #blue
  e4 e e e e e e e e e e e |
  \once \override Stem #'color = #blue
  e4 e e e e e e e e e e e
}

\layout {
  \context {
    \type "Engraver_group"
    \consists "Axis_group_engraver"
    \consists "Note_heads_engraver"
    \consists "Stem_engraver"
    \name "ref"
    \alias "Staff"
  }
  \context {
    \Score
    \accepts ref
  }
}

\score {
  <<
    \new ref \refUp
    \new Staff <<
      \new Voice {\voiceOne \voicei }
      \new Voice {\voiceTwo \voiceii }
    >>
    \new ref \refDwn
  >>
}

Best
Peter

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to