1\version "2.21.0"
2
3\header {
4  texidoc = "@code{\\etc} can be used for constructing
5  event functions for @samp{TextScript} events with sequences
6  starting with @samp{-}, @samp{^}, or @samp{_}.  This example should
7  have notes all adorned in the same manner."
8}
9
10\layout { ragged-right = ##t }
11
12etcI = ^\markup \bold \with-color #red \etc
13etcII = _\etc
14etcIII = ^\tweak color #red \etc
15etcIV = _\tweak color #green -\markup \italic \etc
16
17{
18  c'1\etcI "up" \etcII \markup \italic \with-color #green "down"
19  c'1\etcIII \tweak font-series #'bold -"up" \etcIV "down"
20}
21