Ezequiel:

how can i make all my chord name be placed inside parenthesis

You can follow Erik's generous examples and instructions: "try learning Scheme basics and read about tweaks in the manual, and then try to understand exactly what I meant in my previous suggestion, and finally try to correct the errors I made."

I did what Erik said, and came up with the attached examples -- I believe they answer your question. [Difference between the two examples: the second uses larger parentheses.]

Regards,
Kieren.

p.s. Graham: you're cc'ed because this is a useful tip/trick (I think)...

__________________________________

%%%  CODE SNIPPET BEGINS
\version "2.9.10"

#(define (parenthesis-ignatzek-chord-names in-pitches bass inversion context) (markup #:line ("(" (ignatzek-chord-names in-pitches bass inversion context) ")")))

chordset = \chordmode
{
        \set chordNameFunction = #parenthesis-ignatzek-chord-names
        c1:7 g1:7
}

\score
{
        \new ChordNames \chordset
}
%%%  CODE SNIPPET ENDS

%%%  CODE SNIPPET BEGINS
\version "2.9.10"

#(define (parenthesis-ignatzek-chord-names in-pitches bass inversion context) (markup #:vcenter #:line ( #:fontsize 2 "(" (ignatzek-chord-names in-pitches bass inversion context) #:fontsize 2 ")")))

chordset = \chordmode
{
        \set chordNameFunction = #parenthesis-ignatzek-chord-names
        c1:7 g1:7
}

\score
{
        \new ChordNames \chordset
}
%%%  CODE SNIPPET ENDS


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to