File: class-exam-zh.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 (235 lines) | stat: -rw-r--r-- 6,653 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
# exam-zh class
# Matthew Bertucci 2022/08/10 for v0.1.15

#include:expl3
#include:filehook
#include:class-ctexbook
#include:etoolbox
#include:geometry
#include:fontspec
#include:xeCJK
#include:xeCJKfntef
#include:fancyhdr
#include:lastpage
#include:amsmath
#include:enumitem
#include:varwidth
#include:tikzpagenodes
# loads decorations.markings and decorations.text tikzlibraries
#include:exam-zh-question
#include:exam-zh-font
#include:exam-zh-choices
#include:exam-zh-symbols
#include:exam-zh-chinese-english
#include:hyperref
#include:pifont

# all options passed to ctexbook
#keyvals:\documentclass/exam-zh#c
GBK
UTF8
zhmap=#true,false,zhmCJK
zihao=#-4,5,false
heading#true,false
sub3section
sub4section
scheme=#chinese,plain
linespread=%<number%>
fontset=#adobe,fandol,founder,mac,macnew,macold,ubuntu,windows,none
punct=#quanjiao,banjiao,kaiming,CCT,plain
space=#true,false,auto
autoindent=
# options passed to book class
a4paper
a5paper
b5paper
letterpaper
legalpaper
executivepaper
landscape
10pt
11pt
12pt
oneside
twoside
draft
final
titlepage
notitlepage
openright
openany
onecolumn
twocolumn
leqno
fleqn
openbib
#endkeyvals

\ExamPrintAnswerSet{keyvals}
\ExamPrintAnswerSet[cmd list]{keyvals}
\ExamPrintAnswer
\examsetup{键值列表%keyvals}

# NOTE: other keys for \examsetup listed in cwls for support packages exam-zh-question etc.
#keyvals:\ExamPrintAnswerSet,\examsetup
notice={%<键值列表%>}
notice/label=%<label%>
notice/label-format=%<format%>
notice/top-sep=##L
notice/bottom-sep=##L
style={%<键值列表%>}
style/fullwidth-stop=#catcode,false
style/footnote-style=#plain,libertinus,libertinus*,libertinus-sans,pifont,pifont*,pifont-sans,pifont-sans*,xits,xits-sans,xits-sans*
style/student-version-suffix=%<suffix%>
style/student-version-cleanaux#true,false
page={%<键值列表%>}
page/size=%<a3paper|a4paper%>
page/foot-type=#common,separate
page/foot-content=%<页脚格式%>
page/show-columnline#true,false
page/columnline-width=##L
page/show-chapter#true,false
sealline={%<键值列表%>}
sealline/show#true,false
sealline/scope=#firstpage,oddpage,everypage,first-and-last,mod-2,mod-3,mod-4,mod-6
sealline/type=#firstpage,oddpage,everypage,first-and-last,mod-2,mod-3,mod-4,mod-6
sealline/line-thickness=##L
sealline/odd-line-thickness=##L
sealline/even-line-thickness=##L
sealline/line-xshift=##L
sealline/odd-line-xshift=##L
sealline/even-line-xshift=##L
sealline/line-yshift=##L
sealline/odd-line-yshift=##L
sealline/even-line-yshift=##L
sealline/line-type=#solid,dotted,densely-dotted,loosely-dotted,dashed,densely-dashed,loosely-dashed,dash-dot,densely-dash-dot,loosely-dash-dot,dash-dot-dot,densely-dash-dot-dot,loosely-dash-dot-dot
sealline/odd-line-type=#solid,dotted,densely-dotted,loosely-dotted,dashed,densely-dashed,loosely-dashed,dash-dot,densely-dash-dot,loosely-dash-dot,dash-dot-dot,densely-dash-dot-dot,loosely-dash-dot-dot
sealline/even-line-type=#solid,dotted,densely-dotted,loosely-dotted,dashed,densely-dashed,loosely-dashed,dash-dot,densely-dash-dot,loosely-dash-dot,dash-dot-dot,densely-dash-dot-dot,loosely-dash-dot-dot
sealline/text=%<content%>
sealline/odd-text=%<content%>
sealline/even-text=%<content%>
sealline/text-width=##L
sealline/odd-text-width=##L
sealline/even-text-width=##L
sealline/text-format=%<font commands%>
sealline/odd-text-format=%<font commands%>
sealline/even-text-format=%<font commands%>
sealline/text-xshift=##L
sealline/odd-text-xshift=##L
sealline/even-text-xshift=##L
sealline/text-yshift=##L
sealline/odd-text-yshift=##L
sealline/even-text-yshift=##L
sealline/text-xscale=%<float point%>
sealline/odd-text-xscale=%<float point%>
sealline/even-text-xscale=%<float point%>
sealline/text-yscale=%<float point%>
sealline/odd-text-yscale=%<float point%>
sealline/even-text-yscale=%<float point%>
sealline/text-direction-vertical#true,false
sealline/odd-text-direction-vertical#true,false
sealline/even-text-direction-vertical#true,false
sealline/circle-show#true,false
sealline/odd-circle-show#true,false
sealline/even-circle-show#true,false
sealline/circle-start=%<float point%>
sealline/odd-circle-start=%<float point%>
sealline/even-circle-start=%<float point%>
sealline/circle-end=%<float point%>
sealline/odd-circle-end=%<float point%>
sealline/even-circle-end=%<float point%>
sealline/circle-step=##L
sealline/odd-circle-step=##L
sealline/even-circle-step=##L
sealline/circle-diameter=##L
sealline/odd-circle-diameter=##L
sealline/even-circle-diameter=##L
sealline/circle-xshift=##L
sealline/odd-circle-xshift=##L
sealline/even-circle-xshift=##L
sealline/odd-info-content={%<comma list%>}
sealline/odd-info-separator=%<separator%>
sealline/odd-info-align=#left,center,right
sealline/odd-info-xshift=##L
sealline/odd-info-yshift=##L
square={%<键值列表%>}
square/x-length=##L
square/y-length=##L
square/baseline=##L
square/linewidth=##L
square/xshift=##L
title={%<键值列表%>}
title/title-format=%<格式命令%>
title/subject-format=%<格式命令%>
title/top-sep=##L
title/bottom-sep=##L
list={%<键值列表%>}
list/step-name=%<step 环境 label 名%>
list/method-name=%<method 环境 label 名%>
list/case-name=%<case 环境 label 名%>
list/step-punct=%<step 环境 label 后的标点%>
list/method-punct=%<method 环境 label 后的标点%>
list/case-punct=%<case 环境 label 后的标点%>
draft={%<键值列表%>}
draft/watermark-size=##L
draft/show-watermark#true,false
draft/show-draft=#auto,manual
scoringbox={%<键值列表%>}
scoringbox/type=#onecolumn,twocolumn,none
scoringbox/position=#left,right
#endkeyvals

\information{信息内容%text}
\information[分隔符]{信息内容%text}
\warning{警告%text}
\secret
\secret[格式命令]
\goodluck
\goodluck[祝福语%text]

\begin{notice}
\begin{notice}[键值列表 1%keyvals]
\begin{notice}[键值列表 1%keyvals][键值列表 2]
\end{notice}

#keyvals:\begin{notice}
label=%<label%>
label-format=%<format%>
top-sep=##L
bottom-sep=##L
#endkeyvals

\subject{科目%text}
\subject[宽度]{科目%text}

\begin{step}
\end{step}
\begin{method}
\end{method}
\begin{case}
\end{case}

\draftpaper
\draftpaper[参数列表%keyvals]

#keyvals:\draftpaper
watermark-size=##L
show-watermark#true,false
show-draft=#auto,manual
#endkeyvals

\examsquare{方格个数}
\examsquare[参数列表%keyvals]{方格个数}

#keyvals:\examsquare
x-length=##L
y-length=##L
baseline=##L
linewidth=##L
xshift=##L
#endkeyvals

\scoringbox
\scoringbox*

\examzholdsection{title}#SL2