> Aren't you missing the context name? Try > > \set Score.proportionalNotationDuration = #(ly:make-moment 1/4)
That definitely helps, thanks! They still don't align exactly, though.... what I think is happening is that the whitespace is identical now, but the bars end up being different lengths because the glyph drawn for the note has different widths, and its not considered in the layout. In other words, the quarter note below the scale, with the horizontal lines drawn through it (again, I apologize for not knowing the musical names), has a different width than a dotted-half note, which is a "." wider than an undotted note. The differences accumulate towards the end of the line. See attached. Sheet music I've seen doesn't seem to care even a little bit how wide the bars are, or whether different lines align vertically or not, its maybe just not something lilypond does, because its not how sheet music is typeset? Musicians just can hear in their head how the pattern repeats, even though its quite hard (for me) to see it on the page?
greensleaves.pdf
Description: Adobe PDF document
\version "2.20.0"
\layout {
%ragged-right = ##t
%ragged-last = ##t
}
\relative c {
\time 3/4
\set Score.proportionalNotationDuration = #(ly:make-moment 1/3)
\partial 4 d' | \break
f2 g4 | a b a | g2 e4 | c d e | f2 d4 | d c d | e2 c4 |
a2 d4 | \break
f2 g4 | a b a | g2 e4 | c d e | f e d | a2 a4 | d2 d4 | d2. | \break
c'2. | c4 b a | g2 e4 | c d e | f2. | d2 d4 | e2 e4 | a,2. | \break
c'2. | c4 b a | g2 e4 | c d e | f e d | a2 a4 | d2. | d2 \bar "|."
}
