LaTeX macro examples
#Equation
\begin{align*}
x^2 + y^2 &= 1 \\
y &= \sqrt{1 - x^2}
\end{align*}#Matrix operation
C=A+BD=A⋅B\begin{align*} C &= A + B \\ D &= A \cdot B \end{align*}CD=A+B=A⋅B
#Left aligned
x2+y2=1y=1−x2\begin{align*}
x^2 + y^2 &= 1 \\
y &= \sqrt{1 - x^2}
\end{align*}x2+y2y=1=1−x2
#Inline
The photon traces a longer diagonal path, so the same tick stretches to
\Delta t = \gamma\,\Delta t_0
\gamma = (1 - v^2/c^2)^{-1/2}v/c < 1
\gamma \geq 1
v \to c
\gamma \approx 1
\tau_0 \approx 2.2\,\mu s
v \approx 0.998c
\gamma \approx 15.8
\Delta t \approx 35\,\mu s
The photon traces a longer diagonal path, so the same tick stretches to
\Delta t = \gamma\,\Delta t_0
\gamma = (1 - v^2/c^2)^{-1/2}v/c < 1
\gamma \geq 1
v \to c
#Large Inline
this is some latex text before
E = mc^2
E = mc^2
E=mc^2\begin{pmatrix}12 & 12 & 3\\ 5 & 4 & 3\\ f & 3 & e\end{pmatrix}E = mc^2
