lilypond-devel
[Top][All Lists]
Advanced

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

Boxed bar numbers used as rehearsal marks


From: Christian Hitz
Subject: Boxed bar numbers used as rehearsal marks
Date: Wed, 10 Nov 2004 12:02:24 +0100

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.

Christian

\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-bold-markup
(make-box-markup (number->string (ly:context-property context 'currentBarNumber)))))
        
        c1 \bar "||" \mark \default c1 c1 \mark \default c1 \bar "|."
    }
}

--
Christian Hitz
Unterehrendingen, Switzerland
address@hidden     or     address@hidden





reply via email to

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