@funindex phrasingSlurDown
@funindex \phrasingSlurNeutral
@funindex phrasingSlurNeutral
+@funindex phrasingSlurDashed
+@funindex \phrasingSlurDashed
+@funindex \phrasingSlurDotted
+@funindex phrasingSlurDotted
+@funindex \phrasingSlurSolid
+@funindex phrasingSlurSolid
Typographically, a phrasing slur behaves almost exactly like a
normal slur. However, they are treated as different objects; a
Simultaneous or overlapping phrasing slurs are not permitted.
+Phrasing slurs can be solid, dotted, or dashed. Solid is the default
+style for phrasing slurs:
+
+@lilypond[verbatim,quote,relative=1]
+c4\( e g2\)
+\phrasingSlurDashed
+g4\( e c2\)
+\phrasingSlurDotted
+c4\( e g2\)
+\phrasingSlurSolid
+g4\( e c2\)
+@end lilypond
+
@predefined
@code{\phrasingSlurUp},
@code{\phrasingSlurDown},
-@code{\phrasingSlurNeutral}.
+@code{\phrasingSlurNeutral},
+@code{\phrasingSlurDashed},
+@code{\phrasingSlurDotted},
+@code{\phrasingSlurSolid}.
@seealso
slurDown = \override Slur #'direction = #DOWN
slurNeutral = \revert Slur #'direction
-%% There's also dash, but setting dash period/length should be fixed.
slurDashed = {
\override Slur #'dash-period = #0.75
\override Slur #'dash-fraction = #0.4
phrasingSlurDown = \override PhrasingSlur #'direction = #DOWN
phrasingSlurNeutral = \revert PhrasingSlur #'direction
+phrasingSlurDashed = {
+ \override PhrasingSlur #'dash-period = #0.75
+ \override PhrasingSlur #'dash-fraction = #0.4
+}
+phrasingSlurDotted = {
+ \override PhrasingSlur #'dash-period = #0.75
+ \override PhrasingSlur #'dash-fraction = #0.1
+}
+phrasingSlurSolid = {
+ \revert PhrasingSlur #'dash-period
+ \revert PhrasingSlur #'dash-fraction
+}
+
mergeDifferentlyDottedOn = {
\override Staff.NoteCollision #'merge-differently-dotted = ##t
}