\version "2.11.57" \header { texidoc = "Straight flag styles." } % test notes, which will be shown in different style: testnotes = { \autoBeamOff c'8 d'16 c'32 d'64 \acciaccatura {c'8} d'64 c''8 d''16 c''32 d''64 \acciaccatura {c''8} d''64 } { \override Score.RehearsalMark #'self-alignment-X = #LEFT \time 2/4 R2 \break \mark "normal" \testnotes % \break \mark "modern straight" \override Stem #'flag = #modern-straight-flag \testnotes \break \mark "old straight (large angles)" \override Stem #'flag = #old-straight-flag \testnotes % \break \mark "custom slant" \override Stem #'flag = #(straight-flag 0.35 0.8 -5 0.5 60 2.0) \testnotes }