Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| playground:playground [2025/01/13 03:04] – [KaTeX] jpelc | playground:playground [2025/05/29 15:27] (current) – [Annotations] jpelc | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== PlayGround ====== | ====== PlayGround ====== | ||
| - | Test | + | Unordered list: |
| + | * Unordered List Item | ||
| + | * Unordered List Item 2 | ||
| + | * Unordered List Item 3 | ||
| + | |||
| + | Ordered list: | ||
| + | * Ordered List Item | ||
| + | * Ordered List Item 2 | ||
| + | * Ordered List Item 3 | ||
| ====== LaTeX (MathJax) ====== | ====== LaTeX (MathJax) ====== | ||
| Line 14: | Line 23: | ||
| e^x & = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \cdots \\ | e^x & = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \cdots \\ | ||
| & = \sum_{n\geq 0} \frac{x^n}{n!} | & = \sum_{n\geq 0} \frac{x^n}{n!} | ||
| + | \end{align*} | ||
| + | |||
| + | \begin{align*} | ||
| + | \mathcal{L}_{\text{SM}} = | ||
| + | -\frac{1}{4} F_{\mu\nu}^a F^{\mu\nu a} | ||
| + | + \bar{\psi}_i \left( i \gamma^\mu D_\mu - m_i \right) \psi_i | ||
| + | + \left( D_\mu \phi \right)^\dagger \left( D^\mu \phi \right) | ||
| + | - \lambda \left( \phi^\dagger \phi - \frac{v^2}{2} \right)^2 | ||
| + | - \sum_{i,j} \left( y_{ij} \bar{\psi}_i \phi \psi_j + \text{h.c.} \right). | ||
| \end{align*} | \end{align*} | ||
| Line 35: | Line 53: | ||
| $$ e^x = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \cdots = \sum_{n \geq 0} \frac{x^n}{n!} $$ | $$ e^x = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \cdots = \sum_{n \geq 0} \frac{x^n}{n!} $$ | ||
| + | |||
| + | $$ | ||
| + | \mathcal{L}_{\text{SM}} = | ||
| + | -\frac{1}{4} F_{\mu\nu}^a F^{\mu\nu a} | ||
| + | + \bar{\psi}_i \left( i \gamma^\mu D_\mu - m_i \right) \psi_i | ||
| + | + \left( D_\mu \phi \right)^\dagger \left( D^\mu \phi \right) | ||
| + | - \lambda \left( \phi^\dagger \phi - \frac{v^2}{2} \right)^2 | ||
| + | - \sum_{i,j} \left( y_{ij} \bar{\psi}_i \phi \psi_j + \text{h.c.} \right). | ||
| + | $$ | ||
| Typeset mathematics contained inline (within) with the text of a paragraph needs to | Typeset mathematics contained inline (within) with the text of a paragraph needs to | ||
| Line 107: | Line 134: | ||
| \end{document} | \end{document} | ||
| </ | </ | ||
| + | |||
| + | ====== Flashcards ====== | ||
| + | |||
| + | You can add a flash card training set by doing: | ||
| + | |||
| + | < | ||
| + | < | ||
| + | Question 1 | ||
| + | * answer 1 | ||
| + | - answer 2 | ||
| + | - answer 3 | ||
| + | --- | ||
| + | Question 2 | ||
| + | - answer 1 | ||
| + | * answer 2 | ||
| + | - answer 3 | ||
| + | - answer 4 | ||
| + | - answer 5 | ||
| + | --- | ||
| + | Question 3 | ||
| + | - answer 1 | ||
| + | - answer 2 | ||
| + | * answer 3 | ||
| + | - answer 4 | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ====== Markdown ====== | ||
| + | < | ||
| + | [test](https:// | ||
| + | ```python | ||
| + | def f(x): | ||
| + | return x**2 | ||
| + | ``` | ||
| + | </ | ||
| + | |||
| + | ====== Codedoc ====== | ||
| + | <codedoc code> | ||
| + | < | ||
| + | test1 | ||
| + | </ | ||
| + | < | ||
| + | test2 | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <codedoc code: | ||
| + | import numpy as np | ||
| + | a = np.array([1, | ||
| + | b = a ** 2 | ||
| + | print(f" | ||
| + | </ | ||
| + | |||
| + | ====== Annotations ====== | ||
| + | /* | ||
| + | === Complex tooltipping === | ||
| + | |||
| + | < | ||
| + | < | ||
| + | |||
| + | < | ||
| + | |||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | <autott blue> | ||
| + | |||
| + | <autott plain> | ||
| + | |||
| + | <autott small> | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | |||
| + | < | ||
| + | |||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | <autott blue> | ||
| + | |||
| + | <autott plain> | ||
| + | |||
| + | <autott small> | ||
| + | |||
| + | === Simple tooltipping === | ||
| + | |||
| + | < | ||
| + | < | ||
| + | |||
| + | < | ||
| + | |||
| + | <abbr title=" | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | |||
| + | < | ||
| + | |||
| + | <abbr title=" | ||
| + | |||
| + | < | ||
| + | <abbr title=" | ||
| + | </ | ||
| + | |||
| + | <abbr title=" | ||