Sorry, this line: \override Stem.Y-extent = #grob::always-Y-extent-from-stencil
should have been commented out. Also, I now believe that the behavior of X-offset here is a bug: https://lists.gnu.org/archive/html/bug-lilypond/2021-01/msg00014.html Jean