Kale Good <[email protected]> writes:
> Hi All,
> I'm using lilypond to create a guitar method book; I'm using a lot of
> tab. I was wondering if there was a way to create a shortcut for \set
> Tabstaff.minimumFret =
>
> I started using this the other day for right hand fingerings
> #(define RH rightHandFinger)
>
> and was hoping something like this would work, but I've not had any
> luck yet.
> #(define TabStaff.minimumFret)
Huh? What's that supposed to be?
Somewhat amusingly, in 2.17.6 (?) or later you can write
#(define tmf '(TabStaff minimumFret))
{ \set \tmf = 7 }
But you are more likely angling for
tmf =
#(define-music-function (parser location fret) (index?)
#{ \set TabStaff.minimumFret = #fret #})
{ \tmf 5 }
or similar.
--
David Kastrup
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user