6.12 Theorems
::: {#thm-line}
The equation of any straight line, called a linear equation, can be written as:
$$
y = mx + b
$$
:::
See @thm-line.In Quarto, #thm-line is a combined command us .theorem #thm-line in bookdown. In bookdown, the label can be anything, does not have to begin with #thm-. But in Quarto, #thm-line is restrictive, it indicates the thm environment and followed by the label of the theorem line.
Theorem 6.1 The equation of any straight line, called a linear equation, can be written as:
\[ y = mx + b \]
See Theorem 6.1.
To add a name to Theorem, use name="...".
::: {#thm-topo name="Topology Space"}
A topological space $(X, \Tcal)$ is a set $X$ and a collection $\Tcal \subset \Pcal(X)$ of subsets of $X,$ called open sets, such that ...
:::
See Theorem @thm-topo.Theorem 6.2 (Topology Space) A topological space \((X, \Tcal)\) is a set \(X\) and a collection \(\Tcal \subset \Pcal(X)\) of subsets of \(X,\) called open sets, such that …
See Theorem 6.2.
Change the label prefix:
cnj-title: The title prefix used for conjecture captions.cnj-prefix: The prefix used for an inline reference to a conjecture.