MathJax Cheatsheet: Unterschied zwischen den Versionen

Aus MattWiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 5: Zeile 5:
For more examples see: https://easy-copy-mathjax.nakaken88.com/en/matrix/
For more examples see: https://easy-copy-mathjax.nakaken88.com/en/matrix/


=== Lower printed Number of a Variable ===
== Subscript and Superscript ==
 
=== Subscript ===
  a_1..a_n
  a_1..a_n
<math>a_1..a_n</math>
<math>a_1..a_n</math>


=== Exponent ===
=== Double Subscript ===
{r_{0_1}​​ + r_{0_2} ​+ ... + r_{0_n}
<math>r_{0_1} + r_{0_2} + ... + r_{0_n}</math>​​​
 
=== Superscript / Exponents ===
  a^2 + b^2 = c^2
  a^2 + b^2 = c^2
<math>a^2 + b^2 = c^2</math>
<math>a^2 + b^2 = c^2</math>


=== Matrix ===
== Matrix / Matrices ==
  \begin{pmatrix}
  \begin{pmatrix}
   & ​Bob & Alice \\\  
   & ​Bob & Alice \\\  

Version vom 14. Februar 2025, 08:33 Uhr

This is a cheat sheet on which code leads to which output.

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$

For more examples see: https://easy-copy-mathjax.nakaken88.com/en/matrix/

Subscript and Superscript

Subscript

a_1..a_n

a1..an

Double Subscript

{r_{0_1}​​ + r_{0_2} ​+ ... + r_{0_n}

r01+r02+...+r0n​​​

Superscript / Exponents

a^2 + b^2 = c^2

a2+b2=c2

Matrix / Matrices

\begin{pmatrix}
 & ​Bob & Alice \\\ 
Bob & 0 & 1 \\\ 
​Alice & 1 & 0  
\end{pmatrix}

(BobAliceBob01Alice10)