]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/notation/fretted-strings.itely
Docs: remove implicit relative from @lilypond[verbatim]; issue 4371
[lilypond.git] / Documentation / notation / fretted-strings.itely
index e1ccd070a670f50d60352bf036a2fd07d1bf75f7..1ce12cd7061bafec97a80f6213913da3e70e9b74 100644 (file)
@@ -99,10 +99,10 @@ Notation Reference:
 The string on which a note should be played may be indicated by
 appending @code{\@var{number}} to a note.
 
-@lilypond[verbatim,quote,relative=0]
+@lilypond[verbatim,quote,fragment]
 \clef "treble_8"
 c4\5 e\4 g2\3
-<c,\5 e\4 g\3>1
+<c\5 e\4 g\3>1
 @end lilypond
 
 When fingerings and string indications are used together, their
@@ -111,7 +111,7 @@ in the code @emph{only} if they appear inside of an explicit chord:
 applied to whole chords or single notes @emph{outside} of chords,
 fingerings are placed using a different mechanism.
 
-@lilypond[verbatim,quote,relative=1]
+@lilypond[verbatim,quote,fragment]
 \clef "treble_8"
 g4\3-0
 g-0\3
@@ -123,11 +123,12 @@ String numbers may also, as is customary with unfretted strings,
 be printed in Roman numerals and placed below the staff rather
 than above.
 
-@lilypond[verbatim,quote,relative=2]
-c2\2
+@lilypond[verbatim,quote,fragment]
+\clef "treble_8"
+c'2\2
 a\3
 \romanStringNumbers
-c\2
+c'\2
 \set stringNumberOrientations = #'(down)
 a\3
 \arabicStringNumbers
@@ -1647,14 +1648,14 @@ Right-hand fingerings @var{p-i-m-a} must be entered using
 @warning{If the number is entered in Scheme notation, remember to append
 a space before following it with a closing @code{>} or similar.}
 
-@lilypond[quote,verbatim,relative=0]
+@lilypond[quote,verbatim,fragment]
 \clef "treble_8"
 c4\rightHandFinger #1
 e\rightHandFinger #2
 g\rightHandFinger #3
-c\rightHandFinger #4
-<c,\rightHandFinger #1 e\rightHandFinger #2
- g\rightHandFinger #3 c\rightHandFinger #4 >1
+c'\rightHandFinger #4
+<c\rightHandFinger #1 e\rightHandFinger #2
+ g\rightHandFinger #3 c'\rightHandFinger #4 >1
 @end lilypond
 
 For convenience, you can abbreviate @code{\rightHandFinger} to something
@@ -1708,14 +1709,16 @@ or, for experienced users, a typesetter like GuitarTeX.
 This example demonstrates how to include guitar position and
 barring indications.
 
-@lilypond[quote,ragged-right,verbatim,relative=0]
-\clef "treble_8"
-b16 d g b e
-\textSpannerDown
-\override TextSpanner.bound-details.left.text = #"XII "
-g16\startTextSpan
-b16 e g e b g\stopTextSpan
-e16 b g d
+@lilypond[quote,ragged-right,verbatim,fragment]
+\relative {
+  \clef "treble_8"
+  b,16 d g b e
+  \textSpannerDown
+  \override TextSpanner.bound-details.left.text = #"XII "
+  g16\startTextSpan
+  b16 e g e b g\stopTextSpan
+  e16 b g d
+}
 @end lilypond
 
 @seealso