[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Create Shortcut for minimumFret
From: |
David Kastrup |
Subject: |
Re: Create Shortcut for minimumFret |
Date: |
Mon, 22 Apr 2013 21:43:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Kale Good <address@hidden> 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