]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/printing-a-repeat-sign-at-the-beginning-of-a-piece.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / printing-a-repeat-sign-at-the-beginning-of-a-piece.ly
index 51e2f79b335fa902429546fcc8c826260cf77d9e..f2d620be9e9b5ce4aa56d5f4df2a3ca38715245d 100644 (file)
@@ -1,36 +1,14 @@
-%% Do not edit this file; it is automatically
+%% DO NOT EDIT this file manually; it is automatically
 %% generated from LSR http://lsr.dsi.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.13.10"
+\version "2.16.0"
 
 \header {
   lsrtags = "repeats, tweaks-and-overrides"
 
-%% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
-  texidoces = "
-Se puede imprimir una línea divisoria de la forma @code{|:} al
-principio de la pieza, sobreescribiendo la propiedad correspondiente:
-
-"
-  doctitlees = "Imprimir puntos de repetición al prinicpio de la pieza"
-
-%% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
-  texidocde = "
-Ein @code{|:}-Taktstrich kann auch zu Beginn eines Stückes ausgegeben werden, indem
-man die entsprechende Eigenschaft verändert:
-
-"
-  doctitlede = "Ein Wiederholungszeichen zu Beginn eines Stückes ausgeben"
-%% Translation of GIT committish: e98b2d804c2a136edfa28adc894bb584f676c884
-  texidocfr = "
-Bien qu'allant à l'encontre des usages en matière de gravure, vous
-imprimerez une barre de reprise (@code{|:}) en début de partition si
-vous surchargez la propriété adéquate :
-
-"
-  doctitlefr = "Impression d'une barre de reprise en début de morceau"
-
-
   texidoc = "
 A @code{|:} bar line can be printed at the beginning of a piece, by
 overriding the relevant property:
@@ -39,22 +17,26 @@ overriding the relevant property:
   doctitle = "Printing a repeat sign at the beginning of a piece"
 } % begin verbatim
 
+
 \relative c'' {
   \once \override Score.BreakAlignment #'break-align-orders =
-        #(make-vector 3 '(instrument-name
-                          left-edge
-                          ambitus
-                          span-bar
-                          breathing-sign
-                          clef
-                          key-signature
-                          time-signature
-                          staff-bar
-                          custos
-                          span-bar))
+    #(make-vector 3 '(instrument-name
+                      left-edge
+                      ambitus
+                      breathing-sign
+                      clef
+                      key-signature
+                      time-signature
+                      staff-bar
+                      custos))
+  \once \override Staff.TimeSignature #'space-alist =
+    #'((first-note . (fixed-space . 2.0))
+       (right-edge . (extra-space . 0.5))
+       ;; free up some space between time signature
+       ;; and repeat bar line
+       (staff-bar . (extra-space . 1)))
   \bar "|:"
   c1
   d1
   d4 e f g
 }
-