File: mlist.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 (70 lines) | stat: -rw-r--r-- 1,598 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
# mlist package
# Matthew Bertucci 1/8/2021 for v0.6a

#include:ifmtarg
#include:xkeyval

\newvect{macro%cmd}{text%plain}#d
\newvect{macro%cmd}{text%plain}[options%keyvals]#d
\newmatr{macro%cmd}{text%plain}#d
\newmatr{macro%cmd}{text%plain}[options%keyvals]#d
\newfunc{macro%cmd}{text%plain}#d
\newfunc{macro%cmd}{text%plain}[options%keyvals]#d
\newmset{macro%cmd}{text%plain}#d
\newmset{macro%cmd}{text%plain}[options%keyvals]#d

\setR#m
\setC#m
\setN#m
\setZ#m

\vect{text%plain}#m
\vect{text%plain}{indices}#m
\matr{text%plain}#m
\matr{text%plain}{entries}#m
\func{text%plain}#m
\func{text%plain}{arg}#m
\mset{text%plain}#m
\mset{text%plain}{dims}#m

\MID#m
\LAST#m

\newmlist{macro%cmd}#d
\newmlist{macro%cmd}[options%keyvals]#d
\renewmlist{macro%cmd}#d
\renewmlist{macro%cmd}[options%keyvals]#d

\mlistsetup{options%keyvals}

#keyvals:\newvect,\newmatr,\newfunc,\newmset,\newmlist,\renewmlist,\mlistsetup
headcmd=%<macro%>
elemcmd=%<macro%>
headhook=%<code%>
wrap={%<open%>}{%<close%>}
wrapone
wrapone={%<open%>}{%<close%>}
wrapcmd=%<macro%>
wraponecmd=%<macro%>
sep=%<code%>
sepsep=%<code%>
symbol=%<symbol%>
index={%<indeices%>}
elem={%<args%>}
dot=%<code%>
dots=%<code%>
#endkeyvals

\mlistsub{arg}{sub}#*
\mlistsup{arg}{sup}#*
\mlistelem{arg1}{arg2}#*
\mlisthead{arg}#*
\mlistnowrap{arg1}{arg2}#*
\mlistparen{arg1}{arg2}#*
\mlistbrack{arg1}{arg2}#*
\mlistbrace{arg1}{arg2}#*
\mlistangle{arg1}{arg2}#*
\mlistheadparen{arg1}{arg2}#*
\mlistheadbrack{arg1}{arg2}#*
\mlistheadbrace{arg1}{arg2}#*
\mlistheadangle{arg1}{arg2}#*