]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/ambitus-cue.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / ambitus-cue.ly
diff --git a/input/regression/ambitus-cue.ly b/input/regression/ambitus-cue.ly
new file mode 100644 (file)
index 0000000..83b10e3
--- /dev/null
@@ -0,0 +1,27 @@
+\version "2.16.0"
+
+\header {
+  texidoc = "Ambitus for pieces beginning with @code{\\cueDuringWithClef}.
+
+Cues are often used at or near the beginning of a piece. Furthermore,
+a cue is frequently in a different clef, so the
+@code{\\cueDuringWithClef} command is handy.  Using this command at
+the beginning of a piece should leave the ambitus displayed based
+on the main clef.
+"
+}
+
+\addQuote "other" \relative c { r4 c e g }
+
+\new Staff \new Voice \relative c'
+{
+ \cueDuringWithClef #"other" #UP #"bass" { R1 } |
+ e4 b c2
+}
+
+\layout {
+ \context {
+   \Voice
+   \consists "Ambitus_engraver"
+ }
+}