Elements#
Document metadata#
This section configures page metadata with a metadata
directive to
hide solutions by default.
Solutions#
This section has several solution
blocks, and the page is
configured to hide solutions by default. Click the
/
button in the navbar to show or hide them.
Solution
This solution follows the per-page setting.
Complete solution
This solution has a custom title.
Solution (show)
This solution is always visible.
Solution
This solution has a different color, and no drop-down.
IFrames#
The YouTube video below is embedded with the
youtube
directive.
The presentation below is embedded with the iframe
directive.
Numbering#
This sections uses the num
role to create numbered sub-sections that
reference each other with the numref
role, and separately numbered
unreferenced quotes.
Exercise 1#
Read these quotes, then move on to exercises 2 & 3.
Quote 1: "It would seem that you have no useful skill or talent whatsoever," he said. "Have you thought of going into teaching?""
—Terry Pratchett, Mort
Quote 2: Real stupidity beats artificial intelligence every time.
—Terry Pratchett, Hogfather
Exercise 2#
You've already read the quotes from exercise 1. Read this one as well, then go to exercise 3.
Quote 3: For a moment, nothing happened. Then, after a second or so, nothing continued to happen.
—Douglas Adams, The Hitchhiker’s Guide to the Galaxy
Exercise 3#
This is the last quote.
Quote 4: I had nightmares I thought were really horrible until I woke up and remembered what reality was at the moment.
—Iain M. Banks, Consider Phlebas
Quizzes#
This section demonstrates interactive quizzes with the quizz
directive and the quizz-input
role.
Table#
\(a\) |
\(b\) |
\(a + b\) |
---|---|---|
1 |
2 |
|
7 |
11 |
|
15 |
27 |
List#
Calculate \(6 \cdot 7 \).
Convert \(00101010_2\) to decimal.
What is the answer to the ultimate question of life, the universe, and everything? Explain your reasoning in full detail, provide references, and indicate plausible alternatives.
This input field uses the whole line. Guess what the answer is.
JavaScript-based#
The helpers in the
quizz.js
module enable the creation of quizzes as dynamic page elements.
The input field of quizz questions without a prompt uses the whole line.
Randomized drill#
Value |
Odd / even |
Opposite |
---|
Polls#
The first poll
allows only one answer.
What is the equation of a line in a plane?
\(ax^2 + bx + c = 0\) | ||||
\(ax + by + cz + d = 0\) | ||||
\((x-x_0)^2 + (y-y_0)^2 - r^2 = 0\) | ||||
\(ax + by + c = 0\) | ||||
\(y = at^2 + v_0t + y_0\) | ||||
I don't know |
The next poll allows multiple selections, doesn't number the answers, has no solutions to show, and auto-closes after 30 seconds.
Which animals do you like?
Spiders | |||
Crocodiles | |||
Dolphins | |||
Sharks | |||
Platypuses | |||
Tasmanian devils |