[Top][All Lists]

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

Re: bar counters

From: Mats Bengtsson
Subject: Re: bar counters
Date: Tue, 16 Jan 2007 10:45:13 +0100
User-agent: Thunderbird (X11/20061206)

As you know, it's already possible to get bar numbers on every single measure (or every 5th or whatever) but they will be printed on top of the bar lines.
The only new feature I can see in Werner's request is the possibility to
typeset bar numbers centered over each measure. The obvious syntax for
such an option would be a normal property setting, right?


Werner LEMBERG wrote:
     \tag #'tuba \barCounterOn
     c r g\< r |
     c r g r |
     c r g r |
     c\f r g r |
     \tag #'tuba \barCounterOff
Please also add a feature to make the number visible/invisible. A
lot of the music I see starts counting on the first bar, but only
starts displaying the counter about, say, bar 4.

A simple extension to my suggested syntax would be this:

     \tag #'tuba \barCounterOn #4
     c r g\< r |
     c r g r |
     c r g r |
     c\f r g r |
     \tag #'tuba \barCounterOff

Alternatively, you could add an option whereby you tell
\barCounterOn what number to start counting at.

Yep.  This seems to be an easier solution since it moves the logic
from lilypond to the user.


lilypond-devel mailing list

        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden

reply via email to

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