]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/cue-clef-new-line.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / cue-clef-new-line.ly
diff --git a/input/regression/cue-clef-new-line.ly b/input/regression/cue-clef-new-line.ly
new file mode 100644 (file)
index 0000000..bfe5e50
--- /dev/null
@@ -0,0 +1,30 @@
+\version "2.14.0"
+
+\header {
+  texidoc = "Clefs for cue notes and line breaks.  If the cue notes start in a
+new line, the cue clef should not be printed at the end of the previous line.
+Similarly, an end clef for cue notes ending at a line break should only be
+printed at the end of the line.
+
+Cue notes going over a line break should print the standard clef on the new
+line plus an additional cue clef after the time/key signature."
+}
+
+vI = \relative c'' { \clef "treble" \repeat unfold 40 g4 }
+\addQuote vIQuote { \vI }
+
+Solo = \relative c {
+  \clef "bass"
+  c1 | \break
+  \cueDuringWithClef #"vIQuote" #UP #"tenor" { R1 } | \break
+  c1 |
+  \cueDuringWithClef #"vIQuote" #UP #"tenor" { R1 | \break
+    R1 } |
+  c1
+}
+
+\score {
+  <<
+    \new Staff \new Voice \Solo
+  >>
+}