File: class-webquiz.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 (118 lines) | stat: -rw-r--r-- 2,158 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
# webquiz class
# Matthew Bertucci 1/12/2021 for v5.2

#include:etoolbox
#include:pgfopts
#include:xparse
#include:pgffor
#include:amsfonts
#include:amsmath
#include:bbding
#include:tikz

#keyvals:\documentclass/webquiz#c
fixedorder
randomorder
hidesidemenu
sidemenu
language=%<language%>
onepage
separatepages
pst2pdf
separatepages
showsidemenu
theme=#blue,darkblue,darkred,default,earthy,fresh,light,lively,muted,sleek,spring,vibrant
tikz
#endkeyvals

\begin{question}
\end{question}
\begin{choice}
\end{choice}
\begin{discussion}
\end{discussion}
\begin{quizindex}
\end{quizindex}

\answer{correct answer%text}
\answer[comparison type%keyvals]{correct answer%text}
\answer*{correct answer%text}
\answer*[comparison type%keyvals]{correct answer%text}

#keyvals:\answer,\answer*
complex
integer
lowercase
number
string
#endkeyvals

\whenRight
\whenWrong

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

#keyvals:\begin{choice}
single
multiple
columns=%<integer%>
#endkeyvals

\correct
\incorrect
\feedback

\begin{dicussion}
\begin{dicussion}[short heading%text]
\begin{dicussion}[short heading%text][heading%text]
\end{dicussion}

\dref{label}#r
\dref[text]{label}#r
\dref*{label}#r
\dref*[text]{label}#r
\qref{label}#r
\qref[text]{label}#r
\qref*{label}#r
\qref*[text]{label}#r
\Qref{question number}
\Qref[text]{question number}
\Qref*{question number}
\Qref*[text]{question number}

\begin{quizindex}
\end{quizindex}

\quiz{title%text}
\quiz[URL]{title%text}#U
\quiz*{title%text}
\quiz*[URL]{title%text}#U

\BreadCrumbs{navigation spec%URL}
\BreadCrumb{breadcrumb}
\Department{department%text}
\DepartmentURL{URL}#U
\Institution{institution%text}
\InstitutionURL{URL}#U
\QuizzesURL{URL}#U
\UnitCode{unit code}
\UnitName{unit name%text}
\UnitURL{URL}#U

\DisplayAsImage{csname}
\DisplayAsImage[options]{csname}

\thechoice#*
\thediscussion#*
\thequestion#*
\thequiz#*

# from webquiz-ini.code.tex
\webquiz{key%plain}#*
\AddIniFileKeyValue{arg}#*
\AddIniFileValue{key%plain}{value}#*
\inifile#*
\apar#S
\AddEntry{key%plain}#*