schemepairs="".join(schemepairs.split())# split and join again to reduce all whitespaces to single ones.
schemepairs="".join(schemepairs.split())# split and join again to reduce all whitespaces to single ones.
subtextRoot="\\once \\override Staff.KeySignature #'stencil = #(lambda (grob) (ly:stencil-combine-at-edge (ly:key-signature-interface::print grob) Y DOWN (grob-interpret-markup grob (markup #:small \""+pitchmath.pitch2ly[self.root].strip(",").title()+"\")) 3)) "#3 is the space between keysig and text
subtextRoot="\\once \\override Staff.KeySignature #'stencil = #(lambda (grob) (ly:stencil-combine-at-edge (ly:key-signature-interface::print grob) Y DOWN (grob-interpret-markup grob (markup #:small \""+pitchmath.pitch2ly[self.root].strip(",").title()+"\")) 3)) "#3 is the space between keysig and text
schemepairs="".join(schemepairs.split())# split and join again to reduce all whitespaces to single ones.
subtextRoot="\\once \\override Staff.KeySignature #'stencil = #(lambda (grob) (ly:stencil-combine-at-edge (ly:key-signature-interface::print grob) Y DOWN (grob-interpret-markup grob (markup #:small \""+pitchmath.pitch2ly[self.root].strip(",").title()+"\")) 3)) "#3 is the space between keysig and text