@digabi/exam-engine-exams 19.19.2-xml-exams.0 → 20.0.0-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. package/A_E/A_E_fi-FI.mex +0 -0
  2. package/A_X/A_X_fi-FI.mex +0 -0
  3. package/FF/FF_fi-FI.mex +0 -0
  4. package/FF/FF_sv-FI.mex +0 -0
  5. package/GE/GE_fi-FI.mex +0 -0
  6. package/GE/GE_sv-FI.mex +0 -0
  7. package/MexDocumentation/MexDocumentation_fi-FI.mex +0 -0
  8. package/N/N_fi-FI.mex +0 -0
  9. package/N/N_fi-FI_vi.mex +0 -0
  10. package/N/N_sv-FI.mex +0 -0
  11. package/SC/SC_fi-FI.mex +0 -0
  12. package/SC/SC_fi-FI_hi.mex +0 -0
  13. package/SC/SC_sv-FI.mex +0 -0
  14. package/package.json +4 -6
  15. package/A_E/A_E.xml +0 -175
  16. package/A_X/A_X.xml +0 -424
  17. package/A_X/attachments/1.A.webm +0 -0
  18. package/A_X/attachments/1.A_KV.webm +0 -0
  19. package/A_X/attachments/2.A.ogg +0 -0
  20. package/A_X/attachments/4.A.ogg +0 -0
  21. package/FF/FF.xml +0 -2323
  22. package/FF/attachments/4A.jpg +0 -0
  23. package/FF/attachments/4B.jpg +0 -0
  24. package/FF/attachments/4B.png +0 -0
  25. package/FF/attachments/T3_FI.webm +0 -0
  26. package/FF/attachments/T3_SV.webm +0 -0
  27. package/FF/attachments/T5_FI.webm +0 -0
  28. package/FF/attachments/T5_SV.webm +0 -0
  29. package/FF/attachments/T9_1_FI.webm +0 -0
  30. package/FF/attachments/T9_1_SV.webm +0 -0
  31. package/FF/attachments/T9_2_FI.webm +0 -0
  32. package/FF/attachments/T9_2_SV.webm +0 -0
  33. package/GE/GE.xml +0 -1572
  34. package/MexDocumentation/MexDocumentation.xml +0 -3127
  35. package/MexDocumentation/attachments/custom.css +0 -93
  36. package/MexDocumentation/attachments/example.jpg +0 -0
  37. package/MexDocumentation/attachments/example1.webm +0 -0
  38. package/MexDocumentation/attachments/example2.webm +0 -0
  39. package/MexDocumentation/attachments/example3.webm +0 -0
  40. package/MexDocumentation/attachments/example_high.jpg +0 -0
  41. package/MexDocumentation/attachments/example_small.jpg +0 -0
  42. package/MexDocumentation/attachments/map-example-1.jpg +0 -0
  43. package/MexDocumentation/attachments/map-example-2.jpg +0 -0
  44. package/MexDocumentation/attachments/map-example-3.jpg +0 -0
  45. package/N/N.xml +0 -2307
  46. package/N/attachments/13A.jpg +0 -0
  47. package/SC/SC.xml +0 -2275
  48. package/SC/attachments/1.1.ogg +0 -0
  49. package/SC/attachments/1.2.ogg +0 -0
  50. package/SC/attachments/1.3_1.4.ogg +0 -0
  51. package/SC/attachments/1.5.ogg +0 -0
  52. package/SC/attachments/1.ogg +0 -0
  53. package/SC/attachments/2.1.ogg +0 -0
  54. package/SC/attachments/2.2.ogg +0 -0
  55. package/SC/attachments/2.3.ogg +0 -0
  56. package/SC/attachments/2.4.ogg +0 -0
  57. package/SC/attachments/24.1.jpg +0 -0
  58. package/SC/attachments/3.1.ogg +0 -0
  59. package/SC/attachments/3.2_3.3.ogg +0 -0
  60. package/SC/attachments/3.4_3.5.ogg +0 -0
  61. package/SC/attachments/4.1.ogg +0 -0
  62. package/SC/attachments/4.2.ogg +0 -0
  63. package/SC/attachments/5.webm +0 -0
  64. package/SC/attachments/6.1.ogg +0 -0
  65. package/SC/attachments/6.2.ogg +0 -0
  66. package/SC/attachments/6.3.ogg +0 -0
  67. package/SC/attachments/6.ogg +0 -0
  68. package/SC/attachments/7.1.0478.jpg +0 -0
  69. package/SC/attachments/7.1.4327.jpg +0 -0
  70. package/SC/attachments/7.1.7279.jpg +0 -0
  71. package/SC/attachments/7.1.ogg +0 -0
  72. package/SC/attachments/7.2.1617.jpg +0 -0
  73. package/SC/attachments/7.2.7276.jpg +0 -0
  74. package/SC/attachments/7.2.7291.jpg +0 -0
  75. package/SC/attachments/7.2.jpg +0 -0
  76. package/SC/attachments/7.2.ogg +0 -0
  77. package/SC/attachments/7.3.4375.jpg +0 -0
  78. package/SC/attachments/7.3.4927.jpg +0 -0
  79. package/SC/attachments/7.3.7459.jpg +0 -0
  80. package/SC/attachments/7.3.ogg +0 -0
  81. package/SC/attachments/7.4.jpg +0 -0
  82. package/SC/attachments/7_hvp.jpg +0 -0
  83. package/SC/attachments/audio-test.ogg +0 -0
  84. package/SC/attachments/custom.css +0 -50
  85. package/SC/attachments/maxmoritz.png +0 -0
