Anthony W. Youngman wrote:

In message <[EMAIL PROTECTED]>, Mats Bengtsson <[EMAIL PROTECTED]> writes

Sorry, I'll learn to read some time. However, if you want boxed
bar numbers, then I propose to take a look at the example
bar-number-regular-interval.ly in the Tips and Tricks document,
which automatically gives boxed bar numbers at regular intervals
without any \mark commands in the code.


Except that's NOT what is wanted. What is wanted is a rehearsal mark, which is normally used at the start of a segue or new melody - ie at random not regular intervals.

For example, the piece I've just been doing (admittedly I've been using letters) has marks at various intervals - sometimes 4, often 8, sometimes 12 bars.

And just this evening I've been playing pieces marked up exactly as the OP referred to - using bar numbers as rehearsal marks at random intervals. This is *typical* of medley-style Concert Band pieces.

Since you have to manually place the \mark commands anyway it might not be that much more trouble to just put the bar numbers in manually. You can just put this at the beginning to avoid having to use \markup and \box and \mark
\override Score.RehearsalMark #'print-function =
#(make-stencil-boxer 0.15 0.3 0.3 Text_interface::print)


OTOH if you don't know ahead of time what the bar numbers will be (maybe you want to move things around) it would be great to know how to build an expression which will get the current bar number and put it into the \mark. It looks like Christian might be close. It would be great to have an answer to Christian's original question.

Paul Scott



_______________________________________________
lilypond-devel mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to