]> git.donarmstrong.com Git - lilypond.git/commitdiff
NR: 1.4.1 Replaced deprecated snippet w\ @lilypond
authorJames Lowe <pkx166h@gmail.com>
Sat, 8 Feb 2014 20:24:17 +0000 (20:24 +0000)
committerJames Lowe <pkx166h@gmail.com>
Mon, 17 Feb 2014 09:03:44 +0000 (09:03 +0000)
Issue 3801

Removed reference to snippet and added a suitable
@lilypond example.

Also removed snippet from ../snippets/new/..

Documentation/notation/repeats.itely
Documentation/snippets/new/printing-a-repeat-sign-at-the-beginning-of-a-piece.ly [deleted file]

index ba57fe22b02d856a08b4e794472287b661ba982b..77defacb7879ad6885d605883da6beedde68574c 100644 (file)
@@ -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 (file)
index 1bdd351..0000000
+++ /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
-}