@@ -1,3127 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <e:exam xmlns:e="http://ylioppilastutkinto.fi/exam.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/1999/xhtml" xsi:schemaLocation="http://ylioppilastutkinto.fi/exam.xsd https://abitti.dev/schema/exam.xsd" exam-schema-version="0.5" exam-stylesheet="custom.css" date="2022-01-27">
3
- <e:exam-versions>
4
- <e:exam-version lang="fi-FI"/>
5
- </e:exam-versions>
6
- <e:exam-title>MEX format documentation</e:exam-title>
7
- <e:exam-instruction>
8
- <p>
9
- This exam describes the MEX XML format.
10
- </p>
11
- <p>
12
- For more information about using this format, see
13
- <a href="https://github.com/digabi/exam-engine">https://github.com/digabi/exam-engine</a>
14
- </p>
15
- <div class="warning-box">
16
- Some of the features have limited support in
17
- <a href="https://oma.abitti.fi/">Abitti</a>
18
- . These are documented in warning boxes like this.
19
- </div>
20
- </e:exam-instruction>
21
- <e:table-of-contents/>
22
- <e:external-material>
23
- <e:attachment>
24
- <e:attachment-title>Exam-specific external material title</e:attachment-title>
25
- <p>Lorem ipsum dolor sit amet consectetur adipisicing elit.
26
- Aspernatur, libero sunt. Eos corporis quam fugiat maiores
27
- expedita quidem quaerat, quos voluptatem similique quae cum.
28
- Voluptate iste sed facere cum omnis.</p>
29
- <e:reference>
30
- <e:author>YTL</e:author>
31
- </e:reference>
32
- </e:attachment>
33
-
34
- </e:external-material>
35
- <e:section>
36
- <e:section-title>Exam structure</e:section-title>
37
- <e:question>
38
- <e:question-title>XML structure</e:question-title>
39
- <e:question-instruction>Exam structure is described in XML. It can contain also (X)HTML elements.
40
- </e:question-instruction>
41
- <div class="tree">
42
- <div>
43
- <strong>
44
- Exam
45
- <code>&lt;e:exam&gt;</code>
46
- </strong>
47
- 1 element
48
- <p>
49
- Root element of the exam. All other elements are its descendants.
50
- </p>
51
- <div>
52
- <strong>
53
- Exam languages
54
- <code>&lt;e:languages&gt;</code>
55
- </strong>
56
- 1 element
57
- <div>
58
- <strong>
59
- Exam language
60
- <code>&lt;e:language&gt;</code>
61
- </strong>
62
- 1-n elements
63
- </div>
64
- </div>
65
- <div>
66
- <strong>
67
- Exam title
68
- <code>&lt;e:exam-title&gt;</code>
69
- </strong>
70
- 1 element
71
- </div>
72
- <div>
73
- <strong>
74
- Exam introduction and instructions
75
- <code>&lt;e:exam-instruction&gt;</code>
76
- </strong>
77
- 1 element
78
- </div>
79
- <div>
80
- <strong>
81
- Reference to exam introduction and instructions read from file
82
- <code>&lt;e:exam-instruction-ref&gt;</code>
83
- </strong>
84
- 1 element
85
- </div>
86
- <div>
87
- <strong>
88
- Table of contents
89
- <code>&lt;e:table-of-contents&gt;</code>
90
- </strong>
91
- 1 element
92
- </div>
93
- <div>
94
- <strong>
95
- Exam-specific external material
96
- <code>&lt;e:external-material&gt;</code>
97
- </strong>
98
- 0-1 elements
99
- <p>
100
- External material page is constructed based on
101
- <code>e:external-material</code>
102
- elements
103
- defined within
104
- <code>e:exam</code>
105
- and
106
- <code>e:question</code>
107
- elements.
108
- Contains
109
- <code>e:attachment</code>
110
- elements.
111
- </p>
112
- </div>
113
- <div>
114
- <strong>
115
- Section
116
- <code>&lt;e:section&gt;</code>
117
- </strong>
118
- 1-n elements
119
- <p>Section groups questions</p>
120
- <div>
121
- <strong>
122
- Section title
123
- <code>&lt;e:section-title&gt;</code>
124
- </strong>
125
- 1 element
126
- <p>Section title can contain HTML elements. Section number is added automatically.</p>
127
- </div>
128
- <div>
129
- <strong>
130
- Section instructions
131
- <code>&lt;e:section-instruction&gt;</code>
132
- </strong>
133
- 0-n elements
134
- <p>Section instructions can contain HTML elements.</p>
135
- </div>
136
- <div>
137
- <strong>
138
- Question
139
- <code>&lt;e:question&gt;</code>
140
- </strong>
141
- 0-n elements
142
- <p>
143
- Questions can contain sub-
144
- <code>e:question</code>
145
- s
146
- </p>
147
- <div>
148
- <strong>
149
- Question title
150
- <code>&lt;e:question-title&gt;</code>
151
- </strong>
152
- 1 element
153
- <p>Question title can contain HTML elements. Question number is added automatically.</p>
154
- </div>
155
- <div>
156
- <strong>
157
- Question instructions
158
- <code>&lt;e:question-instruction&gt;</code>
159
- </strong>
160
- 0-1 elements
161
- <p>Question instructions can contain HTML elements.</p>
162
- </div>
163
- <div>
164
- <strong>
165
- Question-specific external material
166
- <code>&lt;e:external-material&gt;</code>
167
- </strong>
168
- 0-1 elements
169
- <p>
170
- External material page is constructed based on
171
- <code>e:external-material</code>
172
- elements
173
- defined within
174
- <code>e:exam</code>
175
- and
176
- <code>e:question</code>
177
- elements.
178
- Contains
179
- <code>e:attachment</code>
180
- elements.
181
- </p>
182
- </div>
183
- <div>
184
- <strong>
185
- Internal material
186
- <code>&lt;e:attachment&gt;</code>
187
- </strong>
188
- 0-n elements
189
- <p>
190
- Internal material is displayed directly on exam page. Use
191
- <code>e:external-material</code>
192
- to
193
- display material on separate external material page.
194
- </p>
195
- <div>
196
- <strong>
197
- Material title
198
- <code>&lt;e:attachment-title&gt;</code>
199
- </strong>
200
- 1 element
201
- </div>
202
- <div>
203
- <strong>
204
- Audio material
205
- <code>&lt;e:audio&gt;</code>
206
- </strong>
207
- 0-1 elements
208
- </div>
209
- <div>
210
- <strong>
211
- Image material
212
- <code>&lt;e:image&gt;</code>
213
- </strong>
214
- 0-1 elements
215
- </div>
216
- <div>
217
- <strong>
218
- Video material
219
- <code>&lt;e:video&gt;</code>
220
- </strong>
221
- 0-1 elements
222
- </div>
223
- <div>
224
- <strong>
225
- Material reference
226
- <code>&lt;e:reference&gt;</code>
227
- </strong>
228
- 1 element. See section Material below for details.
229
- </div>
230
- </div>
231
- <div>
232
- <strong>
233
- Answer type, e.g.
234
- <code>&lt;e:text-answer&gt;</code>
235
- </strong>
236
- 0-n elements
237
- <p>See section Answer types below for details.</p>
238
- </div>
239
- <div>
240
- <strong>
241
- Question number,
242
- <code>&lt;e:question-number&gt;</code>
243
- </strong>
244
- 0-n elements
245
- <p>To show parent question number as a prefix and fixed number as a suffix.</p>
246
- </div>
247
- <div>
248
- <strong>OR</strong>
249
- </div>
250
- <div>
251
- <strong>
252
- Sub-question
253
- <code>&lt;e:question&gt;</code>
254
- </strong>
255
- 0-n elements
256
- </div>
257
- </div>
258
- </div>
259
- <div>
260
- <strong>
261
- Material references
262
- <code>&lt;e:references&gt;</code>
263
- </strong>
264
- 0-1 elements
265
- </div>
266
- <div>
267
- <strong>
268
- Exam footer
269
- <code>&lt;e:exam-footer&gt;</code>
270
- </strong>
271
- 0-1 elements
272
- </div>
273
- </div>
274
- </div>
275
- <e:question>
276
- <e:question-title>Special characters as entities</e:question-title>
277
- <e:question-instruction>
278
- <p>Certain characters requires escaping as entities in exam XML documents</p>
279
- <table class="e-table">
280
- <caption/>
281
- <thead>
282
- <tr>
283
- <th>Character</th>
284
- <th>Notation</th>
285
- </tr>
286
- </thead>
287
- <tbody>
288
- <tr>
289
- <td>NBSP (non-breaking-space)</td><td><code>&amp;#xA0;</code></td>
290
- </tr>
291
- <tr>
292
- <td>SHY ­ (soft-hyphen)</td><td><code>&amp;#173;</code></td>
293
- </tr>
294
- <tr>
295
- <td>&gt;</td><td><code>&amp;gt;</code></td>
296
- </tr>
297
- <tr>
298
- <td>&lt;</td><td><code>&amp;lt;</code></td>
299
- </tr>
300
- <tr>
301
- <td>&amp;</td><td><code>&amp;amp;</code></td>
302
- </tr>
303
- </tbody>
304
- </table>
305
- <p>Notice, that e.g. <code>&amp;nbsp;</code> and <code>&amp;shy;</code> does not work.</p>
306
- </e:question-instruction>
307
- </e:question>
308
- </e:question>
309
-
310
- <e:question>
311
- <e:question-title>Exam</e:question-title>
312
- <e:question-instruction>
313
- <p>
314
- Top-level exam element.
315
- </p>
316
- </e:question-instruction>
317
- <table class="e-table e-width-full">
318
- <caption>Element attributes</caption>
319
- <thead>
320
- <tr>
321
- <th>Attribute</th>
322
- <th>Type</th>
323
- <th>Mandatory</th>
324
- <th>Default value</th>
325
- <th>Description</th>
326
- </tr>
327
- </thead>
328
- <tbody>
329
- <tr>
330
- <td>exam-schema-version</td>
331
- <td>Version string</td>
332
- <td>No</td>
333
- <td>—</td>
334
- <td>Schema version, only 0.1 for now</td>
335
- </tr>
336
- <tr>
337
- <td>date</td>
338
- <td>YYYY-MM-DD</td>
339
- <td>No</td>
340
- <td>—</td>
341
- <td>Exam date</td>
342
- </tr>
343
- <tr>
344
- <td>exam-code</td>
345
- <td>exam code string</td>
346
- <td>No</td>
347
- <td>—</td>
348
- <td>Exam code used for exam specific translations</td>
349
- </tr>
350
- <tr>
351
- <td>day-code</td>
352
- <td>exam day code string</td>
353
- <td>No</td>
354
- <td>—</td>
355
- <td>Exam day code used for exam specific translations</td>
356
- </tr>
357
- <tr>
358
- <td>exam-stylesheet</td>
359
- <td>custom CSS stylesheet file name</td>
360
- <td>No</td>
361
- <td>—</td>
362
- <td>CSS file with this name must exist in attachments directory</td>
363
- </tr>
364
- <tr>
365
- <td>max-answers</td>
366
- <td>Integer</td>
367
- <td>No</td>
368
- <td>No limit</td>
369
- <td>Maximum number of questions student should answer</td>
370
- </tr>
371
- </tbody>
372
- </table>
373
- <p>
374
- <code>exam-code</code>
375
- and
376
- <code>day-code</code>
377
- attributes control exam-specific
378
- translations, e.g. the heading text of table of contents, and the exam title if specific
379
- <code>e:exam-title</code>
380
- element is missing. Currently supported exam and day
381
- code pairs can be found in
382
- <a href="https://github.com/digabi/exam-engine/blob/master/packages/mastering/src/i18n/exam_titles_fi-FI.json">https://github.com/digabi/exam-engine/blob/master/packages/mastering/src/i18n/exam_titles_fi-FI.json</a>
383
- .
384
- </p>
385
- <div class="warning-box">
386
- max-answers is ignored in Abitti grading.
387
- </div>
388
- <e:question>
389
- <e:question-title>Example</e:question-title>
390
- <h4/>
391
- <pre class="code"><![CDATA[<e:exam
392
- xmlns:e="http://ylioppilastutkinto.fi/exam.xsd"
393
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
394
- xmlns="http://www.w3.org/1999/xhtml"
395
- xsi:schemaLocation="http://ylioppilastutkinto.fi/exam.xsd https://abitti.dev/schema/exam.xsd"
396
- exam-schema-version="0.1"
397
- date="2018-09-29"
398
- exam-code="EA"
399
- exam-stylesheet="custom.css">]]></pre>
400
- </e:question>
401
- </e:question>
402
-
403
- <e:question>
404
- <e:question-title>Languages and localization</e:question-title>
405
- <e:question-instruction>
406
- <p>
407
- Content for multiple language versions of the same exam can be defined using localization elements.
408
- </p>
409
- <div class="warning-box">
410
- Multiple languages work in Abitti when you create transfer zip with "npm run create-transfer-zip" -command. It generates separate transfer zip for each language.
411
- </div>
412
- </e:question-instruction>
413
- <e:question>
414
- <e:question-title>Example</e:question-title>
415
- <h4/>
416
- <pre class="code"><![CDATA[<e:languages>
417
- <e:language>fi-FI</e:language>
418
- <e:language>sv-FI</e:language>
419
- </e:languages>
420
- ...
421
- <e:localization lang="fi-FI">
422
- <p>
423
- Älä jätä mitään merkintöjä sellaisen tehtävän vastaukselle varattuun tilaan,
424
- jota et halua jättää arvosteltavaksi.
425
- </p>
426
- </e:localization>
427
- <e:localization lang="sv-FI">
428
- <p>
429
- Lämna inga anteckningar i svarsfältet för sådana uppgifter som du inte vill
430
- lämna in för bedömning.
431
- </p>
432
- </e:localization>]]></pre>
433
- <e:localization lang="fi-FI">
434
- <p>
435
- Älä jätä mitään merkintöjä sellaisen tehtävän vastaukselle varattuun tilaan,
436
- jota et halua jättää arvosteltavaksi.
437
- </p>
438
- </e:localization>
439
- <e:localization lang="sv-FI">
440
- <p>
441
- Lämna inga anteckningar i svarsfältet för sådana uppgifter som du inte vill
442
- lämna in för bedömning.
443
- </p>
444
- </e:localization>
445
- </e:question>
446
-
447
- <e:question>
448
- <e:question-title>Pre-defined translations</e:question-title>
449
- <p>There are some pre-defined translations that can be easily reused with the <code>e:translation</code> tag. For example this code</p>
450
- <pre class="code"><![CDATA[<e:translation key="audio-test.instructions" />]]></pre>
451
- <p>renders the following text:
452
- <e:translation key="audio-test.instructions" />
453
- </p>
454
- <p>For a full list of available translations, <a href="https://github.com/digabi/exam-engine/tree/master/packages/core/src/i18n">see these files</a>.
455
- By default, each exam's translations are first looked up in their corresponding translation files (for example,
456
- German exam = GA.ts), and then in the generic Finnish/Swedish translation files (fi-FI.ts and sv-FI.ts)</p>
457
- </e:question>
458
- </e:question>
459
-
460
-
461
- </e:section>
462
-
463
- <e:section max-answers="1">
464
- <e:section-title>Sections</e:section-title>
465
- <e:section-instruction>
466
- <p>
467
- Exam consists of sections. Each section is described in
468
- <code>e:section</code>
469
- element.
470
- </p>
471
- <p>
472
- Section can define how many questions should be answered using
473
- <code>max-answers</code>
474
- attribute.
475
- </p>
476
- <div class="warning-box">
477
- max-answers is ignored in Abitti grading.
478
- </div>
479
- <p>
480
- Section attribute <code>type</code> can be user to describe how an exam should be packed.
481
- </p>
482
- <div class="warning-box">
483
- Type attribute is an YTL specific type code that is used only in packaging exams for matriculation examination. Type options are H, T, D, E, X, A and B. Use 'H' to denote hearing section of the exam. The other options have more cosmetic effect on exam packaging. This attribute does not have effect on how sections are displayed in the exam.
484
- </div>
485
- <p>
486
- CAS applications can be disabled for a
487
- section by setting
488
- <code>cas-forbidden="true"</code>
489
- attribute.
490
- </p>
491
- </e:section-instruction>
492
- <e:section-instruction>
493
- <h4>Example of simple section</h4>
494
- <pre class="code"><![CDATA[<e:section max-answers="1">
495
- <e:section-title>Example section title</e:section-title>
496
- <e:section-instruction>Section instructions</e:section-instruction>
497
- ...HTML code, questions...
498
- <e:question>
499
- <e:question-title>Example question title</e:question-title>
500
- <e:question-instruction>Question instructions</e:question-instruction>
501
- …HTML code, answer types, materials, sub-questions...
502
- </e:question>
503
- </e:section>]]></pre>
504
- </e:section-instruction>
505
- <e:question>
506
- <e:question-title>Example question title</e:question-title>
507
- <e:question-instruction>Question instructions</e:question-instruction>
508
- …HTML code, answer types, materials, sub-questions...
509
- </e:question>
510
- </e:section>
511
-
512
- <e:section>
513
- <e:section-title>Questions</e:section-title>
514
- <e:section-instruction>
515
- <p>
516
- Every section consists of questions defined using
517
- <code>e:question</code>
518
- elements.
519
- Questions are numbered automatically and they can contain HTML code, answer types,
520
- material or sub-questions. Question can define how many sub-questions should be answered
521
- using
522
- <code>max-answers</code>
523
- attribute.
524
- </p>
525
- <p>
526
- Maximum score of question is calculated automatically using the answer types, optional
527
- sub-questions and the limits from
528
- <code>max-answers</code>
529
- attributes.
530
- </p>
531
- <div class="warning-box">
532
- max-answers is ignored in Abitti grading.
533
- </div>
534
- </e:section-instruction>
535
-
536
- <e:section-instruction>
537
- <h4>Simple question example</h4>
538
- <pre class="code"><![CDATA[<e:question>
539
- <e:question-title>Example question title</e:question-title>
540
- <e:question-instruction>Question description</e:question-instruction>
541
- …HTML code, answer types, materials, sub-questions, question numbers (e.g. <e:question-number suffix="1" />)...
542
- </e:question>]]></pre>
543
- </e:section-instruction>
544
- <e:question>
545
- <e:question-title>Example question title</e:question-title>
546
- <e:question-instruction>Question description</e:question-instruction>
547
- …HTML code, answer types, materials, sub-questions, question numbers (e.g. <e:question-number suffix="1" />)...
548
- </e:question>
549
-
550
- <e:section-instruction>
551
- <h4>Sub-question example</h4>
552
- <pre class="code"><![CDATA[<e:question max-answers="1">
553
- <e:question-title>Second example question title</e:question-title>
554
- <e:question-instruction>Second example question instructions</e:question-instruction>
555
- <e:question>
556
- <e:question-title>First sub-question title</e:question-title>
557
- <e:question-instruction>First sub-question instructions</e:question-instruction>
558
- …HTML code, answer types, materials, sub-questions...
559
- </e:question>
560
- <e:question>
561
- <e:question-title>Second sub-question title</e:question-title>
562
- <e:question-instruction>Second sub-question instructions</e:question-instruction>
563
- …HTML code, answer types, materials, sub-questions...
564
- </e:question>
565
- </e:question>]]></pre>
566
- </e:section-instruction>
567
- <e:question max-answers="1">
568
- <e:question-title>Second example question title</e:question-title>
569
- <e:question-instruction>Second example question instructions</e:question-instruction>
570
- <e:question>
571
- <e:question-title>First sub-question title</e:question-title>
572
- <e:question-instruction>First sub-question instructions</e:question-instruction>
573
- …HTML code, answer types, materials, sub-questions...
574
- </e:question>
575
- <e:question>
576
- <e:question-title>Second sub-question title</e:question-title>
577
- <e:question-instruction>Second sub-question instructions</e:question-instruction>
578
- …HTML code, answer types, materials, sub-questions...
579
- </e:question>
580
- </e:question>
581
- </e:section>
582
-
583
- <e:section>
584
- <e:section-title>Answer types</e:section-title>
585
- <e:question>
586
- <e:question-title>text-answer</e:question-title>
587
- <p>
588
- There are three types of text answers.
589
- <code>rich-text</code>
590
- answer is intended for verbose essay-style answers, whereas
591
- <code>single-line</code>
592
- answer is intended for short, at most couple words, answers.
593
- <code>integer</code>
594
- answer is intended for integer answers.
595
- </p>
596
-
597
- <p>
598
- Examinee can also attach screenshots to
599
- <code>rich-text</code>
600
- answers.
601
- </p>
602
-
603
- <table class="e-table e-width-full">
604
- <caption>Element attributes</caption>
605
- <thead>
606
- <tr>
607
- <th>Attribute</th>
608
- <th>Type</th>
609
- <th>Mandatory</th>
610
- <th>Default value</th>
611
- <th>Description</th>
612
- </tr>
613
- </thead>
614
- <tbody>
615
- <tr>
616
- <td>max-score</td>
617
- <td>Integer</td>
618
- <td>Yes</td>
619
- <td>—</td>
620
- <td>Maximum score</td>
621
- </tr>
622
- <tr>
623
- <td>max-length</td>
624
- <td>Integer</td>
625
- <td>Yes</td>
626
- <td>—</td>
627
- <td>Maximum answer length. Works only for <code>rich-text</code> answers. It won't prevent student from entering an answer that is too long but warns the student about it.</td>
628
- </tr>
629
- <tr>
630
- <td class="e-nowrap">use-language-of-instruction</td>
631
- <td>Boolean</td>
632
- <td>No</td>
633
- <td>false</td>
634
- <td>Whether the student should answer the question in the language of instruction (typically the mother tongue) or the subject language. This attribute controls the HTML lang attribute of the input element, so a screen reader will read the answer using the correct language. Used only in secondary language exams.</td>
635
- </tr>
636
- <tr>
637
- <td>type</td>
638
- <td>
639
- <code>single-line | rich-text | integer</code>
640
- </td>
641
- <td>No</td>
642
- <td>
643
- <code>single-line</code>
644
- </td>
645
- <td>Type</td>
646
- </tr>
647
- <tr>
648
- <td>class</td>
649
- <td>CSS class</td>
650
- <td>No</td>
651
- <td>-</td>
652
- <td>CSS class name</td>
653
- </tr>
654
- </tbody>
655
- </table>
656
-
657
- <h4>
658
- <code>single-line</code>
659
- answer example
660
- </h4>
661
- <pre class="code"><![CDATA[<e:text-answer max-score="2" />]]></pre>
662
- <div class="example">
663
- <e:text-answer max-score="2"/>
664
- </div>
665
-
666
- <h4>
667
- <code>rich-text</code>
668
- answer example
669
- </h4>
670
- <pre class="code"><![CDATA[<e:text-answer type="rich-text" max-score="2" />]]></pre>
671
- <div class="example">
672
- <e:text-answer type="rich-text" max-score="2"/>
673
- </div>
674
-
675
- <h4>
676
- <code>rich-text</code>
677
- answer with maximum length
678
- </h4>
679
- <pre class="code"><![CDATA[<e:text-answer type="rich-text" max-score="2" max-length="20" />]]></pre>
680
- <div class="example">
681
- <e:text-answer type="rich-text" max-score="2" max-length="20"/>
682
- </div>
683
-
684
-
685
- <h4>
686
- <code>integer</code>
687
- answer example
688
- </h4>
689
- <p>The answer can only contain digits (0...9), and optionally a minus sign (-) at the beginning</p>
690
- <pre class="code"><![CDATA[<e:text-answer type="integer" max-score="1" />]]></pre>
691
- <div class="example">
692
- <e:text-answer type="integer" max-score="1"/>
693
- </div>
694
-
695
- </e:question>
696
-
697
- <e:question>
698
- <e:question-title>
699
- choice-answer
700
- </e:question-title>
701
- <e:question-instruction>
702
- <p>
703
- <code>e:choice-answer</code>
704
- answer type creates a group of option buttons. Answer options are defined within it
705
- using
706
- <code>e:choice-answer-option</code>
707
- elements.
708
- </p>
709
- <p>By default options are shuffled.</p>
710
- </e:question-instruction>
711
-
712
- <table class="e-table e-width-full">
713
- <caption>
714
- Element attributes (
715
- <code>e:choice-answer</code>
716
- )
717
- </caption>
718
- <thead>
719
- <tr>
720
- <th>Attribute</th>
721
- <th>Type</th>
722
- <th>Mandatory</th>
723
- <th>Default value</th>
724
- <th>Description</th>
725
- </tr>
726
- </thead>
727
- <tbody>
728
- <tr>
729
- <td>ordering</td>
730
- <td>
731
- <code>random | fixed</code>
732
- </td>
733
- <td>No</td>
734
- <td>random</td>
735
- <td>Ordering of options</td>
736
- </tr>
737
- <tr>
738
- <td>direction</td>
739
- <td>
740
- <code>vertical | horizontal</code>
741
- </td>
742
- <td>No</td>
743
- <td>vertical</td>
744
- <td>Direction of options</td>
745
- </tr>
746
- <tr>
747
- <td>class</td>
748
- <td>CSS class</td>
749
- <td>No</td>
750
- <td>-</td>
751
- <td>CSS class name</td>
752
- </tr>
753
- </tbody>
754
- </table>
755
-
756
- <table class="e-table e-width-full">
757
- <caption>
758
- Element attributes (
759
- <code>e:choice-answer-option</code>
760
- )
761
- </caption>
762
- <thead>
763
- <tr>
764
- <th>Attribute</th>
765
- <th>Type</th>
766
- <th>Mandatory</th>
767
- <th>Default value</th>
768
- <th>Description</th>
769
- </tr>
770
- </thead>
771
- <tbody>
772
- <tr>
773
- <td>score</td>
774
- <td>Integer</td>
775
- <td>No</td>
776
- <td>0</td>
777
- <td>Score for option</td>
778
- </tr>
779
- <tr>
780
- <td>class</td>
781
- <td>CSS class</td>
782
- <td>No</td>
783
- <td>-</td>
784
- <td>CSS class name</td>
785
- </tr>
786
- </tbody>
787
- </table>
788
-
789
- <h4>Examples</h4>
790
- <pre class="code"><![CDATA[<e:choice-answer>
791
- <e:choice-answer-option score="2">Lorem</e:choice-answer-option>
792
- <e:choice-answer-option score="0">Ipsum</e:choice-answer-option>
793
- <e:choice-answer-option>Dolor</e:choice-answer-option>
794
- <e:choice-answer-option score="-1">Sit</e:choice-answer-option>
795
- </e:choice-answer>]]></pre>
796
- <div class="example">
797
- <e:choice-answer>
798
- <e:choice-answer-option score="2">Lorem</e:choice-answer-option>
799
- <e:choice-answer-option score="0">Ipsum</e:choice-answer-option>
800
- <e:choice-answer-option>Dolor</e:choice-answer-option>
801
- <e:choice-answer-option score="-1">Sit</e:choice-answer-option>
802
- </e:choice-answer>
803
- </div>
804
- <p>Options can contain any HTML code, like images or formulas</p>
805
- <pre class="code"><![CDATA[<e:choice-answer direction="vertical">
806
- <e:choice-answer-option>
807
- <e:formula>f(x) = \sqrt{x^2}</e:formula>
808
- </e:choice-answer-option>
809
- <e:choice-answer-option>
810
- <e:formula>f(x) = x^3</e:formula>
811
- </e:choice-answer-option>
812
- <e:choice-answer-option>
813
- <e:formula>f(x) = x^4 + 3x + 5</e:formula>
814
- </e:choice-answer-option>
815
- </e:choice-answer>]]></pre>
816
- <div class="example">
817
- <e:choice-answer direction="vertical">
818
- <e:choice-answer-option>
819
- <e:formula>f(x) = \sqrt{x^2}</e:formula>
820
- </e:choice-answer-option>
821
- <e:choice-answer-option>
822
- <e:formula>f(x) = x^3</e:formula>
823
- </e:choice-answer-option>
824
- <e:choice-answer-option>
825
- <e:formula>f(x) = x^4 + 3x + 5</e:formula>
826
- </e:choice-answer-option>
827
- </e:choice-answer>
828
- </div>
829
- <p>Horizontal direction works well for images</p>
830
- <pre class="code"><![CDATA[<e:choice-answer direction="horizontal">
831
- <e:choice-answer-option>
832
- <e:image src="example_small.jpg" />
833
- </e:choice-answer-option>
834
- <e:choice-answer-option>
835
- <e:image src="example.jpg" />
836
- </e:choice-answer-option>
837
- <e:choice-answer-option>
838
- <e:image src="example.jpg" />
839
- </e:choice-answer-option>
840
- <e:choice-answer-option>
841
- <e:image src="example_high.jpg" />
842
- </e:choice-answer-option>
843
- <e:choice-answer-option>
844
- <e:image src="example.jpg" />
845
- </e:choice-answer-option>
846
- </e:choice-answer>]]></pre>
847
- <div class="example">
848
- <e:choice-answer direction="horizontal">
849
- <e:choice-answer-option>
850
- <e:image src="example_small.jpg"/>
851
- </e:choice-answer-option>
852
- <e:choice-answer-option>
853
- <e:image src="example.jpg"/>
854
- </e:choice-answer-option>
855
- <e:choice-answer-option>
856
- <e:image src="example.jpg"/>
857
- </e:choice-answer-option>
858
- <e:choice-answer-option>
859
- <e:image src="example_high.jpg"/>
860
- </e:choice-answer-option>
861
- <e:choice-answer-option>
862
- <e:image src="example.jpg"/>
863
- </e:choice-answer-option>
864
- </e:choice-answer>
865
- </div>
866
- </e:question>
867
- <e:question>
868
- <e:question-title>
869
- dropdown-answer
870
- </e:question-title>
871
- <e:question-instruction>
872
- <p>
873
- <code>e:dropdown-answer</code>
874
- creates a dropdown menu.
875
- Similarly to
876
- <code>e:choice-answer</code>
877
- , answer options are defined within it using
878
- <code>e:dropdown-anser-option</code>
879
- elements.
880
- </p>
881
- </e:question-instruction>
882
-
883
- <table class="e-table e-width-full">
884
- <caption>
885
- Element attributes (
886
- <code>e:dropdown-answer</code>
887
- )
888
- </caption>
889
- <thead>
890
- <tr>
891
- <th>Attribute</th>
892
- <th>Type</th>
893
- <th>Mandatory</th>
894
- <th>Default value</th>
895
- <th>Description</th>
896
- </tr>
897
- </thead>
898
- <tbody>
899
- <tr>
900
- <td>ordering</td>
901
- <td>
902
- <code>random | fixed</code>
903
- </td>
904
- <td>No</td>
905
- <td>random</td>
906
- <td>Ordering of options</td>
907
- </tr>
908
- <tr>
909
- <td>class</td>
910
- <td>CSS class</td>
911
- <td>No</td>
912
- <td>-</td>
913
- <td>CSS class name</td>
914
- </tr>
915
- </tbody>
916
- </table>
917
-
918
- <table class="e-table e-width-full">
919
- <caption>
920
- Element attributes (
921
- <code>e:dropdown-answer-option</code>
922
- )
923
- </caption>
924
- <thead>
925
- <tr>
926
- <th>Attribute</th>
927
- <th>Type</th>
928
- <th>Mandatory</th>
929
- <th>Default value</th>
930
- <th>Description</th>
931
- </tr>
932
- </thead>
933
- <tbody>
934
- <tr>
935
- <td>score</td>
936
- <td>Integer</td>
937
- <td>No</td>
938
- <td>0</td>
939
- <td>Score for option</td>
940
- </tr>
941
- <tr>
942
- <td>class</td>
943
- <td>CSS class</td>
944
- <td>No</td>
945
- <td>-</td>
946
- <td>CSS class name</td>
947
- </tr>
948
- </tbody>
949
- </table>
950
-
951
- <h4>Example</h4>
952
- <pre class="code"><![CDATA[<e:dropdown-answer>
953
- <e:dropdown-answer-option score="2">Lorem</e:dropdown-answer-option>
954
- <e:dropdown-answer-option score="-1">Ipsum</e:dropdown-answer-option>
955
- <e:dropdown-answer-option score="-1">Dolor</e:dropdown-answer-option>
956
- <e:dropdown-answer-option>Sit</e:dropdown-answer-option>
957
- </e:dropdown-answer>]]></pre>
958
- <div class="example">
959
- <e:dropdown-answer>
960
- <e:dropdown-answer-option score="2">Lorem</e:dropdown-answer-option>
961
- <e:dropdown-answer-option score="-1">Ipsum</e:dropdown-answer-option>
962
- <e:dropdown-answer-option score="-1">Dolor</e:dropdown-answer-option>
963
- <e:dropdown-answer-option>Sit</e:dropdown-answer-option>
964
- </e:dropdown-answer>
965
- </div>
966
- </e:question>
967
-
968
- <e:question>
969
- <e:question-title>
970
- scored-text-answer
971
- </e:question-title>
972
- <e:question-instruction>
973
- <p>
974
- <code>e:scored-text-answer</code>
975
- is like
976
- <code>e:text-answer</code>
977
- , but it
978
- is graded automatically based on a set of correct answers. To display answer hints
979
- on the right side of the page, group
980
- <code>e:scored-text-answer</code>
981
- elements
982
- within a
983
- <code>e:hints</code>
984
- element.
985
- </p>
986
- <div class="warning-box">
987
- scored-text-answer grading must be done manually in Abitti.
988
- </div>
989
- </e:question-instruction>
990
-
991
- <table class="e-table e-width-full">
992
- <caption>
993
- Element attributes (
994
- <code>e:scored-text-answer</code>
995
- )
996
- </caption>
997
- <thead>
998
- <tr>
999
- <th>Attribute</th>
1000
- <th>Type</th>
1001
- <th>Mandatory</th>
1002
- <th>Default value</th>
1003
- <th>Description</th>
1004
- </tr>
1005
- </thead>
1006
- <tbody>
1007
- <tr>
1008
- <td>max-score</td>
1009
- <td>Integer</td>
1010
- <td>No</td>
1011
- <td>0</td>
1012
- <td>Maximum score</td>
1013
- </tr>
1014
- <tr>
1015
- <td class="e-nowrap">use-language-of-instruction</td>
1016
- <td>Boolean</td>
1017
- <td>No</td>
1018
- <td>false</td>
1019
- <td>Whether the student should answer the question in the language of instruction (typically the mother tongue) or the subject language. This attribute controls the HTML lang attribute of the input element, so a screen reader will read the answer using the correct language. Used only in secondary language exams.</td>
1020
- </tr>
1021
- <tr>
1022
- <td>class</td>
1023
- <td>CSS class</td>
1024
- <td>No</td>
1025
- <td>-</td>
1026
- <td>CSS class name</td>
1027
- </tr>
1028
- </tbody>
1029
- </table>
1030
-
1031
- <table class="e-table e-width-full">
1032
- <caption>
1033
- Element attributes (
1034
- <code>e:accepted-answer</code>
1035
- )
1036
- </caption>
1037
- <thead>
1038
- <tr>
1039
- <th>Attribute</th>
1040
- <th>Type</th>
1041
- <th>Mandatory</th>
1042
- <th>Default value</th>
1043
- <th>Description</th>
1044
- </tr>
1045
- </thead>
1046
- <tbody>
1047
- <tr>
1048
- <td>score</td>
1049
- <td>Integer</td>
1050
- <td>Yes</td>
1051
- <td>-</td>
1052
- <td>Score for answer</td>
1053
- </tr>
1054
- </tbody>
1055
- </table>
1056
-
1057
- <h4>
1058
- Example of
1059
- <code>e:scored-text-answer</code>
1060
- </h4>
1061
- <pre class="code"><![CDATA[<e:hints>
1062
- Lorem ipsum,
1063
- <e:scored-text-answer>
1064
- <e:hint>dolor?</e:hint>
1065
- <e:accepted-answer score="1">dolor</e:accepted-answer>
1066
- </e:scored-text-answer>
1067
- dolor sit amet consectetur adipisicing
1068
- <e:scored-text-answer>
1069
- <e:hint>elit?</e:hint>
1070
- <e:accepted-answer score="1">elit</e:accepted-answer>
1071
- </e:scored-text-answer>
1072
- . Aliquam, explicabo. Ut,
1073
- <e:scored-text-answer>
1074
- <e:hint>vero?</e:hint>
1075
- <e:accepted-answer score="1">vero</e:accepted-answer>
1076
- </e:scored-text-answer>
1077
- ? Exercitationem eos unde possimus
1078
- <e:scored-text-answer>
1079
- <e:hint>laboriosam?</e:hint>
1080
- <e:accepted-answer score="1">laboriosam</e:accepted-answer>
1081
- </e:scored-text-answer>
1082
- , consectetur cum perspiciatis aut
1083
- <e:scored-text-answer>
1084
- <e:hint>dolores?</e:hint>
1085
- <e:accepted-answer score="1">dolores</e:accepted-answer>
1086
- </e:scored-text-answer>
1087
- quas autem eaque impedit dolore. Blanditiis, eos doloribus.
1088
- </e:hints>]]></pre>
1089
- <div class="example">
1090
- <e:hints>
1091
- Lorem ipsum,
1092
- <e:scored-text-answer>
1093
- <e:hint>dolor?</e:hint>
1094
- <e:accepted-answer score="1">dolor</e:accepted-answer>
1095
- </e:scored-text-answer>
1096
- dolor sit amet consectetur adipisicing
1097
- <e:scored-text-answer>
1098
- <e:hint>elit?</e:hint>
1099
- <e:accepted-answer score="1">elit</e:accepted-answer>
1100
- </e:scored-text-answer>
1101
- . Aliquam, explicabo. Ut,
1102
- <e:scored-text-answer>
1103
- <e:hint>vero?</e:hint>
1104
- <e:accepted-answer score="1">vero</e:accepted-answer>
1105
- </e:scored-text-answer>
1106
- ? Exercitationem eos unde possimus
1107
- <e:scored-text-answer>
1108
- <e:hint>laboriosam?</e:hint>
1109
- <e:accepted-answer score="1">laboriosam</e:accepted-answer>
1110
- </e:scored-text-answer>
1111
- , consectetur cum perspiciatis aut
1112
- <e:scored-text-answer>
1113
- <e:hint>dolores?</e:hint>
1114
- <e:accepted-answer score="1">dolores</e:accepted-answer>
1115
- </e:scored-text-answer>
1116
- quas autem eaque impedit dolore. Blanditiis, eos doloribus.
1117
- </e:hints>
1118
- </div>
1119
-
1120
- <h4>
1121
- Example without hints
1122
- </h4>
1123
- <p>
1124
- <code>e:scored-text-answer</code>
1125
- can also be used without hints, e.g. in
1126
- mathematics exams.
1127
- </p>
1128
- <pre class="code"><![CDATA[<e:formula>\frac{4{\pi}}{2}</e:formula> simplified:
1129
- <e:scored-text-answer max-score="3"/>]]></pre>
1130
- <div class="example">
1131
- <e:formula>\frac{4{\pi}}{2}</e:formula>
1132
- simplified:
1133
- <e:scored-text-answer max-score="3"/>
1134
- </div>
1135
- </e:question>
1136
- </e:section>
1137
-
1138
- <e:section>
1139
- <e:section-title>Material</e:section-title>
1140
- <e:question>
1141
- <e:question-title>attachment</e:question-title>
1142
- <e:question-instruction>
1143
- <p>
1144
- Questions can contain material like images, videos, HTML or files opened in external application.
1145
- Reference data can be defined within the
1146
- <code>e:attachment</code>
1147
- by using
1148
- <code>e:reference</code>
1149
- element. Reference information is displayed by adding
1150
- <code>e:references</code>
1151
- element, usually at the end of the exam.
1152
- </p>
1153
- <p>
1154
- If material should be
1155
- displayed on an external material page, the
1156
- <code>e:attachment</code>
1157
- element can be defined
1158
- as a child of an
1159
- <code>e:external-material</code>
1160
- element.
1161
- </p>
1162
- <p>
1163
- <code>e:external-material</code>
1164
- can be either a child of an
1165
- <code>e:exam</code>
1166
- or
1167
- <code>e:question</code>
1168
- element, depending on whether the material is exam-specific, or specific to a single question.
1169
- </p>
1170
- </e:question-instruction>
1171
-
1172
- <table class="e-table e-width-full">
1173
- <caption>Element attributes</caption>
1174
- <thead>
1175
- <tr>
1176
- <th>Attribute</th>
1177
- <th>Type</th>
1178
- <th>Mandatory</th>
1179
- <th>Default value</th>
1180
- <th>Description</th>
1181
- </tr>
1182
- </thead>
1183
- <tbody>
1184
- <tr>
1185
- <td>name</td>
1186
- <td>String</td>
1187
- <td>No</td>
1188
- <td>–</td>
1189
- <td>
1190
- Name of the material. Used only when material is linked to from
1191
- <code>e:attachment-link</code>
1192
- or
1193
- <code>e:attachment-links</code>
1194
- element.
1195
- </td>
1196
- </tr>
1197
- <tr>
1198
- <td>lang</td>
1199
- <td>String</td>
1200
- <td>No</td>
1201
- <td>–</td>
1202
- <td>Exam language code. Use when material should be included only in certain language version.
1203
- </td>
1204
- </tr>
1205
- </tbody>
1206
- </table>
1207
- <table class="e-table e-width-full">
1208
- <caption>
1209
- Sub-elements of
1210
- <code>e:reference</code>
1211
- </caption>
1212
- <thead>
1213
- <tr>
1214
- <th>Element</th>
1215
- <th>Type</th>
1216
- <th>Mandatory</th>
1217
- <th>Default value</th>
1218
- <th>Description</th>
1219
- </tr>
1220
- </thead>
1221
- <tbody>
1222
- <tr>
1223
- <td>author</td>
1224
- <td>String</td>
1225
- <td>No</td>
1226
- <td/>
1227
- <td>Author of the material</td>
1228
- </tr>
1229
- <tr>
1230
- <td>title</td>
1231
- <td>String</td>
1232
- <td>No</td>
1233
- <td/>
1234
- <td>title of the material title</td>
1235
- </tr>
1236
- <tr>
1237
- <td>publisher</td>
1238
- <td>String</td>
1239
- <td>No</td>
1240
- <td/>
1241
- <td>Publisher</td>
1242
- </tr>
1243
- <tr>
1244
- <td>publication</td>
1245
- <td>String</td>
1246
- <td>No</td>
1247
- <td/>
1248
- <td>Reference to the original source, e.g. "Youtube service"</td>
1249
- </tr>
1250
- <tr>
1251
- <td>howpublished</td>
1252
- <td>String</td>
1253
- <td>No</td>
1254
- <td/>
1255
- <td>Release channel, e.g. "Genius web service"</td>
1256
- </tr>
1257
- <tr>
1258
- <td>url</td>
1259
- <td>String</td>
1260
- <td>No</td>
1261
- <td/>
1262
- <td>Internet address</td>
1263
- </tr>
1264
- <tr>
1265
- <td>publication-date</td>
1266
- <td>Date</td>
1267
- <td>No</td>
1268
- <td/>
1269
- <td>Publication date, e.g. 2019-03-01 or 2019</td>
1270
- </tr>
1271
- <tr>
1272
- <td>reference-date</td>
1273
- <td>Date</td>
1274
- <td>No</td>
1275
- <td/>
1276
- <td>Refernece date, e.g. 2019-05-01 or 2019</td>
1277
- </tr>
1278
- <tr>
1279
- <td>translator</td>
1280
- <td>String</td>
1281
- <td>No</td>
1282
- <td/>
1283
- <td>Name of the translator</td>
1284
- </tr>
1285
- <tr>
1286
- <td>modified-by</td>
1287
- <td>String</td>
1288
- <td>No</td>
1289
- <td/>
1290
- <td>Name of the modifier</td>
1291
- </tr>
1292
- <tr>
1293
- <td>note</td>
1294
- <td>String</td>
1295
- <td>No</td>
1296
- <td/>
1297
- <td>Free text</td>
1298
- </tr>
1299
- </tbody>
1300
- </table>
1301
- <h4>Example of internal material</h4>
1302
- <pre class="code"><![CDATA[<e:attachment>
1303
- <e:attachment-title>Title</e:attachment-title>
1304
- <p>...HTML code...</p>
1305
- <e:image src="example.jpg" />
1306
- <p>...More HTML code...</p>
1307
- <e:reference>
1308
- <e:author>Dolor Tempor</e:author>
1309
- <e:title>Qui ullamco non ut proident sit incididunt adipisicing</e:title>
1310
- <e:publisher>Culpa ex</e:publisher>
1311
- <e:publication>MEB web service</e:publication>
1312
- <e:howpublished>Internet service</e:howpublished>
1313
- <e:url>https://www.ylioppilastutkinto.fi/en/matriculation-examination</e:url>
1314
- <e:publication-date>1983-05-09</e:publication-date>
1315
- <e:reference-date>2019-04-01</e:reference-date>
1316
- <e:translator>Travis Translator</e:translator>
1317
- <e:modified-by>Mary Modifier</e:modified-by>
1318
- <e:note>Free text field</e:note>
1319
- </e:reference>
1320
- </e:attachment>]]></pre>
1321
- <div class="example">
1322
- <e:attachment>
1323
- <e:attachment-title>Title</e:attachment-title>
1324
- <p>...HTML code...</p>
1325
- <e:image src="example.jpg"/>
1326
- <p>...More HTML code...</p>
1327
- <e:reference>
1328
- <e:author>Dolor Tempor</e:author>
1329
- <e:title>Qui ullamco non ut proident sit incididunt adipisicing</e:title>
1330
- <e:publisher>Culpa ex</e:publisher>
1331
- <e:publication>MEB web service</e:publication>
1332
- <e:howpublished>Internet service</e:howpublished>
1333
- <e:url>https://www.ylioppilastutkinto.fi/en/matriculation-examination</e:url>
1334
- <e:publication-date>1983-05-09</e:publication-date>
1335
- <e:reference-date>2019-04-01</e:reference-date>
1336
- <e:translator>Travis Translator</e:translator>
1337
- <e:modified-by>Mary Modifier</e:modified-by>
1338
- <e:note>Free text field</e:note>
1339
- </e:reference>
1340
- </e:attachment>
1341
- </div>
1342
-
1343
- <h4>Example of external material</h4>
1344
- <pre class="code"><![CDATA[<e:external-material>
1345
- <e:attachment name="test-material">
1346
- <e:attachment-title>Title 1</e:attachment-title>
1347
- <p>...HTML code...</p>
1348
- <e:image src="example.jpg" />
1349
- <p>...More HTML code...</p>
1350
- <e:reference>
1351
- <e:author>Matriculation examination board</e:author>
1352
- </e:reference>
1353
- </e:attachment>
1354
- <e:attachment name="another-test-material">
1355
- <e:attachment-title>Title 2</e:attachment-title>
1356
- <e:video src="example1.webm" />
1357
- <e:reference>
1358
- <e:author>Dolor Tempor</e:author>
1359
- <e:title>Qui ullamco non ut proident sit incididunt adipisicing</e:title>
1360
- <e:publisher>Culpa ex</e:publisher>
1361
- <e:publication>MEB web service</e:publication>
1362
- <e:howpublished>Internet service</e:howpublished>
1363
- <e:url>https://www.ylioppilastutkinto.fi/en/matriculation-examination</e:url>
1364
- <e:publication-date>1983-05-09</e:publication-date>
1365
- <e:reference-date>2019-04-01</e:reference-date>
1366
- <e:translator>Travis Translator</e:translator>
1367
- <e:modified-by>Mary Modifier</e:modified-by>
1368
- <e:note>Free text field</e:note>
1369
- </e:reference>
1370
- </e:attachment>
1371
- </e:external-material>]]></pre>
1372
- <e:external-material>
1373
- <e:attachment name="test-material">
1374
- <e:attachment-title>Title 1</e:attachment-title>
1375
- <p>...HTML code...</p>
1376
- <e:image src="example.jpg"/>
1377
- <p>...More HTML code...</p>
1378
- <e:reference>
1379
- <e:author>Matriculation examination board</e:author>
1380
- </e:reference>
1381
- </e:attachment>
1382
- <e:attachment name="another-test-material">
1383
- <e:attachment-title>Title 2</e:attachment-title>
1384
- <e:video src="example1.webm"/>
1385
- <e:reference>
1386
- <e:author>Dolor Tempor</e:author>
1387
- <e:title>Qui ullamco non ut proident sit incididunt adipisicing</e:title>
1388
- <e:publisher>Culpa ex</e:publisher>
1389
- <e:publication>MEB web service</e:publication>
1390
- <e:howpublished>Internet service</e:howpublished>
1391
- <e:url>https://www.ylioppilastutkinto.fi/en/matriculation-examination</e:url>
1392
- <e:publication-date>1983-05-09</e:publication-date>
1393
- <e:reference-date>2019-04-01</e:reference-date>
1394
- <e:translator>Travis Translator</e:translator>
1395
- <e:modified-by>Mary Modifier</e:modified-by>
1396
- <e:note>Free text field</e:note>
1397
- </e:reference>
1398
- </e:attachment>
1399
- </e:external-material>
1400
-
1401
- <h4>Example of exam-specific external material</h4>
1402
- <pre class="code"><![CDATA[<e:exam ...>
1403
- ...
1404
- <e:table-of-contents />
1405
- <e:external-material>
1406
- <e:attachment>
1407
- <e:attachment-title>Exam-specific external material title</e:attachment-title>
1408
- <p>Lorem ipsum dolor sit amet consectetur adipisicing elit.
1409
- Aspernatur, libero sunt. Eos corporis quam fugiat maiores
1410
- expedita quidem quaerat, quos voluptatem similique quae cum.
1411
- Voluptate iste sed facere cum omnis.</p>
1412
- <e:reference>
1413
- <e:author>YTL</e:author>
1414
- </e:reference>
1415
- </e:attachment>
1416
- </e:external-material>
1417
- <e:section>
1418
- ...]]></pre>
1419
-
1420
- </e:question>
1421
- <e:question>
1422
- <e:question-title>image</e:question-title>
1423
- <e:question-instruction>
1424
- <code>e:image</code>
1425
- element adds an image to the exam. It can be used anywhere where
1426
- HTML is allowed.
1427
- </e:question-instruction>
1428
-
1429
- <table class="e-table e-width-full">
1430
- <caption>Element attributes</caption>
1431
- <thead>
1432
- <tr>
1433
- <th>Attribute</th>
1434
- <th>Type</th>
1435
- <th>Mandatory</th>
1436
- <th>Default value</th>
1437
- <th>Description</th>
1438
- </tr>
1439
- </thead>
1440
- <tbody>
1441
- <tr>
1442
- <td>src</td>
1443
- <td>String</td>
1444
- <td>Yes</td>
1445
- <td>–</td>
1446
- <td>Filename of the image</td>
1447
- </tr>
1448
- <tr>
1449
- <td>lang</td>
1450
- <td>String</td>
1451
- <td>No</td>
1452
- <td>–</td>
1453
- <td>Exam language code. Use when image should be included only in certain language version.
1454
- </td>
1455
- </tr>
1456
- <tr>
1457
- <td>class</td>
1458
- <td>CSS class</td>
1459
- <td>No</td>
1460
- <td>-</td>
1461
- <td>CSS class name</td>
1462
- </tr>
1463
- </tbody>
1464
- </table>
1465
-
1466
- <h4>Example</h4>
1467
- <pre class="code"><![CDATA[<e:image src="example.jpg">
1468
- <e:image-title>Optional image title text</e:image-title>
1469
- </e:image>]]></pre>
1470
- <div class="example">
1471
- <e:image src="example.jpg">
1472
- <e:image-title>Optional image title text</e:image-title>
1473
- </e:image>
1474
- </div>
1475
- </e:question>
1476
- <e:question>
1477
- <e:question-title>image-overlay</e:question-title>
1478
- <e:question-instruction>
1479
- <p>
1480
- <code>e:image-overlay</code>
1481
- element can contain one or more image elements. It can be used anywhere where
1482
- HTML is allowed. The images are rendered on top of each other, and an input slider
1483
- is added for each image to allow for the adjustment of the opacity (transparency) of
1484
- the image. The label for each input slider is taken from the text
1485
- inside each
1486
- <code>e:image</code>
1487
- element. The text can be localized.
1488
- </p>
1489
- <p>Make sure that all the images have the same width
1490
- and height in pixels. Differently sized images will cause unwanted layout effects.
1491
- </p>
1492
- </e:question-instruction>
1493
-
1494
- <table class="e-table e-width-full">
1495
- <caption>Element attributes</caption>
1496
- <thead>
1497
- <tr>
1498
- <th>Attribute</th>
1499
- <th>Type</th>
1500
- <th>Mandatory</th>
1501
- <th>Default value</th>
1502
- <th>Description</th>
1503
- </tr>
1504
- </thead>
1505
- <tbody>
1506
- <tr>
1507
- <td>lang</td>
1508
- <td>String</td>
1509
- <td>No</td>
1510
- <td>–</td>
1511
- <td>Exam language code. Use when image-overlay should be included only in a certain language version.
1512
- </td>
1513
- </tr>
1514
- </tbody>
1515
- </table>
1516
-
1517
- <h4>Example</h4>
1518
- <pre class="code"><![CDATA[<e:image-overlay>
1519
- <e:image src="map-example-1.jpg">
1520
- <e:image-title>Topographic Map</e:image-title>
1521
- </e:image>
1522
- <e:image src="map-example-2.jpg">
1523
- <e:image-title>Public Transport Map
1524
- </e:image>
1525
- <e:image src="map-example-3.jpg">
1526
- <e:image-title>Bike Lanes Map<e:image-title>
1527
- </e:image>
1528
- </e:image-overlay>]]></pre>
1529
- <div class="example">
1530
- <e:image-overlay>
1531
- <e:image src="map-example-1.jpg">
1532
- <e:image-title>Topographic Map</e:image-title>
1533
- </e:image>
1534
- <e:image src="map-example-2.jpg">
1535
- <e:image-title>Public Transport Map</e:image-title>
1536
- </e:image>
1537
- <e:image src="map-example-3.jpg">
1538
- <e:image-title>Bike Lanes Map</e:image-title>
1539
- </e:image>
1540
- </e:image-overlay>
1541
- <p>Example maps © OpenStreetMap contributors</p>
1542
- </div>
1543
- </e:question>
1544
- <e:question>
1545
- <e:question-title>audio</e:question-title>
1546
- <e:question-instruction>
1547
- <code>e:audio</code>
1548
- element adds an audio to the exam. It can be used anywhere where
1549
- HTML is allowed.
1550
- </e:question-instruction>
1551
-
1552
- <table class="e-table e-width-full">
1553
- <caption>Element attributes</caption>
1554
- <thead>
1555
- <tr>
1556
- <th>Attribute</th>
1557
- <th>Type</th>
1558
- <th>Mandatory</th>
1559
- <th>Default value</th>
1560
- <th>Description</th>
1561
- </tr>
1562
- </thead>
1563
- <tbody>
1564
- <tr>
1565
- <td>src</td>
1566
- <td>String</td>
1567
- <td>Yes</td>
1568
- <td>–</td>
1569
- <td>Audio file name</td>
1570
- </tr>
1571
- <tr>
1572
- <td>times</td>
1573
- <td>Integer</td>
1574
- <td>No</td>
1575
- <td>∞</td>
1576
- <td>Maximum number of times the audio can be played by the examinee</td>
1577
- </tr>
1578
- <tr>
1579
- <td>lang</td>
1580
- <td>String</td>
1581
- <td>No</td>
1582
- <td>–</td>
1583
- <td>Exam language code. Use when audio should be included only in certain language version.
1584
- </td>
1585
- </tr>
1586
- <tr>
1587
- <td>class</td>
1588
- <td>CSS class</td>
1589
- <td>No</td>
1590
- <td>-</td>
1591
- <td>CSS class name</td>
1592
- </tr>
1593
- </tbody>
1594
- </table>
1595
-
1596
- <h4>Example</h4>
1597
- <pre class="code"><![CDATA[<e:audio src="example1.webm" times="2">
1598
- <e:audio-title>Optional description</e:audio-title>
1599
- </e:audio>]]></pre>
1600
- <div class="example">
1601
- <e:audio src="example1.webm" times="2"><e:audio-title>Optional description</e:audio-title></e:audio>
1602
- </div>
1603
- </e:question>
1604
- <e:question>
1605
- <e:question-title>audio-group</e:question-title>
1606
- <e:question-instruction>
1607
- <code>e:audio-group</code>
1608
- element can be used to group audio elements by adding
1609
- a separator before the group.
1610
- </e:question-instruction>
1611
- <h4>Example</h4>
1612
- <pre class="code"><![CDATA[<e:audio-group>
1613
- <e:audio src="example1.webm" times="2">
1614
- <e:audio-title>The whole recording<e:audio-title>
1615
- </e:audio>
1616
- </e:audio-group>
1617
- <e:audio-group>
1618
- <e:question>
1619
- <e:question-title>Kuuntelumonivalinta</e:question-title>
1620
- <e:choice-answer>
1621
- <e:choice-answer-option score="2">Lorem</e:choice-answer-option>
1622
- <e:choice-answer-option score="0">Ipsum</e:choice-answer-option>
1623
- <e:choice-answer-option>Dolor</e:choice-answer-option>
1624
- <e:choice-answer-option score="-1">Sit</e:choice-answer-option>
1625
- </e:choice-answer>
1626
- </e:question>
1627
- <e:question>
1628
- <e:question-title>Kuuntelumonivalinta</e:question-title>
1629
- <e:choice-answer>
1630
- <e:choice-answer-option score="2">Lorem</e:choice-answer-option>
1631
- <e:choice-answer-option score="0">Ipsum</e:choice-answer-option>
1632
- <e:choice-answer-option>Dolor</e:choice-answer-option>
1633
- <e:choice-answer-option score="-1">Sit</e:choice-answer-option>
1634
- </e:choice-answer>
1635
- </e:question>
1636
- <e:audio src="example2.webm" times="2">
1637
- <e:audio-title>The passage related to questions 11.1. and 11.2.</e:audio-title>
1638
- </e:audio>
1639
- </e:audio-group>
1640
- <e:audio-group>
1641
- <e:question>
1642
- <e:question-title>Kuuntelumonivalinta</e:question-title>
1643
- <e:choice-answer>
1644
- <e:choice-answer-option score="2">Lorem</e:choice-answer-option>
1645
- <e:choice-answer-option score="0">Ipsum</e:choice-answer-option>
1646
- <e:choice-answer-option>Dolor</e:choice-answer-option>
1647
- <e:choice-answer-option score="-1">Sit</e:choice-answer-option>
1648
- </e:choice-answer>
1649
- </e:question>
1650
- <e:audio src="example3.webm" times="2">
1651
- <e:audio-title>The passage related to question 11.3.<e:audio-title>
1652
- </e:audio>
1653
- </e:audio-group>]]></pre>
1654
- <div class="example">
1655
- <e:audio-group>
1656
- <e:audio src="example1.webm" times="2"><e:audio-title>The whole recording</e:audio-title></e:audio>
1657
- </e:audio-group>
1658
- <e:audio-group>
1659
- <e:question>
1660
- <e:question-title>Listening comprehension choice question</e:question-title>
1661
- <e:choice-answer>
1662
- <e:choice-answer-option score="2">Lorem</e:choice-answer-option>
1663
- <e:choice-answer-option score="0">Ipsum</e:choice-answer-option>
1664
- <e:choice-answer-option>Dolor</e:choice-answer-option>
1665
- <e:choice-answer-option score="-1">Sit</e:choice-answer-option>
1666
- </e:choice-answer>
1667
- </e:question>
1668
- <e:question>
1669
- <e:question-title>Listening comprehension choice question</e:question-title>
1670
- <e:choice-answer>
1671
- <e:choice-answer-option score="2">Lorem</e:choice-answer-option>
1672
- <e:choice-answer-option score="0">Ipsum</e:choice-answer-option>
1673
- <e:choice-answer-option>Dolor</e:choice-answer-option>
1674
- <e:choice-answer-option score="-1">Sit</e:choice-answer-option>
1675
- </e:choice-answer>
1676
- </e:question>
1677
- <e:audio src="example2.webm" times="2"><e:audio-title>The passage related to the two sub-questions immediately above.</e:audio-title></e:audio>
1678
- </e:audio-group>
1679
- <e:audio-group>
1680
- <e:question>
1681
- <e:question-title>Listening comprehension</e:question-title>
1682
- <e:choice-answer>
1683
- <e:choice-answer-option score="2">Lorem</e:choice-answer-option>
1684
- <e:choice-answer-option score="0">Ipsum</e:choice-answer-option>
1685
- <e:choice-answer-option>Dolor</e:choice-answer-option>
1686
- <e:choice-answer-option score="-1">Sit</e:choice-answer-option>
1687
- </e:choice-answer>
1688
- </e:question>
1689
- <e:audio src="example3.webm" times="2"><e:audio-title>The passage related to the sub-question immediately above.</e:audio-title></e:audio>
1690
- </e:audio-group>
1691
- </div>
1692
- </e:question>
1693
- <e:question>
1694
- <e:question-title>video</e:question-title>
1695
- <e:question-instruction>
1696
- <code>e:video</code>
1697
- element adds an video to the exam. It can be used anywhere where
1698
- HTML is allowed.
1699
- </e:question-instruction>
1700
-
1701
- <table class="e-table e-width-full">
1702
- <caption>Element attributes</caption>
1703
- <thead>
1704
- <tr>
1705
- <th>Attribute</th>
1706
- <th>Type</th>
1707
- <th>Mandatory</th>
1708
- <th>Default value</th>
1709
- <th>Description</th>
1710
- </tr>
1711
- </thead>
1712
- <tbody>
1713
- <tr>
1714
- <td>src</td>
1715
- <td>String</td>
1716
- <td>Yes</td>
1717
- <td>–</td>
1718
- <td>Video file name</td>
1719
- </tr>
1720
- <tr>
1721
- <td>lang</td>
1722
- <td>String</td>
1723
- <td>No</td>
1724
- <td>–</td>
1725
- <td>Exam language code. Use when video should be included only in certain language version.
1726
- </td>
1727
- </tr>
1728
- <tr>
1729
- <td>class</td>
1730
- <td>CSS class</td>
1731
- <td>No</td>
1732
- <td>-</td>
1733
- <td>CSS class name</td>
1734
- </tr>
1735
- </tbody>
1736
- </table>
1737
-
1738
- <h4>Example</h4>
1739
- <pre class="code"><![CDATA[<e:video src="example1.webm" />]]></pre>
1740
- <div class="example">
1741
- <e:video src="example1.webm"/>
1742
- </div>
1743
- </e:question>
1744
-
1745
- <e:question>
1746
- <e:question-title>file</e:question-title>
1747
- <e:question-instruction>
1748
- <code>e:file</code>
1749
- element adds an external file to the exam. It can be used anywhere where
1750
- HTML is allowed.
1751
- </e:question-instruction>
1752
-
1753
- <table class="e-table e-width-full">
1754
- <caption>Element attributes</caption>
1755
- <thead>
1756
- <tr>
1757
- <th>Attribute</th>
1758
- <th>Type</th>
1759
- <th>Mandatory</th>
1760
- <th>Default value</th>
1761
- <th>Description</th>
1762
- </tr>
1763
- </thead>
1764
- <tbody>
1765
- <tr>
1766
- <td>src</td>
1767
- <td>String</td>
1768
- <td>Yes</td>
1769
- <td>–</td>
1770
- <td>Filename</td>
1771
- </tr>
1772
- <tr>
1773
- <td>lang</td>
1774
- <td>String</td>
1775
- <td>No</td>
1776
- <td>–</td>
1777
- <td>Exam language code. Use when file should be included only in certain language version.
1778
- </td>
1779
- </tr>
1780
- <tr>
1781
- <td>class</td>
1782
- <td>CSS class</td>
1783
- <td>No</td>
1784
- <td>-</td>
1785
- <td>CSS class name</td>
1786
- </tr>
1787
- </tbody>
1788
- </table>
1789
-
1790
- <h4>Exmaple</h4>
1791
- <pre class="code"><![CDATA[<e:file src="example1.webm">Text of the file link</e:file>]]></pre>
1792
- <div class="example">
1793
- <e:file src="example1.webm">Text of the file link</e:file>
1794
- </div>
1795
- </e:question>
1796
- </e:section>
1797
-
1798
- <e:section>
1799
- <e:section-title>Links to material</e:section-title>
1800
- <e:question>
1801
- <e:question-title>attachment-link</e:question-title>
1802
- <e:question-instruction>
1803
- Material on external material page can be linked to from exam page by using
1804
- <code>e:attachment-link</code>
1805
- element.
1806
- </e:question-instruction>
1807
-
1808
- <table class="e-table e-width-full">
1809
- <caption>
1810
- Element attributes
1811
- </caption>
1812
- <thead>
1813
- <tr>
1814
- <th>Attribute</th>
1815
- <th>Type</th>
1816
- <th>Mandatory</th>
1817
- <th>Default value</th>
1818
- <th>Description</th>
1819
- </tr>
1820
- </thead>
1821
- <tbody>
1822
- <tr>
1823
- <td>ref</td>
1824
- <td>String</td>
1825
- <td>Yes</td>
1826
- <td>–</td>
1827
- <td>
1828
- Value of the linked
1829
- <code>e:attachment</code>
1830
- 's
1831
- <code>name</code>
1832
- attribute.
1833
- </td>
1834
- </tr>
1835
- <tr>
1836
- <td>type</td>
1837
- <td>
1838
- <code>long | short</code>
1839
- </td>
1840
- <td>No</td>
1841
- <td>
1842
- <code>long</code>
1843
- </td>
1844
- <td>Type of the reference, see example below.</td>
1845
- </tr>
1846
- </tbody>
1847
- </table>
1848
-
1849
- <h4>Example</h4>
1850
- <pre class="code"><![CDATA[<e:attachment-link ref="test-material" />
1851
- <e:attachment-link ref="another-test-material" type="short" />]]></pre>
1852
- <div class="example">
1853
- <code>long</code>
1854
- type reference:
1855
- <e:attachment-link ref="test-material"/>
1856
- <br/>
1857
- <code>short</code>
1858
- type reference:
1859
- <e:attachment-link ref="another-test-material" type="short"/>
1860
- </div>
1861
-
1862
- </e:question>
1863
-
1864
- <e:question>
1865
- <e:question-title>attachment-links</e:question-title>
1866
- <e:question-instruction>
1867
- Use
1868
- <code>e:attachment-links</code>
1869
- element to refere to multiple materials.
1870
- </e:question-instruction>
1871
-
1872
- <h4>Example</h4>
1873
- <pre class="code"><![CDATA[<e:attachment-links>
1874
- <e:attachment-link ref="test-material" />
1875
- <e:attachment-link ref="another-test-material" />
1876
- </e:attachment-links>
1877
- <e:attachment-links type="short">
1878
- <e:attachment-link ref="test-material" />
1879
- <e:attachment-link ref="another-test-material" />
1880
- </e:attachment-links>]]></pre>
1881
- <div class="example">
1882
- <e:attachment-links>
1883
- <e:attachment-link ref="test-material"/>
1884
- <e:attachment-link ref="another-test-material"/>
1885
- </e:attachment-links>
1886
- <br/>
1887
- <e:attachment-links type="short">
1888
- <e:attachment-link ref="test-material"/>
1889
- <e:attachment-link ref="another-test-material"/>
1890
- </e:attachment-links>
1891
- </div>
1892
- </e:question>
1893
- </e:section>
1894
-
1895
- <e:section>
1896
- <e:section-title>Formulas</e:section-title>
1897
- <e:question>
1898
- <e:question-title>Adding formulas</e:question-title>
1899
- <e:question-instruction>
1900
- <p>
1901
- You can add
1902
- <e:formula>\LaTeX</e:formula>
1903
- formulas by using
1904
- <code>e:formula</code>
1905
- element. Formulas can be placed both
1906
- within text (
1907
- <code>inline</code>
1908
- ) and on their own line (
1909
- <code>display</code>
1910
- ).
1911
- </p>
1912
- <p>
1913
- By default, the
1914
- <e:formula>\LaTeX</e:formula>
1915
- source code of the
1916
- formula is displayed for screen readers. If you want to provide an
1917
- alternative screen reader representation of the formula, use the
1918
- <code>assistive-title</code>
1919
- attribute.
1920
- </p>
1921
- </e:question-instruction>
1922
-
1923
- <table class="e-table e-width-full">
1924
- <caption>Element attributes</caption>
1925
- <thead>
1926
- <tr>
1927
- <th>Attribute</th>
1928
- <th>Type</th>
1929
- <th>Mandatory</th>
1930
- <th>Default value</th>
1931
- <th>Description</th>
1932
- </tr>
1933
- </thead>
1934
- <tbody>
1935
- <tr>
1936
- <td>mode</td>
1937
- <td>
1938
- <code>inline | display</code>
1939
- </td>
1940
- <td>No</td>
1941
- <td>
1942
- <code>inline</code>
1943
- </td>
1944
- <td>Formula type</td>
1945
- </tr>
1946
- <tr>
1947
- <td>assistive-title</td>
1948
- <td>String</td>
1949
- <td>No</td>
1950
- <td>
1951
- The
1952
- <e:formula>\LaTeX</e:formula>
1953
- source code of the formula
1954
- </td>
1955
- <td>An alternative assistive title that describes the equation
1956
- for screen readers, perhaps using AsciiMath or Unicode
1957
- notation</td>
1958
- </tr>
1959
- </tbody>
1960
- </table>
1961
-
1962
- <p>
1963
- Notice that certain characters in formulas require special notation.
1964
- </p>
1965
- <table class="e-table">
1966
- <caption/>
1967
- <thead>
1968
- <tr>
1969
- <th>Character</th>
1970
- <th>Notation</th>
1971
- </tr>
1972
- </thead>
1973
- <tbody>
1974
- <tr>
1975
- <td>&gt;</td>
1976
- <td>
1977
- <code>&amp;gt;</code>
1978
- </td>
1979
- </tr>
1980
- <tr>
1981
- <td>&lt;</td>
1982
- <td>
1983
- <code>&amp;lt;</code>
1984
- </td>
1985
- </tr>
1986
- <tr>
1987
- <td>&amp;</td>
1988
- <td>
1989
- <code>&amp;amp;</code>
1990
- </td>
1991
- </tr>
1992
- </tbody>
1993
- </table>
1994
- <p>
1995
- For longer formulas also
1996
- <code>
1997
- <![CDATA[<e:formula>]]>
1998
- &lt;![CDATA[ latex-code ]]&gt;
1999
- <![CDATA[</e:formula>]]>
2000
- </code>
2001
- may also be used. Inside a CDATA-block escaping is not required.
2002
- </p>
2003
-
2004
- <h4>
2005
- Example of an
2006
- <code>inline</code>
2007
- formula
2008
- </h4>
2009
- <pre class="code"><![CDATA[<e:formula>\int_0^\infty e^{-x^2} dx=\frac{\sqrt{\pi}}{2}</e:formula>]]></pre>
2010
- <p>
2011
- <e:formula>\int_0^\infty e^{-x^2} dx=\frac{\sqrt{\pi}}{2}</e:formula>
2012
- </p>
2013
-
2014
- <h4>
2015
- Example of a
2016
- <code>display</code>
2017
- formula
2018
- </h4>
2019
- <pre class="code"><![CDATA[<e:formula mode="display">\int_0^\infty e^{-x^2} dx=\frac{\sqrt{\pi}}{2}</e:formula>]]></pre>
2020
- <p>
2021
- <e:formula mode="display">\int_0^\infty e^{-x^2} dx=\frac{\sqrt{\pi}}{2}</e:formula>
2022
- </p>
2023
-
2024
- <h4>
2025
- Example of a
2026
- <code>assistive-title</code>
2027
- </h4>
2028
- <pre class="code"><![CDATA[<e:formula assistive-title="10/36 &gt; 9/36 =1/4">\frac{10}{36}&gt;\frac{9}{36}=\frac{1}{4}</e:formula>]]></pre>
2029
- <p>
2030
- <e:formula assistive-title="10/36 &gt; 9/36 =1/4">\frac{10}{36}&gt;\frac{9}{36}=\frac{1}{4}</e:formula>
2031
- </p>
2032
- </e:question>
2033
- </e:section>
2034
-
2035
- <e:section>
2036
- <e:section-title>CSS styles</e:section-title>
2037
-
2038
- <e:question>
2039
- <e:question-title>Typography</e:question-title>
2040
-
2041
- <h3>Title</h3>
2042
- <p>All common header levels are in use.</p>
2043
-
2044
- <pre class="code"><![CDATA[<h1>h1. Title (40px, light)</h1>
2045
- <h2>h2. Title (30px, normal)</h2>
2046
- <h3>h3. Title (21px, semibold)</h3>
2047
- <h4>h4. Title (18px, semibold)</h4>
2048
- <h5>h5. Title (16px, semibold)</h5>
2049
- <h6>h6. Title (16px, semibold)</h6>]]></pre>
2050
- <div class="example">
2051
- <h1>h1. Title (40px, light)</h1>
2052
- <h2>h2. Title (30px, normal)</h2>
2053
- <h3>h3. Title (21px, semibold)</h3>
2054
- <h4>h4. Title (18px, semibold)</h4>
2055
- <h5>h5. Title (16px, semibold)</h5>
2056
- <h6>h6. Title (16px, semibold)</h6>
2057
- </div>
2058
-
2059
- <br/>
2060
-
2061
- <h3>Text size</h3>
2062
- <p>
2063
- Text size can be modified using
2064
- <code>e-font-size-*</code>
2065
- classes.
2066
- </p>
2067
- <pre class="code"><![CDATA[<p class="e-font-size-xxxl">.e-font-size-xxxl: (40px)</p>
2068
- <p class="e-font-size-xxl">.e-font-size-xxl: (30px)</p>
2069
- <p class="e-font-size-xl">.e-font-size-xl: (21px)</p>
2070
- <p class="e-font-size-l">.e-font-size-l: (18px)</p>
2071
- <p class="e-font-size-m">.e-font-size-m: (16px, tekstin oletuskoko)</p>
2072
- <p class="e-font-size-s">.e-font-size-s: (14px)</p>
2073
- <p class="e-font-size-xs">.e-font-size-xs: (12px)</p>]]></pre>
2074
- <div class="example">
2075
- <p class="e-font-size-xxxl">.e-font-size-xxxl: (40px)</p>
2076
- <p class="e-font-size-xxl">.e-font-size-xxl: (30px)</p>
2077
- <p class="e-font-size-xl">.e-font-size-xl: (21px)</p>
2078
- <p class="e-font-size-l">.e-font-size-l: (18px)</p>
2079
- <p class="e-font-size-m">.e-font-size-m: (16px, tekstin oletuskoko)</p>
2080
- <p class="e-font-size-s">.e-font-size-s: (14px)</p>
2081
- <p class="e-font-size-xs">.e-font-size-xs: (12px)</p>
2082
- </div>
2083
-
2084
- <h3>Typefaces</h3>
2085
- <p>
2086
- Typeface can be modified using
2087
- <code>e-semibold</code>
2088
- ,
2089
- <code>e-light</code>
2090
- ,
2091
- <code>e-italic</code>
2092
- , and
2093
- <code>e-normal</code>
2094
- classes.
2095
- </p>
2096
-
2097
- <pre class="code"><![CDATA[<p class="e-semibold">.e-semibold: Lorem ipsum dolor sit amet</p>
2098
- <p class="e-light">.e-light: Lorem ipsum dolor sit amet</p>
2099
- <p class="e-italic">.e-italic: Lorem ipsum dolor sit amet</p>
2100
- <p class="e-normal">.e-normal: Lorem ipsum dolor sit amet</p>
2101
- <p class="e-underline">.e-underline: Lorem ipsum dolor sit amet</p>]]></pre>
2102
- <div class="example">
2103
- <p class="e-semibold">.e-semibold: Lorem ipsum dolor sit amet</p>
2104
- <p class="e-light">.e-light: Lorem ipsum dolor sit amet</p>
2105
- <p class="e-italic">.e-italic: Lorem ipsum dolor sit amet</p>
2106
- <p class="e-normal">.e-normal: Lorem ipsum dolor sit amet</p>
2107
- <p class="e-underline">.e-underline: Lorem ipsum dolor sit amet</p>
2108
- </div>
2109
-
2110
- <h3>Text positioning</h3>
2111
- <p>
2112
- Text can be positioned both horizontally and vertically by using
2113
- <code>e-text-*</code>
2114
- classes.
2115
- </p>
2116
- <table class="e-table e-width-full">
2117
- <thead>
2118
- <tr>
2119
- <th>Class</th>
2120
- <th>Description</th>
2121
- </tr>
2122
- </thead>
2123
- <tbody>
2124
- <tr>
2125
- <td>
2126
- <code>e-text-center</code>
2127
- </td>
2128
- <td>
2129
- <strong>Centers</strong>
2130
- text
2131
- </td>
2132
- </tr>
2133
- <tr>
2134
- <td>
2135
- <code>e-text-left</code>
2136
- </td>
2137
- <td>
2138
- Aligns text to the
2139
- <strong>left</strong>
2140
- </td>
2141
- </tr>
2142
- <tr>
2143
- <td>
2144
- <code>e-text-right</code>
2145
- </td>
2146
- <td>
2147
- Aligns text to the
2148
- <strong>right</strong>
2149
- </td>
2150
- </tr>
2151
- <tr>
2152
- <td>
2153
- <code>e-text-justify</code>
2154
- </td>
2155
- <td>
2156
- <strong>Justifies</strong>
2157
- text
2158
- </td>
2159
- </tr>
2160
- <tr>
2161
- <td>
2162
- <code>e-text-top</code>
2163
- </td>
2164
- <td>
2165
- Aligns text to the
2166
- <strong>top</strong>
2167
- </td>
2168
- </tr>
2169
- <tr>
2170
- <td>
2171
- <code>e-text-bottom</code>
2172
- </td>
2173
- <td>
2174
- Aligns text to the
2175
- <strong>bottom</strong>
2176
- </td>
2177
- </tr>
2178
- </tbody>
2179
- </table>
2180
-
2181
- <h3>Text helper classes</h3>
2182
- <table class="e-table e-width-full">
2183
- <thead>
2184
- <tr>
2185
- <th>Class</th>
2186
- <th>Description</th>
2187
- </tr>
2188
- </thead>
2189
- <tbody>
2190
- <tr>
2191
- <td>
2192
- <code>e-nowrap</code>
2193
- </td>
2194
- <td>Prevent line wrapping</td>
2195
- </tr>
2196
- <tr>
2197
- <td>
2198
- <code>e-text-gap</code>
2199
- </td>
2200
- <td>
2201
- Create underlined gap within
2202
- <span class="e-text-gap">1.</span>
2203
- text.
2204
- </td>
2205
- </tr>
2206
- </tbody>
2207
- </table>
2208
-
2209
- <h3>Quotes</h3>
2210
- <p>
2211
- Short quotes can be defined using
2212
- <code>blockquote</code>
2213
- element.
2214
- </p>
2215
- <pre class="code"><![CDATA[<blockquote>
2216
- <p>
2217
- Consectetur quis ad fugiat ad. Do consequat sunt sit non commodo. Fugiat
2218
- laborum Lorem sint laboris cupidatat ipsum eiusmod. Incididunt
2219
- exercitation nostrud duis nulla deserunt consectetur aliquip aliquip
2220
- cupidatat. In reprehenderit aliquip velit anim pariatur. Lorem cillum
2221
- irure cupidatat veniam non incididunt enim commodo. Cillum pariatur
2222
- tempor excepteur laboris tempor exercitation consequat laboris
2223
- adipisicing duis proident proident amet.
2224
- </p>
2225
- <p>—https://www.ylioppilastutkinto.fi</p>
2226
- </blockquote>]]></pre>
2227
- <div class="example">
2228
- <blockquote>
2229
- <p>
2230
- Consectetur quis ad fugiat ad. Do consequat sunt sit non commodo. Fugiat laborum Lorem sint laboris cupidatat ipsum eiusmod.
2231
- Incididunt exercitation nostrud duis nulla deserunt consectetur aliquip aliquip cupidatat. In reprehenderit aliquip velit anim pariatur.
2232
- Lorem cillum irure cupidatat veniam non incididunt enim commodo. Cillum pariatur tempor excepteur laboris tempor exercitation
2233
- consequat laboris adipisicing duis proident proident amet.
2234
- </p>
2235
- <p>—https://www.ylioppilastutkinto.fi</p>
2236
- </blockquote>
2237
- </div>
2238
-
2239
- <p>
2240
- Contents can also be highlighted using
2241
- <code>e-box</code>
2242
- class.
2243
- </p>
2244
- <pre class="code"><![CDATA[<div class="e-box">
2245
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Libero
2246
- repudiandae sequi sapiente cumque necessitatibus ex voluptates
2247
- ullam eveniet consequuntur nulla suscipit laboriosam fugiat, soluta
2248
- repellat dolor quibusdam incidunt tempora. Suscipit.
2249
- </div>]]></pre>
2250
- <div class="example">
2251
- <div class="e-box">
2252
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Libero
2253
- repudiandae sequi sapiente cumque necessitatibus ex voluptates
2254
- ullam eveniet consequuntur nulla suscipit laboriosam fugiat, soluta
2255
- repellat dolor quibusdam incidunt tempora. Suscipit.
2256
- </div>
2257
- </div>
2258
-
2259
- </e:question>
2260
-
2261
- <e:question>
2262
- <e:question-title>Lists</e:question-title>
2263
- <e:question-instruction>There are helper classes for various ordered lists.</e:question-instruction>
2264
-
2265
- <pre class="code"><![CDATA[<ol class="e-list-lower-alpha">
2266
- <li>Eka</li>
2267
- <li>Toka</li>
2268
- <li>Kolmas</li>
2269
- </ol>]]></pre>
2270
- <div class="example">
2271
- <ol class="e-list-lower-alpha">
2272
- <li>First</li>
2273
- <li>Second</li>
2274
- <li>Third</li>
2275
- </ol>
2276
- </div>
2277
-
2278
- <pre class="code"><![CDATA[<ol class="e-list-upper-alpha">
2279
- <li>Eka</li>
2280
- <li>Toka</li>
2281
- <li>Kolmas</li>
2282
- </ol>]]></pre>
2283
- <div class="example">
2284
- <ol class="e-list-upper-alpha">
2285
- <li>First</li>
2286
- <li>Second</li>
2287
- <li>Third</li>
2288
- </ol>
2289
- </div>
2290
-
2291
- <pre class="code"><![CDATA[<ol class="e-list-lower-roman">
2292
- <li>Eka</li>
2293
- <li>Toka</li>
2294
- <li>Kolmas</li>
2295
- </ol>]]></pre>
2296
- <div class="example">
2297
- <ol class="e-list-lower-roman">
2298
- <li>First</li>
2299
- <li>Second</li>
2300
- <li>Third</li>
2301
- </ol>
2302
- </div>
2303
-
2304
- <pre class="code"><![CDATA[<ol class="e-list-upper-roman">
2305
- <li>Eka</li>
2306
- <li>Toka</li>
2307
- <li>Kolmas</li>
2308
- </ol>]]></pre>
2309
- <div class="example">
2310
- <ol class="e-list-upper-roman">
2311
- <li>First</li>
2312
- <li>Second</li>
2313
- <li>Third</li>
2314
- </ol>
2315
- </div>
2316
- <h4>Unordered list of words</h4>
2317
- <pre class="code"><![CDATA[<ul class="e-list-wordcloud">
2318
- <li>Sana</li>
2319
- <li>Moniosainen ilmaisu</li>
2320
- <li>Kolmas sana</li>
2321
- <li>Neljäs</li>
2322
- <li>Viides</li>
2323
- <li>Kuudes</li>
2324
- <li>Seitsemäs ilmaisu</li>
2325
- <li>Kahdeksas</li>
2326
- <li>Yhdeksäs</li>
2327
- <li>Kymmenes pidempi muoto</li>
2328
- <li>Yhdestoista</li>
2329
- </ul>]]></pre>
2330
- <div class="example">
2331
- <ul class="e-list-wordcloud">
2332
- <li>Word</li>
2333
- <li>Multiword content</li>
2334
- <li>Third word</li>
2335
- <li>Fourth</li>
2336
- <li>Fifth</li>
2337
- <li>Sixth</li>
2338
- <li>Seventh word</li>
2339
- <li>Eighth</li>
2340
- <li>Ninth</li>
2341
- <li>Tenth longer word</li>
2342
- <li>Eleventh</li>
2343
- </ul>
2344
- </div>
2345
-
2346
- </e:question>
2347
-
2348
- <e:question>
2349
- <e:question-title>Floating</e:question-title>
2350
-
2351
- <table class="e-table e-width-full">
2352
- <thead>
2353
- <tr>
2354
- <th>Class</th>
2355
- <th>Description</th>
2356
- </tr>
2357
- </thead>
2358
- <tbody>
2359
- <tr>
2360
- <td>
2361
- <code>e-float-left</code>
2362
- </td>
2363
- <td>
2364
- Floats element to the
2365
- <strong>left</strong>
2366
- </td>
2367
- </tr>
2368
- <tr>
2369
- <td>
2370
- <code>e-float-right</code>
2371
- </td>
2372
- <td>
2373
- Floats element to the
2374
- <strong>right</strong>
2375
- </td>
2376
- </tr>
2377
- <tr>
2378
- <td>
2379
- <code>e-clearfix</code>
2380
- </td>
2381
- <td>Stops floating</td>
2382
- </tr>
2383
- <tr>
2384
- <td>
2385
- <code>e-width-full</code>
2386
- </td>
2387
- <td>
2388
- Sets element width to
2389
- <strong>100%</strong>
2390
- </td>
2391
- </tr>
2392
- <tr>
2393
- <td>
2394
- <code>e-width-threequarters</code>
2395
- </td>
2396
- <td>
2397
- Sets element width to
2398
- <strong>75%</strong>
2399
- </td>
2400
- </tr>
2401
- <tr>
2402
- <td>
2403
- <code>e-width-half</code>
2404
- </td>
2405
- <td>
2406
- Sets element width to
2407
- <strong>50%</strong>
2408
- </td>
2409
- </tr>
2410
- <tr>
2411
- <td>
2412
- <code>e-width-third</code>
2413
- </td>
2414
- <td>
2415
- Sets element width to
2416
- <strong>33%</strong>
2417
- </td>
2418
- </tr>
2419
- <tr>
2420
- <td>
2421
- <code>e-width-quarter</code>
2422
- </td>
2423
- <td>
2424
- Sets element width to
2425
- <strong>25%</strong>
2426
- </td>
2427
- </tr>
2428
-
2429
- </tbody>
2430
- </table>
2431
-
2432
- <h3>Example</h3>
2433
- <pre class="code"><![CDATA[<div class="e-clearfix">
2434
- <e:image src="example.jpg" class="e-width-half e-mrg-r-2 e-float-left" />
2435
- <p>Lorem ipsum dolor sit amet.</p>
2436
- </div>
2437
- <div class="e-clearfix">
2438
- <e:image src="example.jpg" class="e-width-third e-mrg-l-2 e-float-right" />
2439
- <p>Lorem ipsum dolor sit amet.</p>
2440
- </div>]]></pre>
2441
- <div class="example">
2442
- <div class="e-clearfix">
2443
- <e:image src="example.jpg" class="e-width-half e-mrg-r-2 e-float-left"/>
2444
- <p>Lorem ipsum dolor sit amet.</p>
2445
- </div>
2446
- <div class="e-clearfix">
2447
- <e:image src="example.jpg" class="e-width-third e-mrg-l-2 e-float-right"/>
2448
- <p>Lorem ipsum dolor sit amet.</p>
2449
- </div>
2450
- </div>
2451
-
2452
- </e:question>
2453
-
2454
- <e:question>
2455
- <e:question-title>Illustration images</e:question-title>
2456
- <e:question-instruction>
2457
- For images aligned to the right there is a helper class
2458
- <code>e-illustration-right</code>
2459
- .
2460
- In addition to right alignment, it adds proper margins. The class does not restrict
2461
- image size, therefore
2462
- <code>e-width-*</code>
2463
- classes can be used simultaneously.
2464
- </e:question-instruction>
2465
-
2466
- <h3>Example</h3>
2467
- <pre class="code"><![CDATA[<e:image src="example.jpg" class="e-illustration-right e-width-third" />
2468
- <p>
2469
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quos
2470
- dolores quam facere vel cum eos enim eaque soluta? Ullam doloribus
2471
- explicabo commodi numquam suscipit iste recusandae illum laboriosam
2472
- dolorum ducimus?
2473
- </p>
2474
- <p>
2475
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ea
2476
- officiis adipisci odit neque quam corporis voluptatibus iste
2477
- veritatis libero tempora eius nihil facilis tempore, sit sunt enim
2478
- exercitationem. Suscipit, fugit?
2479
- </p>
2480
- <p>
2481
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Sed rerum
2482
- necessitatibus vero illo porro voluptatum fuga et quibusdam
2483
- voluptates adipisci veniam, quas natus exercitationem atque
2484
- voluptas tempora accusamus voluptate culpa!
2485
- </p>]]></pre>
2486
- <div class="example e-clearfix">
2487
- <e:image src="example.jpg" class="e-illustration-right e-width-third"/>
2488
- <p>
2489
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quos
2490
- dolores quam facere vel cum eos enim eaque soluta? Ullam doloribus
2491
- explicabo commodi numquam suscipit iste recusandae illum laboriosam
2492
- dolorum ducimus?
2493
- </p>
2494
- <p>
2495
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ea
2496
- officiis adipisci odit neque quam corporis voluptatibus iste
2497
- veritatis libero tempora eius nihil facilis tempore, sit sunt enim
2498
- exercitationem. Suscipit, fugit?
2499
- </p>
2500
- <p>
2501
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Sed rerum
2502
- necessitatibus vero illo porro voluptatum fuga et quibusdam
2503
- voluptates adipisci veniam, quas natus exercitationem atque
2504
- voluptas tempora accusamus voluptate culpa!
2505
- </p>
2506
- </div>
2507
- </e:question>
2508
-
2509
- <e:question>
2510
- <e:question-title>Margins and paddings</e:question-title>
2511
- <e:question-instruction>
2512
- <p>
2513
- For setting margin and padding there are own helper classes. The size set using
2514
- numbers, e.g. in
2515
- <code>e-pad-8</code>
2516
- the padding is 8 times larger than in
2517
- <code>e-pad-1</code>
2518
- .
2519
- </p>
2520
- <p>You can use numbers 1 to 8.</p>
2521
- </e:question-instruction>
2522
-
2523
- <table class="e-table e-width-full">
2524
- <thead>
2525
- <tr>
2526
- <th>Class</th>
2527
- <th>Description</th>
2528
- </tr>
2529
- </thead>
2530
- <tbody>
2531
- <tr>
2532
- <td>
2533
- <code>e-pad-*</code>
2534
- </td>
2535
- <td>
2536
- Padding to
2537
- <strong>every direction</strong>
2538
- </td>
2539
- </tr>
2540
- <tr>
2541
- <td>
2542
- <code>e-pad-l-*</code>
2543
- </td>
2544
- <td>
2545
- Padding to the
2546
- <strong>left</strong>
2547
- </td>
2548
- </tr>
2549
- <tr>
2550
- <td>
2551
- <code>e-pad-r-*</code>
2552
- </td>
2553
- <td>
2554
- Padding to the
2555
- <strong>right</strong>
2556
- </td>
2557
- </tr>
2558
- <tr>
2559
- <td>
2560
- <code>e-pad-l-*</code>
2561
- </td>
2562
- <td>
2563
- Padding to the
2564
- <strong>top</strong>
2565
- </td>
2566
- </tr>
2567
- <tr>
2568
- <td>
2569
- <code>e-pad-b-*</code>
2570
- </td>
2571
- <td>
2572
- Padding to the
2573
- <strong>bottom</strong>
2574
- </td>
2575
- </tr>
2576
- <tr>
2577
- <td>
2578
- <code>e-pad-x-*</code>
2579
- </td>
2580
- <td>
2581
- Padding to the
2582
- <strong>left and right</strong>
2583
- </td>
2584
- </tr>
2585
- <tr>
2586
- <td>
2587
- <code>e-pad-y-*</code>
2588
- </td>
2589
- <td>
2590
- Padding to the
2591
- <strong>top and bottom</strong>
2592
- </td>
2593
- </tr>
2594
-
2595
- <tr>
2596
- <td>
2597
- <code>e-mrg-*</code>
2598
- </td>
2599
- <td>
2600
- Margin to
2601
- <strong>every direction</strong>
2602
- </td>
2603
- </tr>
2604
- <tr>
2605
- <td>
2606
- <code>e-mrg-l-*</code>
2607
- </td>
2608
- <td>
2609
- Margin to the
2610
- <strong>left</strong>
2611
- </td>
2612
- </tr>
2613
- <tr>
2614
- <td>
2615
- <code>e-mrg-r-*</code>
2616
- </td>
2617
- <td>
2618
- Margin to the
2619
- <strong>right</strong>
2620
- </td>
2621
- </tr>
2622
- <tr>
2623
- <td>
2624
- <code>e-mrg-t-*</code>
2625
- </td>
2626
- <td>
2627
- Margin to the
2628
- <strong>top</strong>
2629
- </td>
2630
- </tr>
2631
- <tr>
2632
- <td>
2633
- <code>e-mrg-b-*</code>
2634
- </td>
2635
- <td>
2636
- Margin to the
2637
- <strong>bottom</strong>
2638
- </td>
2639
- </tr>
2640
- <tr>
2641
- <td>
2642
- <code>e-mrg-x-*</code>
2643
- </td>
2644
- <td>
2645
- Margin to the
2646
- <strong>left and right</strong>
2647
- </td>
2648
- </tr>
2649
- <tr>
2650
- <td>
2651
- <code>e-mrg-y-*</code>
2652
- </td>
2653
- <td>
2654
- Margin to the
2655
- <strong>top and bottom</strong>
2656
- </td>
2657
- </tr>
2658
- </tbody>
2659
- </table>
2660
-
2661
- <pre class="code"><![CDATA[<div>
2662
- <span class="e-pad-1">e-pad-1</span>
2663
- <span class="e-pad-2">e-pad-2</span>
2664
- <span class="e-pad-4">e-pad-4</span>
2665
- <span class="e-pad-8">e-pad-8</span>
2666
- </div>
2667
- <div>
2668
- <span class="e-pad-l-1">e-pad-l-1</span>
2669
- <span class="e-pad-l-2">e-pad-l-2</span>
2670
- <span class="e-pad-l-4">e-pad-l-4</span>
2671
- <span class="e-pad-l-8">e-pad-l-8</span>
2672
- </div>
2673
- <div>
2674
- <span class="e-pad-r-1">e-pad-r-1</span>
2675
- <span class="e-pad-r-2">e-pad-r-2</span>
2676
- <span class="e-pad-r-4">e-pad-r-4</span>
2677
- <span class="e-pad-r-8">e-pad-r-8</span>
2678
- </div>
2679
- <div>
2680
- <span class="e-pad-x-1">e-pad-x-1</span>
2681
- <span class="e-pad-x-2">e-pad-x-2</span>
2682
- <span class="e-pad-x-4">e-pad-x-4</span>
2683
- <span class="e-pad-x-8">e-pad-x-8</span>
2684
- </div>
2685
- <div>
2686
- <span class="e-pad-y-1">e-pad-y-1</span>
2687
- <span class="e-pad-y-2">e-pad-y-2</span>
2688
- <span class="e-pad-y-4">e-pad-y-4</span>
2689
- <span class="e-pad-y-8">e-pad-y-8</span>
2690
- </div>]]></pre>
2691
- <div class="example spacing-example">
2692
- <div>
2693
- <span class="e-pad-1">e-pad-1</span>
2694
- <span class="e-pad-2">e-pad-2</span>
2695
- <span class="e-pad-4">e-pad-4</span>
2696
- <span class="e-pad-8">e-pad-8</span>
2697
- </div>
2698
- <div>
2699
- <span class="e-pad-l-1">e-pad-l-1</span>
2700
- <span class="e-pad-l-2">e-pad-l-2</span>
2701
- <span class="e-pad-l-4">e-pad-l-4</span>
2702
- <span class="e-pad-l-8">e-pad-l-8</span>
2703
- </div>
2704
- <div>
2705
- <span class="e-pad-r-1">e-pad-r-1</span>
2706
- <span class="e-pad-r-2">e-pad-r-2</span>
2707
- <span class="e-pad-r-4">e-pad-r-4</span>
2708
- <span class="e-pad-r-8">e-pad-r-8</span>
2709
- </div>
2710
- <div>
2711
- <span class="e-pad-x-1">e-pad-x-1</span>
2712
- <span class="e-pad-x-2">e-pad-x-2</span>
2713
- <span class="e-pad-x-4">e-pad-x-4</span>
2714
- <span class="e-pad-x-8">e-pad-x-8</span>
2715
- </div>
2716
- <div>
2717
- <span class="e-pad-y-1">e-pad-y-1</span>
2718
- <span class="e-pad-y-2">e-pad-y-2</span>
2719
- <span class="e-pad-y-4">e-pad-y-4</span>
2720
- <span class="e-pad-y-8">e-pad-y-8</span>
2721
- </div>
2722
- </div>
2723
-
2724
- </e:question>
2725
-
2726
- <e:question>
2727
- <e:question-title>Tables</e:question-title>
2728
- <e:question-instruction>
2729
- Use classes
2730
- <code>e-table</code>
2731
- ,
2732
- <code>e-table--borderless</code>
2733
- , and
2734
- <code>e-table--zebra</code>
2735
- .
2736
- </e:question-instruction>
2737
-
2738
- <pre class="code"><![CDATA[<table class="e-table e-width-full">
2739
- <caption>Table title</caption>
2740
- <thead>
2741
- <tr>
2742
- <th>First column</th>
2743
- <th>Second column</th>
2744
- <th>Third column</th>
2745
- </tr>
2746
- </thead>
2747
- <tbody>
2748
- <tr>
2749
- <td>Lorem</td>
2750
- <td>Ipsum</td>
2751
- <td>Dolor</td>
2752
- </tr>
2753
- </tbody>
2754
- </table>]]></pre>
2755
- <div class="example">
2756
- <table class="e-table e-width-full">
2757
- <caption>Table title</caption>
2758
- <thead>
2759
- <tr>
2760
- <th>First column</th>
2761
- <th>Second column</th>
2762
- <th>Third column</th>
2763
- </tr>
2764
- </thead>
2765
- <tbody>
2766
- <tr>
2767
- <td>Lorem</td>
2768
- <td>Ipsum</td>
2769
- <td>Dolor</td>
2770
- </tr>
2771
- </tbody>
2772
- </table>
2773
- </div>
2774
-
2775
- <pre class="code"><![CDATA[<table class="e-table e-table--borderless e-width-full">
2776
- <caption>Table title</caption>
2777
- <thead>
2778
- <tr>
2779
- <th>First column</th>
2780
- <th>Second column</th>
2781
- <th>Third column</th>
2782
- </tr>
2783
- </thead>
2784
- <tbody>
2785
- <tr>
2786
- <td>Lorem</td>
2787
- <td>Ipsum</td>
2788
- <td>Dolor</td>
2789
- </tr>
2790
- </tbody>
2791
- </table>]]></pre>
2792
- <div class="example">
2793
- <table class="e-table e-table--borderless e-width-full">
2794
- <caption>Table title</caption>
2795
- <thead>
2796
- <tr>
2797
- <th>First column</th>
2798
- <th>Second column</th>
2799
- <th>Third column</th>
2800
- </tr>
2801
- </thead>
2802
- <tbody>
2803
- <tr>
2804
- <td>Lorem</td>
2805
- <td>Ipsum</td>
2806
- <td>Dolor</td>
2807
- </tr>
2808
- </tbody>
2809
- </table>
2810
- </div>
2811
-
2812
- <pre class="code"><![CDATA[<table class="e-table e-table--borderless e-table--zebra e-width-full">
2813
- <caption>Table title</caption>
2814
- <thead>
2815
- <tr>
2816
- <th>First column</th>
2817
- <th>Second column</th>
2818
- <th>Third column</th>
2819
- </tr>
2820
- </thead>
2821
- <tbody>
2822
- <tr>
2823
- <td>Lorem</td>
2824
- <td>Ipsum</td>
2825
- <td>Dolor</td>
2826
- </tr>
2827
- <tr>
2828
- <td>Ipsum</td>
2829
- <td>Dolor</td>
2830
- <td>Lorem</td>
2831
- </tr>
2832
- <tr>
2833
- <td>Dolor</td>
2834
- <td>Lorem</td>
2835
- <td>Ipsum</td>
2836
- </tr>
2837
- <tr>
2838
- <td>Lorem</td>
2839
- <td>Ipsum</td>
2840
- <td>Dolor</td>
2841
- </tr>
2842
- </tbody>
2843
- </table>]]></pre>
2844
- <div class="example">
2845
- <table class="e-table e-table--borderless e-table--zebra e-width-full">
2846
- <caption>Table title</caption>
2847
- <thead>
2848
- <tr>
2849
- <th>First column</th>
2850
- <th>Second column</th>
2851
- <th>Third column</th>
2852
- </tr>
2853
- </thead>
2854
- <tbody>
2855
- <tr>
2856
- <td>Lorem</td>
2857
- <td>Ipsum</td>
2858
- <td>Dolor</td>
2859
- </tr>
2860
- <tr>
2861
- <td>Ipsum</td>
2862
- <td>Dolor</td>
2863
- <td>Lorem</td>
2864
- </tr>
2865
- <tr>
2866
- <td>Dolor</td>
2867
- <td>Lorem</td>
2868
- <td>Ipsum</td>
2869
- </tr>
2870
- <tr>
2871
- <td>Lorem</td>
2872
- <td>Ipsum</td>
2873
- <td>Dolor</td>
2874
- </tr>
2875
- </tbody>
2876
- </table>
2877
- </div>
2878
-
2879
- <p>
2880
- Cells can be formatted using e.g.
2881
- <code>e-pad-*</code>
2882
- or
2883
- <code>e-text-*</code>
2884
- classes.
2885
- </p>
2886
-
2887
- <pre class="code"><![CDATA[<table class="e-table e-width-full">
2888
- <caption>Table title</caption>
2889
- <thead>
2890
- <tr>
2891
- <th class="e-pad-l-8">First column (padding to the left)</th>
2892
- <th class="e-text-center">Second column (centered)</th>
2893
- <th class="e-text-right">Third column (aligned to the right)</th>
2894
- </tr>
2895
- </thead>
2896
- <tbody>
2897
- <tr>
2898
- <td class="e-pad-l-8">Lorem</td>
2899
- <td class="e-text-center">Ipsum</td>
2900
- <td class="e-text-right">Dolor</td>
2901
- </tr>
2902
- </tbody>
2903
- </table>]]></pre>
2904
- <div class="example">
2905
- <table class="e-table e-width-full">
2906
- <caption>Table title</caption>
2907
- <thead>
2908
- <tr>
2909
- <th class="e-pad-l-8">First column (padding to the left)</th>
2910
- <th class="e-text-center">Second column (centered)</th>
2911
- <th class="e-text-right">Third column (aligned to the right)</th>
2912
- </tr>
2913
- </thead>
2914
- <tbody>
2915
- <tr>
2916
- <td class="e-pad-l-8">Lorem</td>
2917
- <td class="e-text-center">Ipsum</td>
2918
- <td class="e-text-right">Dolor</td>
2919
- </tr>
2920
- </tbody>
2921
- </table>
2922
- </div>
2923
-
2924
- <p>
2925
- If a table is very wide, you can prevent it from overflowing and make
2926
- it scrollable by wrapping it in an
2927
- <code>.e-scrollable-x</code>
2928
- element.
2929
- </p>
2930
-
2931
- <pre class="code"><![CDATA[<div class="e-scrollable-x">
2932
- <table class="e-table">
2933
-
2934
- </table>
2935
- </div>]]></pre>
2936
- <div class="example">
2937
- <div class="e-scrollable-x">
2938
- <table class="e-table">
2939
- <thead>
2940
- <tr>
2941
- <th>Heading</th>
2942
- <th>Heading</th>
2943
- <th>Heading</th>
2944
- <th>Heading</th>
2945
- <th>Heading</th>
2946
- <th>Heading</th>
2947
- <th>Heading</th>
2948
- <th>Heading</th>
2949
- <th>Heading</th>
2950
- <th>Heading</th>
2951
- <th>Heading</th>
2952
- <th>Heading</th>
2953
- <th>Heading</th>
2954
- <th>Heading</th>
2955
- <th>Heading</th>
2956
- <th>Heading</th>
2957
- <th>Heading</th>
2958
- <th>Heading</th>
2959
- </tr>
2960
- </thead>
2961
- <tbody>
2962
- <tr>
2963
- <td>Cell</td>
2964
- <td>Cell</td>
2965
- <td>Cell</td>
2966
- <td>Cell</td>
2967
- <td>Cell</td>
2968
- <td>Cell</td>
2969
- <td>Cell</td>
2970
- <td>Cell</td>
2971
- <td>Cell</td>
2972
- <td>Cell</td>
2973
- <td>Cell</td>
2974
- <td>Cell</td>
2975
- <td>Cell</td>
2976
- <td>Cell</td>
2977
- <td>Cell</td>
2978
- <td>Cell</td>
2979
- <td>Cell</td>
2980
- <td>Cell</td>
2981
- </tr>
2982
- <tr>
2983
- <td>Cell</td>
2984
- <td>Cell</td>
2985
- <td>Cell</td>
2986
- <td>Cell</td>
2987
- <td>Cell</td>
2988
- <td>Cell</td>
2989
- <td>Cell</td>
2990
- <td>Cell</td>
2991
- <td>Cell</td>
2992
- <td>Cell</td>
2993
- <td>Cell</td>
2994
- <td>Cell</td>
2995
- <td>Cell</td>
2996
- <td>Cell</td>
2997
- <td>Cell</td>
2998
- <td>Cell</td>
2999
- <td>Cell</td>
3000
- <td>Cell</td>
3001
- </tr>
3002
- <tr>
3003
- <td>Cell</td>
3004
- <td>Cell</td>
3005
- <td>Cell</td>
3006
- <td>Cell</td>
3007
- <td>Cell</td>
3008
- <td>Cell</td>
3009
- <td>Cell</td>
3010
- <td>Cell</td>
3011
- <td>Cell</td>
3012
- <td>Cell</td>
3013
- <td>Cell</td>
3014
- <td>Cell</td>
3015
- <td>Cell</td>
3016
- <td>Cell</td>
3017
- <td>Cell</td>
3018
- <td>Cell</td>
3019
- <td>Cell</td>
3020
- <td>Cell</td>
3021
- </tr>
3022
- </tbody>
3023
- </table>
3024
- </div>
3025
- </div>
3026
-
3027
- </e:question>
3028
-
3029
- <e:question>
3030
- <e:question-title>Text columns</e:question-title>
3031
- <e:question-instruction>
3032
- <p>
3033
- Text columns can be added using
3034
- <code>e-columns</code>
3035
- class. Ever child element within it must have
3036
- <code>
3037
- e-column</code>
3038
- class
3039
- </p>
3040
- <p>There is some empty space between columns.</p>
3041
- </e:question-instruction>
3042
-
3043
- <h4>Example</h4>
3044
-
3045
- <p>By default columns have equal width</p>
3046
- <pre class="code"><![CDATA[<div class="e-columns">
3047
- <div class="e-column">e-column</div>
3048
- <div class="e-column">e-column</div>
3049
- <div class="e-column">e-column</div>
3050
- <div class="e-column">e-column</div>
3051
- </div>]]></pre>
3052
- <div class="example grid-example">
3053
- <div class="e-columns">
3054
- <div class="e-column block">e-column</div>
3055
- <div class="e-column block">e-column</div>
3056
- <div class="e-column block">e-column</div>
3057
- <div class="e-column block">e-column</div>
3058
- </div>
3059
- </div>
3060
-
3061
- <p>You can also use a 12 column system</p>
3062
- <pre class="code"><![CDATA[<div class="e-columns">
3063
- <div class="e-column e-column--6">e-column--6</div>
3064
- <div class="e-column e-column--3">e-column--3</div>
3065
- <div class="e-column e-column--3">e-column--3</div>
3066
- </div>
3067
-
3068
- <div class="e-columns">
3069
- <div class="e-column e-column--8">e-column--8</div>
3070
- <div class="e-column e-column--2">e-column--2</div>
3071
- <div class="e-column e-column--2">e-column--2</div>
3072
- </div>
3073
-
3074
- <div class="e-columns">
3075
- <div class="e-column e-column--2">e-column--2</div>
3076
- <div class="e-column e-column--8">e-column--8</div>
3077
- <div class="e-column e-column--2">e-column--2</div>
3078
- </div>]]></pre>
3079
- <div class="example grid-example">
3080
- <div class="e-columns">
3081
- <div class="e-column e-column--6 block">e-column--6</div>
3082
- <div class="e-column e-column--3 block">e-column--3</div>
3083
- <div class="e-column e-column--3 block">e-column--3</div>
3084
- </div>
3085
-
3086
- <div class="e-columns">
3087
- <div class="e-column e-column--8 block">e-column--8</div>
3088
- <div class="e-column e-column--2 block">e-column--2</div>
3089
- <div class="e-column e-column--2 block">e-column--2</div>
3090
- </div>
3091
-
3092
- <div class="e-columns">
3093
- <div class="e-column e-column--2 block">e-column--2</div>
3094
- <div class="e-column e-column--8 block">e-column--8</div>
3095
- <div class="e-column e-column--2 block">e-column--2</div>
3096
- </div>
3097
- </div>
3098
-
3099
- <p>
3100
- To make column as narrow as possible, use
3101
- <code>e-column--narrow</code>
3102
- class.
3103
- </p>
3104
- <pre class="code"><![CDATA[<div class="e-columns">
3105
- <div class="e-column">e-column</div>
3106
- <div class="e-column e-column--narrow">e-column--narrow</div>
3107
- </div>]]></pre>
3108
- <div class="example grid-example">
3109
- <div class="e-columns">
3110
- <div class="e-column block">e-column</div>
3111
- <div class="e-column e-column--narrow block">e-column--narrow</div>
3112
- </div>
3113
- </div>
3114
- </e:question>
3115
- </e:section>
3116
-
3117
- <e:references/>
3118
- <e:exam-footer>
3119
- <p>
3120
- For more information about using this format, see
3121
- <a href="https://github.com/digabi/exam-engine">https://github.com/digabi/exam-engine</a>
3122
- </p>
3123
- <p>
3124
- <a href="https://abitti.dev/abitti-trademark.html">Use of Abitti Trademark policy</a>
3125
- </p>
3126
- </e:exam-footer>
3127
- </e:exam>