]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/printing-a-repeat-sign-at-the-beginning-of-a-piece.ly
Doc: correct texinfo formatting in snippet
[lilypond.git] / Documentation / snippets / printing-a-repeat-sign-at-the-beginning-of-a-piece.ly
index c7ad9c355021c6d2d1cc06af375c7f3b26476c3e..7a4bce37a01cfd3075ed2ceaf6f91cac0dadcbaf 100644 (file)
@@ -1,43 +1,26 @@
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.5
-\version "2.17.5"
+%% DO NOT EDIT this file manually; it is automatically
+%% 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.18.0"
 
 \header {
   lsrtags = "repeats, tweaks-and-overrides"
 
   texidoc = "
-A @code{.|:} bar line can be printed at the beginning of a piece, by
-overriding the relevant property:
+A @code{|:} bar line can be printed at the beginning of a piece.
 
 "
   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
-                      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
+  \repeat volta 2 {
+    c1
+    d1
+    d4 e f g
+  }
 }