]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/drawing-boxes-around-grobs.ly
Add a TODO comment re grace note spacing.
[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.35"
4 \layout { ragged-right= ##t }
5 \header {
6   doctitle = "Drawing boxes around grobs"
7   lsrtags = "tweaks-and-overrides"
8   texidoc = "
9 The @code{print-function} can be overridden to draw a box around an
10 arbitrary grob.  
11 "
12 }
13 % begin verbatim
14 \relative c'' {
15   \override TextScript  #'stencil =
16   #(make-stencil-boxer 0.1 0.3 ly:text-interface::print)
17
18   c'4^"foo"
19
20   \override Stem  #'stencil =
21   #(make-stencil-boxer 0.05 0.25 ly:stem::print)
22
23   \override Score.RehearsalMark  #'stencil =
24   #(make-stencil-boxer 0.15 0.3 ly:text-interface::print)
25   b8
26   \revert Stem #'stencil
27
28   c4. c4 \mark "F" c1
29 }