LilyJazz major 7 triangle symbol
I'm getting started using lilyjazz to write Jazz-styled music. I'd like to get the Realbook-like notation that I'm used to featuring a triangle to denote a major seven.
the jazzchords.ily stylesheet comes in pretty handy, but I'm struggling to find a proper substitution for the "M":
% for major chords, use "acMaj" to print a small "M"
#(define-markup-command (acMaj layout props extension) (string?)
(interpret-markup layout props
(markup #:super "M" #:super extension)))
Any suggestions?
1 Comments
Sorted by latest first Latest Oldest Best
There doesn't seem to be a triangle figure in the lilyjazz fonts, so following ggcg's comments, you could try altering jazzchords.ily to have instead:
% for major chords, use "acMaj" to print a small triangle
#(define-markup-command (acMaj layout props extension) (string?)
(interpret-markup layout props
(markup #:super #:char 916 #:super extension)))
Whether this mix of Unicode with the lilyjazz font is aesthetically superior is up to you.
Terms of Use Privacy policy Contact About Cancellation policy © freshhoot.com2026 All Rights reserved.