From: Trevor Daniels Date: Thu, 18 Jun 2009 09:02:31 +0000 (+0100) Subject: Docs: LM 4.3.1 Tweaks: Example of point-stencil X-Git-Tag: release/2.13.2-0~15 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6e1c4363e86353589fe3a9a7f3107306b9f0718a;p=lilypond.git Docs: LM 4.3.1 Tweaks: Example of point-stencil --- diff --git a/Documentation/user/tweaks.itely b/Documentation/user/tweaks.itely index 56b581d8e1..c0a6e72af9 100644 --- a/Documentation/user/tweaks.itely +++ b/Documentation/user/tweaks.itely @@ -1057,7 +1057,17 @@ Note, though, that setting the @code{stencil} property to @code{#f} will cause errors when the dimensions of the object are required for correct processing. For example, errors will be generated if the @code{stencil} property of the @code{NoteHead} object is set to -@code{#f}. +@code{#f}. If this is the case, you can instead use the +@code{point-stencil} function, which sets the stencil to a object +with zero size: + +@lilypond[quote,verbatim,relative=2] +{ + c c + \once \override NoteHead #'stencil = #point-stencil + c c +} +@end lilypond @subheading break-visibility