[Top][All Lists]

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

Re: Boxed bar numbers used as rehearsal marks

From: Mats Bengtsson
Subject: Re: Boxed bar numbers used as rehearsal marks
Date: Wed, 10 Nov 2004 18:08:15 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

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 in the Tips and Tricks document,
which automatically gives boxed bar numbers at regular intervals
without any \mark commands in the code.


Christian Hitz wrote:
The main point of my example is that the rehearsal mark is not a consecutive number but the current bar number.


Am 10.11.2004 um 12:51 schrieb Mats Bengtsson:

A simplified version of what you wrote can be found in


Christian Hitz wrote:

Hi list,
in wind band music I have encountered four types of rehearsal marks: consecutive letters, consecutive numbers, bar numbers at regular intervals and bar numbers at special places. The first three types are explained in the manual. With the help of the manual I could piece together the fourth type. I think the following example would make a good addition to the Rehearsal mark (5.15.3) or Bar number (5.15.4) section.
\header {
    texidoc = "Boxed bar numbers used as rehearsal marks"
\version "2.4.0"
\score {
    \context Staff \transpose  c c' {
    \set Score.markFormatter
        = #(lambda (mark context)
(make-box-markup (number->string (ly:context-property context 'currentBarNumber)))))
        c1 \bar "||" \mark \default c1 c1 \mark \default c1 \bar "|."

        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]