X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fdrawing-boxes-around-grobs.ly;h=8059c2d011e34a79c549c3931e003c4a5bb8ce60;hb=f1b23dd196d0fe5b47f3baf6bf6b9afccf81adef;hp=473d51eeed7e34108a8b843f0ade545da1a3faa6;hpb=f22c889b1389cb7d761580762fe77973780f2f86;p=lilypond.git diff --git a/Documentation/snippets/drawing-boxes-around-grobs.ly b/Documentation/snippets/drawing-boxes-around-grobs.ly index 473d51eeed..8059c2d011 100644 --- a/Documentation/snippets/drawing-boxes-around-grobs.ly +++ b/Documentation/snippets/drawing-boxes-around-grobs.ly @@ -1,13 +1,13 @@ %% DO NOT EDIT this file manually; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it +%% generated from LSR http://lsr.di.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.15.40" +\version "2.18.0" \header { - lsrtags = "scheme-language, 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 @@ -17,21 +17,19 @@ 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 Flag #'stencil + \revert Stem.stencil + \revert Flag.stencil c4. c4 \mark "F" c1