lilypond-user
[Top][All Lists]
Advanced

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

Re: Moving breath mark horizontally


From: David Kastrup
Subject: Re: Moving breath mark horizontally
Date: Fri, 17 Feb 2023 11:07:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Michael Werner <reznaeous@gmail.com> writes:

> Hi Joei.
>
> Checking the Internals Reference (
> http://lilypond.org/doc/v2.25/Documentation/internals/breathingsign )
> there's an alist for the BreathingSign that contains spacing. Looks like
> the next-note one is what you might be looking for. I gave it a whirl here
> with these results:
>
> music = \relative c'' {
>   c c \breathe c c \break
>   c c \once \override BreathingSign.space-alist = #'((next-note fixed-space
> . -3)
>                                                      (right-edge
> extra-space . 0.1)) \breathe c c
> }
>
> producing:
>
> [image: image.png]
>
> Is that kinda what you were looking to do?
>
> For some reason Lilypond complained if I left out the right-edge
> entry.

It is not that you left out the right-edge entry, it is that you removed
it.  The way you have written your override, it removes all of
space-alist and only leaves the entries you state explicitly.

Instead, try overriding just the entry
BreathingSign.space-alist.next-note (and I prefer using a \tweak here)
such as

\relative c'' {
  c c \breathe c c \break
  c c
  \tweak space-alist.next-note #'(fixed-space . -3) \breathe c c
}
-- 
David Kastrup

reply via email to

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