[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: accordion notation - counter bass note
From: |
David Kastrup |
Subject: |
Re: accordion notation - counter bass note |
Date: |
Tue, 13 Jun 2017 18:43:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Gianmaria Lari <address@hidden> writes:
> Perfect!!! Thank you David!
>
> Now, because they are a bit verbose, I would like to create a function with
> parameter.
> This is without parameter:
>
> \version "2.19.60"
> newFinger = \markup \underline \finger 3
> {\clef bass e,_\newFinger }
>
>
> How can I write somethingl ike:
>
> \newFinger #3
>
>
> ?
Well, version 2.19.60 has \etc but it does not work for mixtures of
incomplete music functions and markup commands. So you'd need to do it
the hard way:
newFinger =
#(define-event-function (arg) (number-or-markup?)
#{ -\markup \underline \finger
#(if (number? arg) (number->string arg) arg)
#})
--
David Kastrup
- accordion notation - counter bass note, Gianmaria Lari, 2017/06/13
- Re: accordion notation - counter bass note, David Kastrup, 2017/06/13
- Re: accordion notation - counter bass note, Gianmaria Lari, 2017/06/13
- Re: accordion notation - counter bass note,
David Kastrup <=
- Re: accordion notation - counter bass note, Gianmaria Lari, 2017/06/13
- Re: accordion notation - counter bass note, Simon Albrecht, 2017/06/13
- Re: accordion notation - counter bass note, David Kastrup, 2017/06/13
- Re: accordion notation - counter bass note, Gianmaria Lari, 2017/06/13
- Re: accordion notation - counter bass note, Simon Albrecht, 2017/06/13