diff --git a/chord_settings.ly b/chord_settings.ly index befee4f..8637930 100644 --- a/chord_settings.ly +++ b/chord_settings.ly @@ -16,6 +16,12 @@ bchord = \revert ChordName.font-series #}) +shiftChord = #(define-music-function (parser location xshift chord) (number? ly:music?) +#{ + \once \override ChordName.extra-offset = #`(,xshift . 0) + $chord +#}) + % kleine Mollakkorde und Alteration ausgeschrieben #(define (note-name->german-markup-nosym pitch lowercase?) (define (pitch-alteration-semitones pitch) (inexact->exact (round (* (ly:pitch-alteration pitch) 2))))