+@funindex \inStaffSegno
+@cindex ripetizioni, con segno
+@cindex segno, con ripetizioni
+
+Il comando @code{\inStaffSegno} può essere usato per generare una stanghetta
+composita che incorpora il simbolo di segno nella stanghetta di ripetizione
+appropriata se usato col comando @code{\repeat volta}. Il tipo corretto di
+stanghetta di ripetizione, ovvero inizio della ripetizione, fine della
+ripetizione e doppia ripetizione, viene selezionato automaticamente. Il
+corrispondente segno @qq{D.S.} deve essere agiunto manualmente.
+
+Lontano da una ripetizione:
+
+@lilypond[verbatim,quote,relative=1]
+e1
+\inStaffSegno
+f2 g a b
+c1_"D.S." \bar "|."
+@end lilypond
+
+All'inizio di una ripetizione:
+
+@lilypond[verbatim,quote,relative=1]
+e1
+\repeat volta 2 {
+ \inStaffSegno % start repeat
+ f2 g a b
+}
+c1_"D.S." \bar "|."
+@end lilypond
+
+Alla fine di una ripetizione:
+
+@lilypond[verbatim,quote,relative=1]
+e1
+\repeat volta 2 {
+ f2 g a b
+ \inStaffSegno % end repeat
+}
+f2 g a b
+c1_"D.S." \bar "|."
+@end lilypond
+
+Tra due ripetizioni:
+
+@lilypond[verbatim,quote,relative=1]
+e1
+\repeat volta 2 {
+ f2 g a b
+}
+\inStaffSegno % double repeat
+\repeat volta 2 {
+ f2 g a b
+}
+c1_"D.S." \bar "|."
+@end lilypond
+
+
+Si possono impostare simboli alternativi delle stanghette modificando nel
+contesto Score le proprietà @code{segnoType}, @code{startRepeatSegnoType},
+@code{endRepeatSegnoType} o @code{doubleRepeatSegnoType} per il tipo di
+stanghetta richiesto. I tipi di stanghetta alternativi devono essere
+selezionati dai tipi predefiniti o dai tipi precedentemente definiti col
+comando @code{\defineBarLine} (vedi @ref{Bar lines}).
+
+@lilypond[verbatim,quote,relative=1]
+\defineBarLine ":|.S[" #'(":|." "S[" "")
+\defineBarLine "]" #'("]" "" "")
+e1
+\repeat volta 2 {
+ f2 g a b
+ \once \set Score.endRepeatSegnoType = ":|.S["
+ \inStaffSegno
+}
+f2 g \bar "]" a b
+c1_"D.S." \bar "|."
+@end lilypond
+
+
+@lilypond[verbatim,quote,relative=1]
+e1
+\repeat volta 2 {
+ \inStaffSegno
+ f2 g a b
+}
+c1_"D.S." \bar "|."
+@end lilypond
+