On 02/03/2026 12:06, Gabriel Ellsworth wrote:
I am experimenting with ways to optimize the placement of slurs in
stemless music(where note heads do not have stems).
I assume you would like the tips of the slurs to align with the
horizontal centres of the notes. The code below moves the stem
attachment point to the centre of the note head and then omits the stem.
Your other tricks might provide further benefits.
\version "2.25.34"
music = \relative c' {
\clef bass
\key ees \major
\voiceOne % needed in my real music
g( bes,) c( ees)
\voiceTwo % needed in my real music
c( bes) aes( a)
}
\score {
\music
\layout {
\context {
\Voice
\omit Stem
\override NoteHead.stem-attachment = #'(0 . 0)
}
}
}
--
Timothy Lanfear, Bristol, UK.