]> git.donarmstrong.com Git - lilypond.git/commit
Issue 2717: Implement \single for converting overrides to tweaks
authorDavid Kastrup <dak@gnu.org>
Sun, 16 Sep 2012 20:04:07 +0000 (22:04 +0200)
committerDavid Kastrup <dak@gnu.org>
Mon, 1 Oct 2012 05:17:16 +0000 (07:17 +0200)
commit8060ec28b2839f70cf0474e5c23eca907ddaa112
tree06b7d8e438dbf8f4a4f740fac56bb4c3dc50bbae
parent2be454ad8f798a8bdd29aadbddaa8d1f84660ebf
Issue 2717: Implement \single for converting overrides to tweaks

\single, like \once, can be applied to music consisting of one or more
overrides.  It translates such an override set, for example
\easyHeadsOn, into a tweak on the following music item, so you can use
it like

{ < \single\easyHeadsOn c' g' >2 q }

inside of a chord and have it only affect a single notehead of the
chord when \once\easyHeadsOn would affect all noteheads.

In that manner, most overrides defined in ly/property-init.ly
are made available as tweaks.
ly/music-functions-init.ly