Re: Box around chord notation

2017-05-09 Thread William Marchant

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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Box around chord notation

2017-05-09 Thread Klaus Blum
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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Box around chord notation

2017-05-08 Thread William Marchant
I cannot find how to put a box around a chord notation.  There must be a 
way, but it eludes me.  Any help please.


Bill


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user