MathJax Cheatsheet: Unterschied zwischen den Versionen
Aus MattWiki
Matt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Matt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
This is a cheat sheet on which code leads to which output. | This is a cheat sheet on which code / markdown notation leads to which MathJax output. As MathJax seems to be somewhat compatible to LaTeX, some LaTeX Keywords seem to work too. | ||
When using inside Obsidian.md the code representing the MathJax formular needs start and end with the dollar sign, i.e.: <code>$a_1..a_n$</code> | When using inside Obsidian.md the code representing the MathJax formular needs start and end with the dollar sign, i.e.: <code>$a_1..a_n$</code> | ||
== Sources == | |||
I found the following sources which helped me out: | |||
* https://de.wikipedia.org/wiki/Liste_mathematischer_Symbole (German) | |||
* https://en.wikipedia.org/wiki/Glossary_of_mathematical_symbols | |||
* https://easy-copy-mathjax.nakaken88.com/en/matrix/ | |||
* https://bearnok.com/grva/en/knowledge/software/mathjax | |||
* https://jojozhuang.github.io/tutorial/mathjax-cheat-sheet-for-mathematical-notation/ | |||
== Subscript and Superscript == | == Subscript and Superscript == | ||
{| | |||
|+ | |||
!Description | |||
!Example | |||
!Code / Markdown | |||
|- | |||
|Subscript | |||
|<math>a_1..a_n</math> | |||
| | |||
a_1..a_n | |||
|- | |||
|Double Subscript | |||
|<math>r_{0_1} + r_{0_2} + ... + r_{0_n}</math> | |||
|<syntaxhighlight lang="latex"> | |||
{r_{0_1} + r_{0_2} + ... + r_{0_n} | |||
</syntaxhighlight> | |||
|- | |||
|Superscript / Exponent | |||
|<math>a^2 + b^2 = c^2</math> | |||
|a^2 + b^2 = c^2 | |||
|- | |||
|Matrix | |||
| | |||
| | |||
|- | |||
|Complex Matrix | |||
|<math>\begin{pmatrix} | |||
& Bob & Alice \\ | |||
Bob & 0 & 1 \\ | |||
Alice & 1 & 0 | |||
\end{pmatrix}</math> | |||
|\begin{pmatrix} & Bob & Alice \\\ Bob & 0 & 1 \\\Alice & 1 & 0 \end{pmatrix} | |||
|} | |||
=== Subscript === | === Subscript === |
Version vom 16. Februar 2025, 11:38 Uhr
This is a cheat sheet on which code / markdown notation leads to which MathJax output. As MathJax seems to be somewhat compatible to LaTeX, some LaTeX Keywords seem to work too.
When using inside Obsidian.md the code representing the MathJax formular needs start and end with the dollar sign, i.e.: $a_1..a_n$
Sources
I found the following sources which helped me out:
- https://de.wikipedia.org/wiki/Liste_mathematischer_Symbole (German)
- https://en.wikipedia.org/wiki/Glossary_of_mathematical_symbols
- https://easy-copy-mathjax.nakaken88.com/en/matrix/
- https://bearnok.com/grva/en/knowledge/software/mathjax
- https://jojozhuang.github.io/tutorial/mathjax-cheat-sheet-for-mathematical-notation/
Subscript and Superscript
Description | Example | Code / Markdown |
---|---|---|
Subscript |
a_1..a_n | |
Double Subscript | {r_{0_1} + r_{0_2} + ... + r_{0_n}
| |
Superscript / Exponent | a^2 + b^2 = c^2 | |
Matrix | ||
Complex Matrix | \begin{pmatrix} & Bob & Alice \\\ Bob & 0 & 1 \\\Alice & 1 & 0 \end{pmatrix} |
Subscript
a_1..a_n
Double Subscript
{r_{0_1} + r_{0_2} + ... + r_{0_n}
Superscript / Exponents
a^2 + b^2 = c^2
Matrix / Matrices
\begin{pmatrix} & Bob & Alice \\\ Bob & 0 & 1 \\\ Alice & 1 & 0 \end{pmatrix}