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