tekst within \Dynamics
Erik Appeldoorn <[email protected]> Wed, 15 Jul 2026 13:16:39 +0000
| Newsgroups | gmane.comp.gnu.lilypond.general |
|---|---|
| Message-ID | <9rIgWKtBMs9mIaxOs664zy9L47vGAm_qSgQsOfBOLOgWF251mmbgjq7NVQBYT1q8jt_bng_GwVgNf-NG6YyRjgEFQ_EMakVCWWWqUaVabmY=@pm.me> |
I wanted to add a 'Cresc. molto' within the \Dynamics between two piano hands. Using a \Markup within the piano would show it uncentered and out of whack.
I tried
cresMol = \tweak DynamicText.self-alignment-X #LEFT
#(make-dynamic-script (markup #:normal-text #:italic "Cresc. molto" ))
Which looks ok, but showed an error: unbounded AbsoluteDynamicEvent
And I also needed to add a \Whiteout, because it crosses a barline. \Whiteout can't be done within a dynamic-script.
Then made this:
cresMol = {
\once \tweak DynamicText.text \markup { \whiteout \pad-markup #0.3 \normal-text \italic "Cresc. molto" }
\once \tweak DynamicText.self-alignment-X #0
\once \tweak DynamicText.layer #2
\once \tweak DynamicText.whiteout ##t
\p}
Which looks ok when used, but still raises an unbounded AbsoluteDynamicEvent error.
So I could just ignore the error, because the result is just fine. But rather have a proper solution.
invoked like: s\p s4\cresMol | s2. |
it looks like this. How could I solve the error?
[2026-07-15 15 13 52.jpg]
Met vriendelijke groet,
Erik Appeldoorn