X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fdrawing-boxes-around-grobs.ly;h=a95c7739b5bebaee032dd021cf4f38c4102c6703;hb=13da8b2;hp=4cf539982e912a324acd11d2b28f7a23ac02bd46;hpb=8860a7700be8348848bba7972ad86ef46721c544;p=lilypond.git diff --git a/Documentation/snippets/drawing-boxes-around-grobs.ly b/Documentation/snippets/drawing-boxes-around-grobs.ly index 4cf539982e..a95c7739b5 100644 --- a/Documentation/snippets/drawing-boxes-around-grobs.ly +++ b/Documentation/snippets/drawing-boxes-around-grobs.ly @@ -1,10 +1,13 @@ -%% Do not edit this file; it is automatically +%% DO NOT EDIT this file manually; it is automatically %% generated from LSR http://lsr.dsi.unimi.it +%% Make any changes in LSR itself, or in Documentation/snippets/new/ , +%% and then run scripts/auxiliar/makelsr.py +%% %% This file is in the public domain. -\version "2.13.20" +\version "2.17.6" \header { - lsrtags = "editorial-annotations, tweaks-and-overrides" + lsrtags = "editorial-annotations, scheme-language, tweaks-and-overrides" texidoc = " The @code{print-function} can be overridden to draw a box around an @@ -14,22 +17,22 @@ arbitrary grob. doctitle = "Drawing boxes around grobs" } % begin verbatim + \relative c'' { - \override TextScript #'stencil = + \override TextScript.stencil = #(make-stencil-boxer 0.1 0.3 ly:text-interface::print) c'4^"foo" - \override Stem #'stencil = + \override Stem.stencil = #(make-stencil-boxer 0.05 0.25 ly:stem::print) - \override Score.RehearsalMark #'stencil = + \override Score.RehearsalMark.stencil = #(make-stencil-boxer 0.15 0.3 ly:text-interface::print) b8 - \revert Stem #'stencil + \revert Stem.stencil + + \revert Flag.stencil c4. c4 \mark "F" c1 } - - -