lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Box around chord notation


From: William Marchant
Subject: Re: Box around chord notation
Date: Tue, 09 May 2017 15:37:42 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Klaus,

Thank you.  It is beautiful.

Bill


On 2017-05-09 04:34 AM, Klaus Blum wrote:
Hi Bill,


William Marchant wrote
I cannot find how to put a box around a chord notation.
not perfect, but maybe a start:

%
---------------------------------------------------------------------------------
#(define (boxed-ignatzek-chord-names in-pitches bass inversion context)
    (markup #:box ( ignatzek-chord-names in-pitches bass inversion context
)))

boxed = #(define-music-function (parser location griffe) (ly:music?)
            #{
              \set chordNameFunction = #boxed-ignatzek-chord-names
              $griffe
              \set chordNameFunction = #ignatzek-chord-names
            #})

\chords {
   c \boxed d:m \boxed f e:m
}
%
---------------------------------------------------------------------------------

Cheers,
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Box-around-chord-notation-tp203006p203008.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user





reply via email to

[Prev in Thread] Current Thread [Next in Thread]