lilypond-user
[Top][All Lists]
Advanced

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

Horizontally aligning mixed articulations in /improvisationOn mode


From: Viktor Mastoridis
Subject: Horizontally aligning mixed articulations in /improvisationOn mode
Date: Thu, 17 Nov 2022 10:07:51 +0000

Hello,

Adding a ^\staccato articulation to \improvisationOn notation renders it correctly, the dot is aligned with the top of the stem.
When adding \upbow however, the articulation is aligned with the note head, being engraved at the left of the stem. 
The same happens in \upbow^\staccato.

I can solve the problem by manually inserting Script.extra-offset per bar, as in the last bar of the example below.
But I wonder whether there's a more elegant solution?

\version "2.22.2"
  {\time 2/4
   \improvisationOn \repeat unfold 2 { a'4^\staccato}
  \repeat unfold 2 { a'4^\upbow}
\repeat unfold 2 { a'4\upbow^\staccato}
  \override Script.extra-offset = #'(0.8 . 0)
\repeat unfold 2 { a'4\upbow^\staccato}
  }
 
---
Viktor Mastoridis
Music producer and educator


reply via email to

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