Am 31.12.2018 um 14:56 schrieb Helge Kruse:
It would be perfect to place them in the middle
between the two notes but in the same y-position like the finger
numbers.
I found that this can be entered with two variables:
raus = \once -\tweak Script.X-offset #-2 \upbow
aus = \once -\tweak Script.X-offset #-1 \upbow
The piece has a first movement with a quarter and eighth notes and a
second with eighth and sixteenth notes. I needed to adjust the X offset
differently depending from the overall beat of the movement. So I use
one variable for the slow part the other for the fast part:
common = { \time 3/4 }
slowMovement = \relative c'' {
a4.-3\! g8\raus-4 b-3 c-2 |
d4.-1 s4. s2. s s s \bar "||" }
fastMovement = \relative c'' {
d8-2 d16-2\aus g-1 f-2 e-3 d8-4 d16-2\aus f-1 e-2 c-3 |
s2. s s s s }
\score {
\new Staff { \common \slowMovement \break \fastMovement }
}
This doesn't place the ornament exactly in the middle between the notes
and the names "aus" and "raus" are not very intuitive. But this allows
sufficient tweaking of the X-offset without spreading many code into the
notes.
Thank you, and
Happy New Year!
Helge
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user