]> git.donarmstrong.com Git - lilypond.git/commitdiff
Point to \resetRelativeOctave in NR 1.1.1.b (issue 5015)
authorSimon Albrecht <sincero@my.mail.de>
Tue, 20 Dec 2016 18:38:46 +0000 (19:38 +0100)
committerThomas Morley <thomasmorley65@gmail.com>
Tue, 27 Dec 2016 11:38:34 +0000 (12:38 +0100)
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: