X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fchord-modifiers-init.ly;h=fa98787cca6822d7f9446938ff1d163bf87747bc;hb=150ff905539154877da98ae5d59fcf8938dcda97;hp=3f9beefa72f45f2ec97852f08ae297fde3542b16;hpb=99720923effaa38725040c546cc4cbb9eb034a31;p=lilypond.git diff --git a/ly/chord-modifiers-init.ly b/ly/chord-modifiers-init.ly index 3f9beefa72..fa98787cca 100644 --- a/ly/chord-modifiers-init.ly +++ b/ly/chord-modifiers-init.ly @@ -1,24 +1,45 @@ -\version "2.2.0" +\version "2.4.0" chordmodifiers = #default-chord-modifier-list -whiteTriangleMarkup = #(make-override-markup - '(font-encoding . math) (make-simple-markup "M")) -blackTriangleMarkup = #(make-override-markup - '(font-encoding . math) (make-simple-markup "N")) +whiteTriangleMarkup = \markup { + %% 394 capital delta + %% #(ly:export (ly:wide-char->utf-8 #x0394)) -ignatzekExceptionMusic = \notes{ + + %% need to have symbol; can't deal with TTF yet. + \override #'(font-name . "Symbol") + + %% 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 { + + %% 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" }