Folks,

for a solitary bass note I want to have a bass clef, not affecting
anything else in the staff.  How can I fix the attached example?

I guess I need a music function that adjusts the vertical note offset
of the upper voice...


    Werner


======================================================================


\version "2.19.83"

fakeBassClef = {
 \once\set Staff.clefGlyph = #"clefs.F"
 \once\set Staff.clefPosition = #-8
 \once\set Staff.middleCPosition = #6
 \once\override Staff.Clef.font-size = #-3
 \once\override Staff.Clef.full-size-change = ##t
 \once\override Score.BreakAlignment #'break-align-orders =
                  #(make-vector 3 '(span-bar
                                    breathing-sign
                                    staff-bar
                                    key-cancellation
                                    key-signature
                                    time-signature
                                    clef))
}

\relative c' {
  << { c'8 g a g c \once\omit Staff.Clef g a g } \\
     { s2 \fakeBassClef c,,,4\laissezVibrer s4 } >>
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to