return"("+str(step)+" . ,"+"NATURAL)"#explicit is a legacy flag. It is not available to the user. We now (v2.2.0) always export everything explictely to get ly-transposition working
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
#For Transposition in lilypond we need to explicitly export all scheme pairs, not only the one that differ from major.
#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