]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/rehearsal-mark-number.ly
* input/: Convert ly files that still had \property. Fixes make
[lilypond.git] / input / regression / rehearsal-mark-number.ly
1 \header { texidoc= "
2
3 Marks can be printed as numbers.  
4 By setting @code{markFormatter} we may choose a different style of mark printing. Also, marks can be specified manually, with a markup argument" 
5           
6       }
7
8 \version "2.1.22"
9 \score {
10   \notes \relative c''{
11     \set Score.markFormatter = #format-mark-numbers 
12   c1 | \mark \markup { \musicglyph #"scripts-coda" }
13   c1 | \mark \default
14   c1 | \mark \default
15     \set Score.markFormatter = #(lambda (mark  context)
16         (make-bold-markup (make-box-markup (number->string mark))))
17         
18     c1 | \mark \default
19     c1 | \mark \default
20   }
21 }
22