MathJax Cheatsheet: Unterschied zwischen den Versionen

Aus MattWiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
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.
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 formula needs start and end with the dollar sign, i.e.: <code>$a_1..a_n$</code>


== Sources ==
== Cheatsheet ==
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
!Description
Zeile 20: Zeile 11:
|Subscript
|Subscript
|<math>a_1..a_n</math>
|<math>a_1..a_n</math>
|
|<code>a_1..a_n</code>
a_1..a_n
|-
|-
|Double Subscript
|Double Subscript
Zeile 29: Zeile 19:
|Superscript / Exponent
|Superscript / Exponent
|<math>a^2 + b^2 = c^2</math>
|<math>a^2 + b^2 = c^2</math>
|a^2 + b^2 = c^2
|<code>a^2 + b^2 = c^2</code>
|-
|-
|Matrix
|Matrix
Zeile 44: Zeile 34:
|}
|}


=== Subscript ===
a_1..a_n
<math>a_1..a_n</math>


=== Double Subscript ===
== Sources ==
{r_{0_1}​​ + r_{0_2} ​+ ... + r_{0_n}
I found the following sources which helped me out:
<math>r_{0_1} + r_{0_2} + ... + r_{0_n}</math>​​​


=== Superscript / Exponents ===
* https://de.wikipedia.org/wiki/Liste_mathematischer_Symbole (German)
a^2 + b^2 = c^2
* https://en.wikipedia.org/wiki/Glossary_of_mathematical_symbols
<math>a^2 + b^2 = c^2</math>
* https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference
 
* https://easy-copy-mathjax.nakaken88.com/en/matrix/
== Matrix / Matrices ==
* https://bearnok.com/grva/en/knowledge/software/mathjax
\begin{pmatrix}
* https://jojozhuang.github.io/tutorial/mathjax-cheat-sheet-for-mathematical-notation/
  & ​Bob & Alice \\\
Bob & 0 & 1 \\\
​Alice & 1 & 0 
\end{pmatrix}
<math>\begin{pmatrix}
& Bob & Alice \\
Bob & 0 & 1 \\
Alice & 1 & 0
\end{pmatrix}</math>

Version vom 16. Februar 2025, 11:44 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 formula needs start and end with the dollar sign, i.e.: $a_1..a_n$

Cheatsheet

Description Example Code / Markdown
Subscript a1..an a_1..a_n
Double Subscript r01+r02+...+r0n {r_{0_1}​​ + r_{0_2} ​+ ... + r_{0_n}
Superscript / Exponent a2+b2=c2 a^2 + b^2 = c^2
Matrix
Complex Matrix (BobAliceBob01Alice10) \begin{pmatrix} & ​Bob & Alice \\\ Bob & 0 & 1 \\\​Alice & 1 & 0  \end{pmatrix}


Sources

I found the following sources which helped me out: