1
2\header
3{
4
5    texidoc = "Quotations take into account the transposition of both
6source and target.  In this example, all instruments play sounding
7central C, the target is a instrument in F.  The target part may be
8@code{\\transpose}d.  The quoted pitches will stay unchanged."
9
10}
11
12\version "2.21.0"
13
14\layout { ragged-right = ##t }
15
16
17\addQuote clarinet  {
18    \transposition bes
19    d'16 d'16 d'8
20    d'16 d'16 d'8
21    d'16 d'16 d'8
22    d'16 d'16 d'8
23}
24
25\addQuote sax  {
26    \transposition es'
27    a8 a a a a a  a a
28}
29
30quoteTest = {
31    \transposition f  % french horn
32
33    g'4
34    << \quoteDuring "clarinet" { \skip 4 } s4^"clar" >>
35    << \quoteDuring "sax" { \skip 4 } s4^"sax" >>
36}
37
38
39<< \quoteTest
40   \new Staff
41   << \transpose c' d' \quoteTest
42     s4_"up 1 tone"
43  >>
44>>
45