[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Custom caesura command
From: |
Werner LEMBERG |
Subject: |
Re: Custom caesura command |
Date: |
Fri, 07 Feb 2014 07:53:27 +0100 (CET) |
> That's rather awful code. \override/\revert are not really working
> all too well for single canned commands like that.
>
> I'd rather use something like
>
> caesura =
> \tweak #'text #(make-musicglyph-markup "scripts.caesura.straight")
> \tweak #'Y-offset #0 \breathe
>
> { c'\caesura d' e' f' }
I suggest that this e-mail exchange is added somehow to the
documentation, this is, starting with a first, not working try,
followed by rather clumsy but working code, to the final, surprisingly
simple solution.
\tweak is indeed LilyPond's Swiss army knife...
Werner