]> git.donarmstrong.com Git - lilypond.git/commit
Issue 2859: Provide \hide and \omit functions for transparent and void glyphs
authorDavid Kastrup <dak@gnu.org>
Wed, 26 Sep 2012 13:06:56 +0000 (15:06 +0200)
committerDavid Kastrup <dak@gnu.org>
Fri, 5 Oct 2012 08:47:49 +0000 (10:47 +0200)
commit44240869b4d78df01ce4751fe7aae4b8d4e9d947
treebf0b7bf84a7ce0d34499dd0b50836e1764a46a69
parentd9329d2828a1f271932175b6f0dab82eb29e1f5d
Issue 2859: Provide \hide and \omit functions for transparent and void glyphs

Both functions take either a grob name to override, or a music
expression to tweak (that is, the type of the argument decides whether
this results in an override or a tweak).

\hide sets #'transparent for the affected grob to ##t,
\omit sets #'stencil for the affected grob to ##f.

Example uses are
\new Voice \with { \omit StringNumber } { c'\4 }
{ <c' \hide g'~> g' }
ly/music-functions-init.ly