]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/drawing-boxes-around-grobs.ly
Merge master into nested-bookparts
[lilypond.git] / input / lsr / drawing-boxes-around-grobs.ly
1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 \version "2.11.62"
4 \header {
5   lsrtags = "tweaks-and-overrides"
6   texidoc = "
7 The @code{print-function} can be overridden to draw a box around an
8 arbitrary grob.
9 "
10   doctitle = "Drawing boxes around grobs"
11 } % begin verbatim
12
13 \relative c'' {
14   \override TextScript #'stencil =
15     #(make-stencil-boxer 0.1 0.3 ly:text-interface::print)
16   c'4^"foo"
17
18   \override Stem #'stencil =
19     #(make-stencil-boxer 0.05 0.25 ly:stem::print)
20   \override Score.RehearsalMark  #'stencil =
21     #(make-stencil-boxer 0.15 0.3 ly:text-interface::print)
22   b8
23   
24   \revert Stem #'stencil
25   c4. c4
26   \mark "F"
27   c1
28 }