X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fchord-modifiers-init.ly;h=24a02b95eca37c7e8b33544b6ba7b7ed126f89ca;hb=becfb1f1b2bcc675fc65cafd26002fb5eaf2d88f;hp=0978d5c938d2ccc982ef6745eb996428fa0b613f;hpb=402045837e7134cdf90d1fcf31768c62227a4936;p=lilypond.git diff --git a/ly/chord-modifiers-init.ly b/ly/chord-modifiers-init.ly index 0978d5c938..24a02b95ec 100644 --- a/ly/chord-modifiers-init.ly +++ b/ly/chord-modifiers-init.ly @@ -1,24 +1,40 @@ -\version "2.1.22" +\version "2.7.39" chordmodifiers = #default-chord-modifier-list -whiteTriangleMarkup = #(make-override-markup - '(font-family . math) (make-simple-markup "M")) -blackTriangleMarkup = #(make-override-markup - '(font-family . math) (make-simple-markup "N")) +whiteTriangleMarkup = \markup { + \triangle ##f + %% 394 capital delta + %#(ly:export (ly:wide-char->utf-8 #x0394)) -ignatzekExceptionMusic = \notes{ + %% 2206 : delta from the symbol font. + % #(ly:export (ly:wide-char->utf-8 #x2206)) + + %% up pointing triangle + % #(ly:export (ly:wide-char->utf-8 #x25B3)) + + %% \override #'(font-encoding . TeX-math) \char #77 +} + +blackTriangleMarkup = \markup { + \triangle ##t + + %% black up pointing triangle +% #(ly:export (ly:wide-char->utf-8 #x25B2)) +} + +ignatzekExceptionMusic = { 1-\markup { "+" } -\markup { \super "o" } % should be $\circ$ ? - -\markup { \super \combine "o" "/" } + -\markup { + %% f8 is o with slash. + \super #(ly:export (ly:wide-char->utf-8 #x00f8)) + } -\markup { \super "o7" } } -ignatzekExceptions = #(sequential-music-to-chord-exceptions - ignatzekExceptionMusic #t) - -partialJazzMusic = \notes{ +partialJazzMusic = { 1-\markup { \normal-size-super "2" } -\markup { "m" } -\markup { \normal-size-super "sus4" } @@ -29,11 +45,13 @@ partialJazzMusic = \notes{ -\markup { "m" }-\markup { \normal-size-super "sus2" } } + %% TODO: compatibility ignatzek code -fullJazzExceptions = #(sequential-music-to-chord-exceptions - ignatzekExceptionMusic #f) +fullJazzExceptions= +#(sequential-music-to-chord-exceptions ignatzekExceptionMusic #f) -partialJazzExceptions = #(sequential-music-to-chord-exceptions - partialJazzMusic #f) +partialJazzExceptions= +#(sequential-music-to-chord-exceptions partialJazzMusic #f) - +ignatzekExceptions = +#(sequential-music-to-chord-exceptions ignatzekExceptionMusic #t)