Remove task number on maths task
This commit is contained in:
parent
383d916c47
commit
c464ea36e7
@ -449,6 +449,12 @@ h2[data-category=Task]::before {
|
||||
top: var(--versatz);
|
||||
bottom: calc(-1 * var(--versatz)); } }
|
||||
|
||||
.layout-content-only h2.task-without-number::after,
|
||||
.layout-content-only h2.task-without-number::after,
|
||||
.layout-wide-content h2.task-without-number::after,
|
||||
.layout-wide-content h2.task-without-number::after {
|
||||
display: none; }
|
||||
|
||||
img {
|
||||
width: auto;
|
||||
max-width: 100%; }
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -553,6 +553,14 @@ h2[data-category=Task]::before {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.layout-content-only h2.task-without-number::after,
|
||||
.layout-content-only h2.task-without-number::after,
|
||||
.layout-wide-content h2.task-without-number::after,
|
||||
.layout-wide-content h2.task-without-number::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
img {
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
|
||||
12
layouts/task-without-number.html
Normal file
12
layouts/task-without-number.html
Normal file
@ -0,0 +1,12 @@
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2
|
||||
data-category="@task-name"
|
||||
data-task="@task-number(inline)"
|
||||
class="task-without-number"
|
||||
>
|
||||
@title(inline)
|
||||
</h2>
|
||||
@content
|
||||
</div>
|
||||
</div>
|
||||
@ -200,7 +200,7 @@ Für diesen Fall gibt es den Befehl `\mathrm{}`.
|
||||
$\left\lbrace x \mid \mathrm{tiefe}(x) …
|
||||
```
|
||||
|
||||
@slide(layout=task)
|
||||
@slide(layout=task-without-number)
|
||||
|
||||
@task-number
|
||||
9a
|
||||
@ -218,7 +218,7 @@ Setzt die folgenden Formeln in der Datei `exercises/maths/math-formulas.tex`.
|
||||
| Mitternachtsformel | $x_{1,2} = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$ |
|
||||
| Catalansche Zahlen | $C_n = \frac{1}{n+1} {2n \choose n} = \frac{(2n)!}{(n+1)!n!}$ |
|
||||
|
||||
@slide(layout=task)
|
||||
@slide(layout=task-without-number)
|
||||
|
||||
@task-number
|
||||
9b
|
||||
|
||||
@ -202,7 +202,7 @@ This is where `\mathrm{}` comes into play.
|
||||
$\left\lbrace x \mid \mathrm{frequency} …
|
||||
```
|
||||
|
||||
@slide(layout=task)
|
||||
@slide(layout=task-without-number)
|
||||
|
||||
@task-number
|
||||
9a
|
||||
@ -221,7 +221,7 @@ Code up the following formulas in the file `exercises/maths/math-formulas.tex`.
|
||||
| Catalan numbers | $C_n = \frac{1}{n+1} {2n \choose n} = \frac{(2n)!}{(n+1)!n!}$ |
|
||||
|
||||
|
||||
@slide(layout=task)
|
||||
@slide(layout=task-without-number)
|
||||
|
||||
@task-number
|
||||
9b
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user