X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fprinting-a-repeat-sign-at-the-beginning-of-a-piece.ly;h=b8590edebfd3ca4a581ffb5bbc4f30bd4e088ae7;hb=bc4b56a8dee39a1fa3f40ac329ab0754d46fc56f;hp=f2d620be9e9b5ce4aa56d5f4df2a3ca38715245d;hpb=26a079ca2393d053315ef8dbef626c897dc9645a;p=lilypond.git diff --git a/Documentation/snippets/printing-a-repeat-sign-at-the-beginning-of-a-piece.ly b/Documentation/snippets/printing-a-repeat-sign-at-the-beginning-of-a-piece.ly index f2d620be9e..b8590edebf 100644 --- a/Documentation/snippets/printing-a-repeat-sign-at-the-beginning-of-a-piece.ly +++ b/Documentation/snippets/printing-a-repeat-sign-at-the-beginning-of-a-piece.ly @@ -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