File: asymptote.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 (129 lines) | stat: -rw-r--r-- 2,198 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# asymptote package
# Matthew Bertucci 2/4/2022 for v1.36

#include:keyval
#include:ifthen
#include:color
#include:graphicx
#include:ifpdf
#include:ifxetex
#include:catchfile

#keyvals:\usepackage/asymptote#c
inline
attach
#endkeyvals

\begin{asy}
\begin{asy}[options%keyvals]
\end{asy}

\asyinclude{imagefile}#g
\asyinclude[options%keyvals]{imagefile}#g

\asysetup{options%keyvals}

#keyvals:\begin{asy},\asyinclude,\asysetup
width=##L
height=##L
keepAspect#true,false
viewportwidth=##L
viewportheight=##L
attach#true,false
inline#true,false
#endkeyvals

\begin{asydef}
\end{asydef}

\ASYanimategraphics{frame rate}{file}{first}{last}#*
\ASYanimategraphics[options%keyvals]{frame rate}{file}{first}{last}#*

#keyvals:\ASYanimategraphics#c
label=%<label%>
type=%<file ext%>
poster
poster=#first,last,none,%<number%>
every=%<number%>
autopause
autoplay
autoresume
loop
palindrome
step
width=##L
height=##L
totalheight=##L
keepaspectratio
scale=%<factor%>
bb=%<llx lly urx ury%>
viewport=%<llx lly urx ury%>
trim=%<left bottom right top%>
clip
hiresbb
interpolate
pagebox=
controls=#all,true,on,none,false,off
controlsaligned=
buttonsize=##L
buttonbg=#%color
buttonfg=#%color
buttonalpha=%<opacity%>
draft
final
nomouse
method=#icon,widget,ocg
measure
alttext=#none,%<alt description%>
begin={%<begin code%>}
end={%<end code%>}
timeline=%<file%>
#endkeyvals

\Asymptote#*
\ASYbox#*
\ASYdimen#*
\theasy#*
\AsyStream#*
\AsyPreStream#*
\ifASYinline#*
\ASYinlinetrue#*
\ASYinlinefalse#*
\ifASYattach#*
\ASYattachtrue#*
\ASYattachfalse#*
\ifASYkeepAspect#*
\ASYkeepAspecttrue#*
\ASYkeepAspectfalse#*
\asylatexdir#*
\asydir#*
\ASYasydir#*
\ASYlatexdir#*
\ASYprefix#*
\ifASYPDF#*
\ASYPDFtrue#*
\ASYPDFfalse#*
\AsyExtension#*
\WriteAsyLine{arg}#*
\globalASYdefs#*
\WriteGlobalAsyLine{arg}#*
\ProcessAsymptote{arg}#*
\CurrentAsymptote#*
\xAsymptote#*
\ProcessAsymptoteLine#*
\ThisAsymptote#*
\AsyFile#*
\ASYwidth#*
\ASYheight#*
\ASYviewportwidth#*
\ASYviewportheight#*

\csarg{arg1}{arg2}#S
\unquoteJobname#S
\rawJobname#S
\fixstar#S
\argtwo#S
\asy#S
\endasy#S
\asydef#S
\Jobname#S