exercise directive#
The exercise directive creates a styled exercise/task admonition. It supports difficulty levels and a digital-aids mode that changes the icon.
Basic usage#
:::{exercise} Practice
Find the derivative of $f(x)=x^3-2x$.
:::
Practice
Find the derivative of \(f(x)=x^3-2x\).
With digital aids#
When aids: true is set, the exercise icon changes to a computer icon, signaling that digital tools (CAS, graphing calculators, etc.) are allowed:
:::{exercise} Calculator exercise
---
aids: "true"
---
Use a CAS tool to solve $x^3 - 3x + 1 = 0$.
:::
Calculator exercise
Use a CAS tool to solve \(x^3 - 3x + 1 = 0\).
Options#
Option |
Meaning |
Default |
|---|---|---|
|
Difficulty tag (e.g. |
— |
|
Switch to digital-aids icon: |
|