Blame
|
1 | <div style="visibility:hidden;height:0;overflow:hidden;margin:0;padding:0"> |
||||||
| 2 | ||||||||
|
3 | ```math |
||||||
|
4 | \newcommand{\LetThereBe}[2]{\newcommand{#1}{#2}} \newcommand{\letThereBe}[3]{\newcommand{#1}[#2]{#3}} |
||||||
|
5 | \letThereBe{\addTag}{2}{\cssId{#1-#2}{\tag{#2}}} \letThereBe{\refTag}{2}{\href{###1-#2}{(\text{#2})}} |
||||||
|
6 | \letThereBe{\eqT}{1}{\addTag{eq}{#1}}\letThereBe{\secT}{1}{\addTag{sec}{#1}} |
||||||
|
7 | \letThereBe{\eqRef}{1}{\refTag{eq}{#1}} \letThereBe{\secRef}{1}{\refTag{sec}{#1}} |
||||||
|
8 | \LetThereBe{\R}{\mathbb{R}} \LetThereBe{\N}{\mathbb{N}} |
||||||
|
9 | \letThereBe{\set}{1}{\left\{ #1 \right\}} |
||||||
|
10 | \letThereBe{\rcases}{1}{\left.\begin{align}#1\end{align}\right\}} |
||||||
| 11 | \letThereBe{\rcasesAt}{2}{\left.\begin{alignat}{#1}#2\end{alignat}\right\}} |
|||||||
| 12 | \letThereBe{\lcases}{1}{\begin{cases}#1\end{cases}} |
|||||||
| 13 | \letThereBe{\lcasesAt}{2}{\left\{\begin{alignat}{#1}#2\end{alignat}\right.} |
|||||||
|
14 | \LetThereBe{\foo}{\mathrm{foo}} |
||||||
|
15 | ``` |
||||||
|
16 | |||||||
|
17 | </div> |
||||||
| 18 | ||||||||
|
19 | # Math test simple |
||||||
| 20 | ||||||||
|
21 | This does not render, $\foo$! |
||||||
|
22 | |||||||
| 23 | And |
|||||||
| 24 | ||||||||
|
25 | $$\set{x^2 \mid x \in \R \cap \N}. \eqT{square}$$ |
||||||
|
26 | |||||||
| 27 | After some text we reference it as $\eqRef{square}$ |
|||||||
|
28 | |||||||
| 29 | ```math |
|||||||
|
30 | \begin{align} x &= 1 \\ y &= 2x + 3 \end{align} |
||||||
|
31 | ``` |
||||||
| 32 | ||||||||
|
33 | now |
||||||
| 34 | ||||||||
| 35 | ```math |
|||||||
| 36 | \rcases{x &= 1 \\ y &= 2x + 3} and \lcases{x &= 1 \\ y &= 2x + 3} |
|||||||
| 37 | ``` |
|||||||
|
38 | are we here??? |
||||||
