lilypond-user
[Top][All Lists]
Advanced

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

Re: make \breath (kind-of) ignore clef change


From: David Kastrup
Subject: Re: make \breath (kind-of) ignore clef change
Date: Thu, 26 May 2022 17:45:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Werner LEMBERG <wl@gnu.org> writes:

>> [git f326290b65351]
>> 
>> Please have a look at the attached image.  What must I do to make
>> the breathe sign 'ignore' the change clef so that the breathe sign
>> is positioned as if the change clef wasn't there?
>
> Well, having some code certainly helps :-)
>
> ```
> { <a' e''>1 \breathe | <g' d''> }
>
> { <a' e''>1 \breathe \clef alto | <a e'> }
> ```

For some semblance of "works", this works for me:

squashed =
\once
\propertyTweak stencil
#(grob-transformer 'stencil (lambda (grob old)
                             (ly:stencil-aligned-to old X RIGHT)))
\etc

{ <a' e''>1 \breathe | <g' d''> }

{ <a' e''>1 \breathe \squashed Staff.Clef \clef alto | <a e'> }

-- 
David Kastrup

reply via email to

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