Hi,
I'm working with fret diagrams, and have a few questions about the best approach
to define macros and customize the size of the fret diagrams:
1. Are there global overrides for dot-radius, and fret-count?
(something like set-global-staff-size for dot-radius,
or an override that would take effect in some layout context_
2. Can I control the size of the x's and o's independently of the fret diagram
size?
3. Can I have digits in a macro name? Doesn't seem to allow it. (I'd like to
define fret diagram macros for common chord names, like A9)
4. What is the best way to define macros for fret diagrams?
I've checked all the doc. and examples. Here's a sample.
\header{
title = "Fret Diagram Macro Test"
}
\layout{
\context { \markup
\override #'size = #2.5
\override #'(dot-radius . 0.55)
}
}
#(set-global-staff-size 25)
fretANine = _\markup{
\override #'(size . 1.5) \override #'(dot-radius . 0.45) \override
#'(fret-count . 3) \fret-diagram #"6-x;5-o;4-2;3-2;2-o;1-o;"}
fretCoverG = _\markup{
\override #'(size . 1.5) \override #'(fret-count . 3) \fret-diagram
#"6-3;5-x;4-2;3-2;2-o;1-o;"}
ag =
\relative c''{
b4^\fretANine a8 e8 ~ e2 ~e8 a4.^\fretCoverG g4
}
\addlyrics{Long a- go, and yet so }
\version "2.10.0" % necessary for upgrading to future LilyPond versions.
}
\score {
\new Staff {
\ag
}
}
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond