File: standalone.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 (82 lines) | stat: -rw-r--r-- 1,775 bytes parent folder | download | duplicates (2)
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
# standalone package
# Fran J. Sanchez 30/10/2021 for v1.3a
# Matthew Bertucci 3/26/2022; class-standalone.cwl added and commands/keys moved accordingly

#include:adjustbox
#include:currfile
#include:filemod-expmin
#include:gincltex
#include:ifluatex
#include:ifpdf
#include:ifxetex
#include:shellesc
#include:trimclip
#include:varwidth
#include:xkeyval

#keyvals:\usepackage/standalone
subpreambles#true,false
sort#true,false
print#true,false
comments#true,false
nocomments
obeyclassoptions#true,false
#endkeyvals

# only some package options available to \standaloneconfig and \includestandalone
#keyvals:\usepackage/standalone,\standaloneconfig,\includestandalone
group#true,false
mode=#tex,image,image|tex,build,buildmissing,buildnew
extension=%<extension%>
build={%<build options%>}
#endkeyvals

## also any options in \includegraphics
\includestandalone{file}#i
\includestandalone[options%keyvals]{file}#i

#keyvals:\includestandalone
alt={%<alt text%>}
bb=%<llx lly urx ury%>
bbllx=
bblly=
bburx=
bbury=
natwidth=
natheight=
hiresbb#true,false
pagebox=#mediabox,cropbox,bleedbox,trimbox,artbox
viewport=%<llx lly urx ury%>
trim=%<llx lly urx ury%>
angle=%<degrees%>
origin=
width=##L
height=##L
totalheight=##L
keepaspectratio#true,false
scale=%<factor%>
clip#true,false
draft#true,false
type=%<file type%>
ext=%<file extension%>
read=%<read-file extension%>
command=
quiet
page=%<page number%>
interpolate#true,false
decodearray={%<color array%>}
#endkeyvals

\standaloneconfig{options%keyvals}

\standaloneignore#*
\begin{standalone}#*
\end{standalone}#*
\ifstandalone#*
\standalonetrue#*
\standalonefalse#*
\ifstandalonebeamer#*
\standalonebeamertrue#*
\standalonebeamerfalse#*
\IfStandalone{code for standalone}{code for main document}#*
\onlyifstandalone{code}#*