]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/printing-a-repeat-sign-at-the-beginning-of-a-piece.ly
Imported Upstream version 2.18.0
[lilypond.git] / Documentation / snippets / printing-a-repeat-sign-at-the-beginning-of-a-piece.ly
index f2d620be9e9b5ce4aa56d5f4df2a3ca38715245d..b8590edebfd3ca4a581ffb5bbc4f30bd4e088ae7 100644 (file)
@@ -1,16 +1,17 @@
-%% 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.16.0"
+% 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.6
+\version "2.17.6"
 
 \header {
   lsrtags = "repeats, tweaks-and-overrides"
 
   texidoc = "
-A @code{|:} bar line can be printed at the beginning of a piece, by
+A @code{.|:} bar line can be printed at the beginning of a piece, by
 overriding the relevant property:
 
 "
@@ -18,8 +19,9 @@ overriding the relevant property:
 } % begin verbatim
 
 
+
 \relative c'' {
-  \once \override Score.BreakAlignment #'break-align-orders =
+  \once \override Score.BreakAlignment.break-align-orders =
     #(make-vector 3 '(instrument-name
                       left-edge
                       ambitus
@@ -29,13 +31,13 @@ overriding the relevant property:
                       time-signature
                       staff-bar
                       custos))
-  \once \override Staff.TimeSignature #'space-alist =
+  \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 "|:"
+  \bar ".|:"
   c1
   d1
   d4 e f g