lilypond-user
[Top][All Lists]
Advanced

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

Re: string-lines


From: Mark Polesky
Subject: Re: string-lines
Date: Thu, 9 Jul 2009 13:34:57 -0700 (PDT)

Jonathan Kulp wrote:
> A TODO is to turn it into a scheme function whereby you could
> just type something like \stringNumberSpanner "5" to set all of
> these parameters:
>
> \override TextSpanner #'style = #'solid
> \override TextSpanner #'font-size = #-5
> \override TextSpanner #'(bound-details left stencil-align-dir-y)
>    = #CENTER
> \override TextSpanner #'(bound-details left text) = \markup {
>   \circle \number 5
> }
>
> Right now each string number in the snippet has its own
> definition, which is not very elegant.  I just got a Scheme
> programming language book for my birthday (yeah!) so maybe this
> will be my first project. :)

You don't need any fancy scheme, just a music-function:
http://lilypond.org/doc/v2.13/Documentation/user/lilypond/Simple-substitution-functions

- Mark


      




reply via email to

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