1\version "2.21.0"
2
3\header {
4  texidoc = "Clefs for cue notes and line breaks.  If the cue notes start in a
5new line, the cue clef should not be printed at the end of the previous line.
6Similarly, an end clef for cue notes ending at a line break should only be
7printed at the end of the line.
8
9Cue notes going over a line break should print the standard clef on the new
10line plus an additional cue clef after the time/@/key signature."
11}
12
13vI = \relative { \clef "treble" \repeat unfold 40 g'4 }
14\addQuote vIQuote { \vI }
15
16Solo = \relative {
17  \clef "bass"
18  c1 | \break
19  \cueDuringWithClef "vIQuote" #UP "tenor" { R1 } | \break
20  c1 |
21  \cueDuringWithClef "vIQuote" #UP "tenor" { R1 | \break
22    R1 } |
23  c1
24}
25
26\score {
27  <<
28    \new Staff \new Voice \Solo
29  >>
30}
31