lilypond-user
[Top][All Lists]
Advanced

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

Re: non-numeric bar "numbers"


From: Mats Bengtsson
Subject: Re: non-numeric bar "numbers"
Date: Thu, 17 Aug 2006 16:44:54 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417

It shouldn't be hard to make a modified version of one of the standard
functions format-mark-alphabet, format-mark-numbers, ... that are available
in LilyPond and use
\set Score.markFormatter = #whatever-I-call-my-own-fancy-formatter
However, the automatic incrementation of the number is implemented in
C++ today and only handles a single counter, so if you want two of them
(I'm not sure I understand exactly what you want), you would probably have
to handle the other counter as a property that is read and set by your formatter
function.

  /Mats

Paul Scott wrote:

Some show music uses more than just numbers for bar identification for certain bars. For example an introduction might be "numbered" A, B, C, etc. and then inserted bars may be "numbered" 67A, 67B, etc. What would it cost to sponsor something like: currentBarNumber = (#number . #letter) where if the letter was present it would be incremented instead of the number?

Thanks,

Paul Scott


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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