lilypond-user
[Top][All Lists]
Advanced

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

Re: Chord Name inside parenthesis


From: Ezequiel Sierra
Subject: Re: Chord Name inside parenthesis
Date: Sun, 9 Jul 2006 14:23:24 -0400

Kieren Thanks a lot! You`re the best! I still dont uderstand it, ill read about it, but it works great!



On Jul 9, 2006, at 9:52 AM, Kieren MacMillan wrote:

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







reply via email to

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