]> git.donarmstrong.com Git - lilypond.git/blob - input/test/boxed-stencil.ly
* tex/GNUmakefile (TEX_FILES): add texinfo.cnf
[lilypond.git] / input / test / boxed-stencil.ly
1
2 \version "2.3.22"
3 \header {
4 texidoc = "@cindex Boxed Stencil
5
6 The @code{print-function} can be overridden to draw a box around an arbitrary 
7 grob. " }
8
9
10  \score {  \relative c''  {
11
12  \override TextScript  #'print-function =
13    #(make-stencil-boxer 0.1 0.3 0.2 Text_interface::print)
14
15    c'4^"foo"
16
17 \override Stem  #'print-function =
18    #(make-stencil-boxer 0.05 0.25 0.25 Stem::print)
19
20 \override Score.RehearsalMark  #'print-function =
21    #(make-stencil-boxer 0.15 0.3 0.3 Text_interface::print)
22       b8
23 \revert Stem #'print-function
24
25       c4. c4 \mark "F" c1 
26    }
27 \layout{raggedright = ##t}
28 }
29