]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/notation/pitches.itely
Point to \resetRelativeOctave in NR 1.1.1.b (issue 5015)
[lilypond.git] / Documentation / notation / pitches.itely
index d58ca67128fbd0e57e12db6112aaca8238ba5ff1..6b9e0981214fc37d19b8e47f298c26962e7c2d3e 100644 (file)
@@ -297,6 +297,24 @@ that each interval contains.
 }
 @end lilypond
 
+In complex situations, it is sometimes useful to get back to a
+certain pitch regardless of what happened before. This can be
+done using @code{\resetRelativeOctave}:
+
+@lilypond[verbatim,quote]
+\relative {
+  <<
+    { c''2 d }
+    \\
+    { e,,2 f }
+  >>
+  \resetRelativeOctave c''
+  c2
+}
+@end lilypond
+
+@funindex \resetRelativeOctave
+
 
 @seealso
 Music Glossary: