]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/drawing-boxes-around-grobs.ly
fd068efd4ef138345d46f15893193987a50df973
[lilypond.git] / Documentation / snippets / drawing-boxes-around-grobs.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.15.40"
8
9 \header {
10   lsrtags = "tweaks-and-overrides, scheme-language, editorial-annotations"
11
12 %% Translation of GIT committish: 30339cb3706f6399c84607426988b25f79b4998c
13   texidocfr = "
14 La fonction @code{print} peut se modifier pour obtenir l'encadrement de
15 n'importe quel objet.
16
17 "
18   doctitlefr = "Encadrement d'objets"
19
20   texidoc = "
21 The @code{print-function} can be overridden to draw a box around an
22 arbitrary grob.
23
24 "
25   doctitle = "Drawing boxes around grobs"
26 } % begin verbatim
27
28
29 \relative c'' {
30   \override TextScript #'stencil =
31     #(make-stencil-boxer 0.1 0.3 ly:text-interface::print)
32   c'4^"foo"
33
34   \override Stem #'stencil =
35     #(make-stencil-boxer 0.05 0.25 ly:stem::print)
36   \override Score.RehearsalMark  #'stencil =
37     #(make-stencil-boxer 0.15 0.3 ly:text-interface::print)
38   b8
39
40   \revert Stem #'stencil
41
42   \revert Flag #'stencil
43   c4. c4
44   \mark "F"
45   c1
46 }
47
48
49