Positioning segno and coda (without line break)
Appearance
If you want to place an exiting segno sign and add text like “D.S. al Coda” next to it where usually the staff lines are you can use this snippet. The coda will resume in the same line.