]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/tweaks.itely
Docs: LM 4.3.1 Tweaks: Example of point-stencil
[lilypond.git] / Documentation / user / tweaks.itely
index 56b581d8e1c108b3b2fe88b2eb92441823144068..c0a6e72af90c16228344db8752d83f9ead97f49a 100644 (file)
@@ -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