lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applying a tweak or callback to an \after-ed grob


From: David Kastrup
Subject: Re: applying a tweak or callback to an \after-ed grob
Date: Sat, 08 Oct 2016 20:13:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Kieren MacMillan <address@hidden> writes:

> Hi all,
>
> I’ve been using David K’s lovely \after function (which should, IMO, be 
> polished up and rolled into the distro!) to great effect in my recent 
> engravings.
>
> However, I’m having difficulty figuring out how to apply tweaks to the grobs 
> that are \after-ed.
> For example, see the snippet included below.

Actually, let's do a tweak _without_ changing a lot of code:

> test = {
>     \once \hairpinPoco g1\< g\!
>     \once \hairpinPoco \after 2 \< g1 g\!
> }

test = {
  \once \hairpinPoco g1\< g\!
  \after 2 \single \hairpinPoco \< g1 g\!

Which is more or less the point of having \single: being able to convert
an override into a tweak when nothing else will do.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]