From: James Lowe Date: Sat, 8 Feb 2014 20:24:17 +0000 (+0000) Subject: NR: 1.4.1 Replaced deprecated snippet w\ @lilypond X-Git-Tag: release/2.19.3-1~20 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=637c074;p=lilypond.git NR: 1.4.1 Replaced deprecated snippet w\ @lilypond Issue 3801 Removed reference to snippet and added a suitable @lilypond example. Also removed snippet from ../snippets/new/.. --- diff --git a/Documentation/notation/repeats.itely b/Documentation/notation/repeats.itely index ba57fe22b0..77defacb78 100644 --- a/Documentation/notation/repeats.itely +++ b/Documentation/notation/repeats.itely @@ -94,6 +94,16 @@ c2 d \repeat volta 2 { d4 e f g } @end lilypond +An @q{opening} repeat mark is not, by default, printed in the first full +measure. However it is possible to add one by using @code{\bar ".|:"} +before the first note. + +@lilypond[verbatim,fragment,quote,relative=2] +\repeat volta 2 { \bar ".|:" c4 d e f } +c2 d +\repeat volta 2 { d4 e f g } +@end lilypond + Alternative endings can be produced using @code{\alternative}. Each group of alternatives must be themselves, enclosed in a set of braces. @@ -519,12 +529,6 @@ voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } } } @end lilypond - -@snippets - -@lilypondfile[verbatim,quote,texidoc,doctitle] -{printing-a-repeat-sign-at-the-beginning-of-a-piece.ly} - @seealso Notation Reference: @ref{Bar lines}, diff --git a/Documentation/snippets/new/printing-a-repeat-sign-at-the-beginning-of-a-piece.ly b/Documentation/snippets/new/printing-a-repeat-sign-at-the-beginning-of-a-piece.ly deleted file mode 100644 index 1bdd351b99..0000000000 --- a/Documentation/snippets/new/printing-a-repeat-sign-at-the-beginning-of-a-piece.ly +++ /dev/null @@ -1,36 +0,0 @@ -\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 -overriding the relevant property: - -" - doctitle = "Printing a repeat sign at the beginning of a piece" -} - - -\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 -}