Put \( at the start of the code and \) towards the end of the code. Or you may simply put $$ at the beginning and at the end. Let’s explore more about writing simple equations in Latex & Mathjax.
-
Writing in Superscripts
x^{(2y)^2} \( x^{(2y)^2} \)
\tan{30^o} \( \tan{30^o} \)
-
Writing in Subscripts
a_1+b_1=a_2+b_2 \( a_1+b_1=a_2+b_2 \)
-
Writing Fractions
{1}\div{2} \( {1}\div{2} \)
\frac{x+1}{(y+2)^2} \( \frac{x+1}{(y+2)^2} \)
-
Writing Complex Numbers
\bar{2} \( \bar{2} \)
\overline{2+i} \( \overline{2+i} \)
-
Writing Vectors
\vec{2} \( \vec{2} \)
\hat{i} \( \hat{i} \)
-
Writing Text-Equation Combination
\frac{23}{\text{mol. weight of }{CaCO_3}} \( \frac{23}{\text{mol. weight of }{CaCO_3}} \)
-
Writing Determinant and Matrix
Determinant: \( A = \begin{vmatrix} a^2 & b & c \\ d & e & cos{\theta} \\ d & e & c^{2} \end{vmatrix} \)
Matrix: \( A = \begin{bmatrix} a^{2} & b & c\\ d & e & c^{2} \\ d & e & \tan{\theta} \end{bmatrix} \)
-
Writing Special Characters
\displaystyle \int \( \displaystyle \int \)
\rightarrow \( \rightarrow \)
\Rightarrow \( \Rightarrow \)
\times \( \times \)
\alpha \( \alpha \)
\theta \( \theta \)
\cos{\theta} \( \cos{\theta} \)
\Longleftrightarrow \( \Longleftrightarrow \)
\left(\right) \( \left(\right) \)
\left[\right] \( \left[\right] \)
\leq \( \leq \)
\geq \( \geq \)
\neq \( \neq \)
\pm \( \pm \)
\mp \( \mp \)
\sqrt{abcd} \( \sqrt{abcd} \)
\sqrt[3]{5} \( \sqrt[3]{5} \)
\in \( \in \)
\epsilon \( \epsilon \)
\notin \( \notin \)
\forall \( \forall \)
\& \( \& \)
\% \( \% \)
\infty \( \infty \)
\cup \( \cup \)
\cap \( \cap \)
\propto \( \propto \)
- Other Symbols:
Leave a Reply