[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing fret-diagram muted string symbol
From: |
José Luis Cruz |
Subject: |
Re: Changing fret-diagram muted string symbol |
Date: |
Wed, 21 Mar 2007 19:23:42 +0100 |
Oops, I gave bad advice. The property name is xo-font-magnification.
The included code works, if line 212 is uncommented, and line 213 is commented
in fretdiagrams.scm.
Good, it works now, but half. The 'xo-font-magnification' property
seems to be the only one that doesn't work when the override command
is externalized. I usually override outside the diagram, when I have
to write many diagrams with the same options, to no repeat code
unnecesarily.
This doesn't work
% ------------------
\override TextScript #'xo-font-magnification = #'0.75
d'2 ^\markup { \override #'(finger-code . below-string)
\override #'(dot-position . 0.5)
\override #'(fret-count . 5)
%\override #'(xo-font-magnification . 0.75)
\fret-diagram-terse #"x;x;o;2-1;3-2;2-3;" }
% ----------------
But maybe it's not important if going to rewrite that.
cheers,
layout {
}
\version "2.10.0"
<<
\chords {d2}
{
%% simple D chord
d'2 ^\markup
\override #'(finger-code . below-string) {
\override #'(dot-radius . 0.35) {
\override #'(dot-position . 0.5) {
\override #'(fret-count . 5) {
\override #'(xo-font-magnification . 0.75) {
\fret-diagram-terse #"x;x;o;2-1;3-2;2-3;" }}}}}
}