[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Chord Name inside parenthesis
From: |
Kieren MacMillan |
Subject: |
Re: Chord Name inside parenthesis |
Date: |
Sun, 9 Jul 2006 09:52:19 -0400 |
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