Positioning segno and coda (with line break): Difference between revisions

Remove outdated comment
mNo edit summary
 
Line 3: Line 3:
<lilypond version="2.24">
<lilypond version="2.24">
\relative c'' {
\relative c'' {
   c4 c c c c c c c c c c c
   c4 c c c | c c c c |
   \repeat segno 2 {
   \repeat segno 2 {
     c4 c c c c c c c
     c4 c c c | c c c c |
     \alternative {
     \alternative {
       \volta 1 {
       \volta 1 {
         c4 c c c c c c c c c c c
         c4 c c c | c c c c |
         % If you don't use \break at Coda, use \noBreak here
         % If you don't use \break at Coda, use \noBreak here
         % and after \bar "" below.
         % and after \bar "" below.
Line 16: Line 16:
         \stopStaff % remove staff lines
         \stopStaff % remove staff lines
         % Increasing the unfold counter will expand the staff-free space
         % Increasing the unfold counter will expand the staff-free space
         \repeat unfold 6 {
         \repeat unfold 4 {
           s1
           s1
           \bar ""
           \bar ""
Line 31: Line 31:
   % Show Coda on a new line
   % Show Coda on a new line
   \break
   \break
   \repeat unfold 8 { c4 c c c }
   \repeat unfold 6 { c4 c c c }
   \fine
   \fine
}
}
</lilypond>
</lilypond>


[[Category:Breaks]]
[[Category:Repeats]]
[[Category:Repeats]]
[[Category:Symbols and glyphs]]
[[Category:Symbols and glyphs]]
[[Category:Breaks]]
[[Category:Workaround]]
[[Category:Workaround]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]
[[Category:Snippet]]