]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc: Update deprecated \relative syntax.
authorMark Polesky <markpolesky@yahoo.com>
Mon, 19 Apr 2010 07:05:53 +0000 (00:05 -0700)
committerMark Polesky <markpolesky@yahoo.com>
Mon, 19 Apr 2010 07:18:09 +0000 (00:18 -0700)
* Replace "\relative { }" with "\relative c' { }".

Documentation/extending/programming-interface.itely
Documentation/learning/fundamental.itely
Documentation/notation/input.itely
Documentation/notation/spacing.itely
Documentation/usage/latex-example.latex
Documentation/usage/lilypond-book.itely

index ea1bed4520e5ad4958401281bf5e4f45f9884ae9..7045b49daf552eb39878b956aedb8ae00773d19b 100644 (file)
@@ -177,7 +177,7 @@ manualBeam =
   \once \override Beam #'positions = #$beg-end
 #@})
 
-\relative @{
+\relative c' @{
   \manualBeam #'(3 . 6) c8 d e f
 @}
 @end example
@@ -196,7 +196,7 @@ manualBeam =
   \once \override Beam #'positions = #(cons $beg $end)
 #})
 
-\relative {
+\relative c' {
   \manualBeam #3 #6 c8 d e f
 }
 @end lilypond
@@ -850,7 +850,7 @@ note-heads on the center-line:
             (eq? (ly:grob-property grob 'staff-position) 0))
        (set! (ly:grob-property grob 'transparent) #t)))
 
-\relative {
+\relative c' {
   e4 g8 \applyOutput #'Voice #blanker b d2
 }
 @end lilypond
index f8eb8b2c1c8f226e497110300f14a634b1867885..a7501c56146360fe9ae75f9e6d7302ca450efa84 100644 (file)
@@ -754,9 +754,9 @@ See @ref{Visibility and color of objects} and
 @cindex relative note entry and polyphony
 
 Polyphony does not change the relationship of notes within a
-@code{\relative @{ @}} block.  Each note is still calculated
-relative to the note immediately preceding it, or to the first
-note of the preceding chord.  So in
+@code{\relative} block.  Each note is still calculated relative to
+the note immediately preceding it, or to the first note of the
+preceding chord.  So in
 
 @example
 \relative c' @{ noteA << < noteB noteC > \\ noteD >> noteE @}
index bc69dd5808d82ad4fca306e044545698bc209974..163d8c05a0a22e3f49a2ad49b2156b63ab10120a 100644 (file)
@@ -1236,7 +1236,7 @@ portuguese = \lyricmode {
   à vo -- cê uma can -- ção legal
 }
 
-\relative  {
+\relative c' {
   c2 d e f g f e
 }
 \addlyrics { \bulgarian }
index 9a5a7bea28194e1bccdc1deaabc30a8dc847ddab..b1afc3b2bb657a9db18d26d7ad48b28cf240d74a 100644 (file)
@@ -704,7 +704,7 @@ default,  for example
 #(set-default-paper-size "a6" 'landscape)
 \book {
   \score {
-    \relative { c1 \break c1 }
+    \relative c' { c1 \break c1 }
   }
   \paper {
     system-separator-markup = \slashSeparator
index da9c12b871d7423c951ac39bc8601aff2f6a20ee..bbc3bbacabb7e5a262b7f1559806dc22e8809a8a 100644 (file)
@@ -7,7 +7,7 @@
 \begin{document}
 
 \begin{lilypond}
-\relative { c' d e f g a b c }
+\relative c' { c d e f g a b c }
 \end{lilypond}
 
 
index 47bb04a540bce7468e5c0fb7a581f8dd285d771e..cf8517ec900c6b7eaed30d341fe31f88fceeabd0 100644 (file)
@@ -1036,7 +1036,7 @@ is written in Texinfo.
 Texinfo text
 
 @@lilypond
-\relative @{
+\relative c' @{
   a4 b c d
 @}
 @@end lilypond