Dear LilyPonders,

I have a cueVoice which starts with a 'partial'.
The best way I found to reach that is to replace the cue clef grob:

{
  \clef bass
  \time 3/4
  \compressFullBarRests
  <<
    { R2.*25 }
    \new CueVoice \relative c''' {
      s2.*23
      \override Staff.MultiMeasureRest.staff-position = #-4
      \override Staff.Clef.font-size = #-2
      \once\override Staff.Clef.stencil = #(lambda (grob)
              ly:clef::print (grob-interpret-markup grob
                                  #{
                                    \markup\raise #1
                                    \score {
                                      { cis'''4^. }
                                      \layout {
                                        \context {
                                          \Staff
                                          \clef G
                                          \omit TimeSignature
                                          \omit StaffSymbol
                                          fontSize = #-3.7
                                        }
                                      }
                                    }
                                  #}))
      \clef G
      d2.->
      -\tweak extra-offset #'(-3.5 . 0)
      ^\markup "Fl.Ob.Viol.I"
      c2-> b4-.
      \clef F
    }
  >>
  a,2.
  \revert Staff.Clef.font-size
  \revert Staff.MultiMeasureRest.staff-position
}


Does anyone have a more elegant solution ?

TIA,
Pierre
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to