+\version "2.8.0"
+
\header{
texidoc="
-Folded. This doesn't make sense without alternatives, but it works.
-";
+Folded repeat may not make sense without alternatives, and there
+should not be more alternatives than repeats.
+"
}
-\score { \notes\context Staff\relative c'' {
-\repeat fold 3 { c^"3$\\times$ 0alt" d }
-% less alts than body
-\repeat fold 4 { c^"4$\\times$ 2alt" d } \alternative { e f }
-% more alts than body
-\repeat fold 2 { c^"2$\\times$ 3alt" d } \alternative { e f g }
-}}
+\paper { ragged-right = ##t }
+
+\context Staff \relative c'' {
+ \repeat fold 3 { c^"3x 0alt" d }
+ % less alts than body
+ \repeat fold 4 { c^"4x 2alt" d } \alternative { e f }
+ % more alts than body
+ \repeat fold 2 { c^"2x 3alt" d } \alternative { e f g }
+ }
+