lilypond-user
[Top][All Lists]
Advanced

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

Re: help scheme TAB strings music-function


From: David Kastrup
Subject: Re: help scheme TAB strings music-function
Date: Tue, 19 Jun 2012 07:53:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> Robby R <address@hidden> writes:
>
>> Hello,
>>
>> I'm a newbie trying to make a function to print string names next to TAB.  
>> I've
>> read the manuals over and over, and searched and searched all the lists.  
>> Here's
>> what I have :
>>
>> % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>>
>> \version "2.14.1" 
>>
>> % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  MACRO DEFINITIONS 
>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
>>
>> setStrTuningCLEF =
>>    #(define-music-function
>>              (parser location tuning)
>>              (list?)
>
> Needs to be markup-list? in 2.14.  Current versions of LilyPond are not
> that picky anymore, but it still makes sense to actually make your
> predicate as restrictive as later uses of it require.

Sigh.  Except that your actual tuning clef is not a markup-list? but
rather a markup? so that is what you should be using here.

>
>>              #{
>>                      \override Staff.InstrumentName
>>    #'self-alignment-X = #RIGHT 
>
> Should give a warning since InstrumentName is not a valid property name
> (yes, upper/lower case are different).

-- 
David Kastrup




reply via email to

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