File: tonevalue.cwl

package info (click to toggle)
texstudio 4.3.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 74,980 kB
  • sloc: cpp: 102,721; xml: 17,126; ansic: 8,143; sh: 194; javascript: 177; makefile: 28
file content (75 lines) | stat: -rw-r--r-- 1,587 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# tonevalue package
# Matthew Bertucci 1/25/2022 for v1.0

#include:contour
#include:etoolbox
#include:listofitems
#include:tikz
# loads positioning, decorations.markings, and arrows tikzlibraries
#include:xcolor
#include:xkeyval
#include:xstring

#keyvals:\usepackage/tonevalue#c
fontcmd=%<font commands%>
draft
contourlength=##L
contournumber=%<integer%>
defaultcolors
#endkeyvals

#ifOption:defaultcolors
1#B
2#B
3#B
4#B
5#B
6#B
7#B
8#B
#endif

\begin{untVisualisation}#\pictureHighlight
\begin{untVisualisation}[options%keyvals]
\end{untVisualisation}

#keyvals:\begin{untVisualisation}#c
minmax={%<min,max%>}
scale=%<factor%>
showlabels#true,false
#endkeyvals

\untpoint{tone value}{tone name}
\untpoint[options%keyvals]{tone value}{tone name}

#keyvals:\untpoint#c
stem#true,false
label=#above,below,left,right,above left,above right,below left,below right
bgcolor=#%color
xshift=##L
yshift=##L
scale=%<factor%>
tikzoptions={%<TikZ options%>}
#endkeyvals

\linkuntpoints{{%<toneval1%>}{%<tonename1%>}}{{%<toneval2%>}{%<tonename2%>}}
\linkuntpoints[%<options%>]{{%<toneval1%>}{%<tonename1%>}}{{%<toneval2%>}{%<tonename2%>}}

#keyvals:\linkuntpoints#c
color=#%color
bend=#bend left,bend right
#endkeyvals

\drawuntpoint{arg1}{arg2}{arg3}{arg4}{arg5}{arg6}{arg7}{arg8}#*
\drawuntpoint[opt]{arg1}{arg2}{arg3}{arg4}{arg5}{arg6}{arg7}{arg8}#*
\len#*
\sendiauToListStr{arg}#*
\sendiaulistStr#*
\sendiaulist#*
\thesumOfPitchHeights#*
\toneVisualisationFontCmd#*
\xend#*
\xjoinbycomma#*
\xstart#*
\yend#*
\ystart#*