bell notificationshomepageloginNewPostedit profiledmBox

Hoots : Lilypond acciaccatura slur position Lilypond issue: I'm trying to get the slurs in acciaccatura to look like this (generated in Musescore): Notice that the slur is beneath the grace note. However, Lilypond insists on putting - freshhoot.com

10% popularity   0 Reactions

Lilypond acciaccatura slur position
Lilypond issue: I'm trying to get the slurs in acciaccatura to look like this (generated in Musescore):

Notice that the slur is beneath the grace note. However, Lilypond insists on putting the slur above:

In voice one for the bar in question I have:

acciaccatura d8( -4 <c a>4) -2 -1 <g b>4 e4 rest |

and in the second voice I have:

e2 e'4

I've tried (and failed) to find something like this in the manual and the snippets.Is it possible to move the slur?


Load Full (3)

Login to follow hoots

3 Comments

Sorted by latest first Latest Oldest Best

10% popularity   0 Reactions

To me, the easiest change is to include once override Slur #'direction = #DOWN immediately preceding the acciaccatura. This produces:

version "2.19.82"

line = relative c'' {
key g major
time 3/4
<<
{
once override Slur #'direction = #DOWN
acciaccatura d8-4 <c a>4-2-1 <g b>4 r4 |
}

{
e,2 e'4 |
}
>>
}

score {
new Staff line
layout { }
}

Or, if the slur moving to C is a necessity, you can skip all of this and just input slashedGrace d8-4_( <c) a>4-2-1:

line = relative c'' {
key g major
time 3/4
<<
{
slashedGrace d8-4_( <c) a>4-2-1 <g b>4 r4 |
}

{
e,2 e'4 |
}
>>
}

score {
new Staff line
layout { }
}


10% popularity   0 Reactions

Thanks to everyone for the suggestions. They have helped me narrow down the issues.

I have now found a way to get the look I want:

override Flag.stroke-style = #"grace" d8_(-4 <c) a>4 -2 -1
<g b>4 e4 rest

Which generates:

Its slightly more complicated than I'd have liked, but there you go. Of course, if anyone can spot an easier solution I'd love to hear about it.


10% popularity   0 Reactions

Put _ before the ( which represents the slur.

version "2.18.2"

{
time 3/4
key g major
acciaccatura d''8_( <c'' a'>4) <g'b'> r4
}

If Lilypond does the opposite, and curves the slur down when you want it up, put a ^ before the (.


Back to top Use Dark theme