lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: accordion notation - counter bass note


From: Gianmaria Lari
Subject: Re: accordion notation - counter bass note
Date: Tue, 13 Jun 2017 18:51:06 +0200

It works perfectly thank you David.

What's \etc? Any link to this command?

Thank you!!!
g.

On 13 June 2017 at 18:43, David Kastrup <address@hidden> wrote:
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]