]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/positioning-segno-and-coda-with-line-break.ly
Merge remote-tracking branch 'origin/master' into translation
[lilypond.git] / Documentation / snippets / positioning-segno-and-coda-with-line-break.ly
index 690738975af0b59876e6b42d85c9eb0694faca3d..9444c97a141d60e48c87480bc53fdf2424caac13 100644 (file)
@@ -1,10 +1,10 @@
 %% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
 
 \header {
   lsrtags = "breaks, repeats, symbols-and-glyphs, workaround"
@@ -58,7 +58,7 @@ line.
     % Here begins the trickery!
     % \cadenzaOn will suppress the bar count and \stopStaff removes the staff lines.
     \cadenzaOn
-      \stopStaff
+    \stopStaff
         % Some examples of possible text-displays
 
         % text line-aligned
@@ -90,33 +90,33 @@ line.
           \bar ""
         }
         % Resume bar count and show staff lines again
-     \startStaff
-   \cadenzaOff
+    \startStaff
+    \cadenzaOff
 
-   % Should Coda be on new line?
-   % Coda NOT on new line: DON'T use \break
-   % Coda on new line: use \break
-   \break
+    % Should Coda be on new line?
+    % Coda NOT on new line: DON'T use \break
+    % Coda on new line: use \break
+    \break
 
-   % Show up, you clef and key!
-   \once \override Staff.KeySignature.break-visibility = #end-of-line-invisible
-   \once \override Staff.Clef.break-visibility = #end-of-line-invisible
+    % Show up, you clef and key!
+    \once \override Staff.KeySignature.break-visibility = #end-of-line-invisible
+    \once \override Staff.Clef.break-visibility = #end-of-line-invisible
 
-   % Set coda sign as rehearsal mark and adjust size and position
+    % Set coda sign as rehearsal mark and adjust size and position
 
-   % Put the coda sign ontop of the (treble-)clef dependend on coda's line-position
+    % Put the coda sign ontop of the (treble-)clef dependend on coda's line-position
 
-   % Coda NOT on new line, use this:
-   % \once \override Score.RehearsalMark.extra-offset = #'( -2 . 1.75 )
+    % Coda NOT on new line, use this:
+    % \once \override Score.RehearsalMark.extra-offset = #'( -2 . 1.75 )
 
-   % Coda on new line, use this:
-   \once \override Score.RehearsalMark.extra-offset = #'( -4.5 . 0 )
+    % Coda on new line, use this:
+    \once \override Score.RehearsalMark.extra-offset = #'( -5 . .5 )
 
-   \once \override Score.RehearsalMark.font-size = #5
-   \mark \markup { \musicglyph #"scripts.coda" }
+    \once \override Score.RehearsalMark.font-size = #5
+    \mark \markup { \musicglyph #"scripts.coda" }
 
-   % The coda
-   \repeat unfold 5 {
+    % The coda
+    \repeat unfold 6 {
       c4 c c c
     }
     \bar"|."