lilypond-user
[Top][All Lists]
Advanced

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

Re: Box around chord notation


From: Klaus Blum
Subject: Re: Box around chord notation
Date: Tue, 9 May 2017 00:34:40 -0700 (MST)

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.



reply via email to

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