[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guitar Fret Diagram - scale degree below string
From: |
Klaus Blum |
Subject: |
Re: Guitar Fret Diagram - scale degree below string |
Date: |
Sun, 16 Aug 2015 12:56:09 -0700 (MST) |
Hi Tone,
tone wrote
> How can I add more space between the bottom of the strings (fret diagram)
> and the scale degrees?
the function produces a column: fret-diagram and the overlay stuff are
"stacked" on top of each other.
Between them, you can insert empty vertical space by \vspace:
%
----------------------------------------------------------------------------------------------------
#(define-markup-command (custom-fret layout props control six five four
three two one)
(string? markup? markup? markup? markup? markup? markup?)
(interpret-markup layout props
#{
\markup {
\override #'(size . 1.5) {
\override #'(fret-diagram-details . (
(number-type . arabic)
(fret-label-vertical-offset . -0.2)
(fret-label-horizontal-offset . -0.3)
(top-fret-thickness . 4)))
\left-column {
\fret-diagram-terse $control
\vspace #0.1 % experiment with that value
\fontsize #-7
\sans
\overlay {
% find the following values by trial-and-error:
\translate #'(-0.1 . 0) \center-align \transparent "."
\translate #'(0.2 . 0) \center-align $six
\translate #'(1.7 . 0) \center-align $five
\translate #'(3.2 . 0) \center-align $four
\translate #'(4.7 . 0) \center-align $three
\translate #'(6.2 . 0) \center-align $two
\translate #'(7.7 . 0) \center-align $one
}
}
}}
#}))
%
----------------------------------------------------------------------------------------------------
Cheers,
Klaus
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Guitar-Fret-Diagram-scale-degree-below-string-tp179664p179707.html
Sent from the User mailing list archive at Nabble.com.
- Prev by Date:
Re: format-mark function for A, B, C, …, X, Y, Z, Aa, Bb, Cc, …
- Next by Date:
Re: format-mark function for A, B, C, …, X, Y, Z, Aa, Bb, Cc, …
- Previous by thread:
Re: Guitar Fret Diagram - scale degree below string
- Next by thread:
Solved: Guitar Chord Fret Diagram With Scale Degree Below String
- Index(es):