Sintaxis y comandos LaTex

Superíndice

\[ E=mc^2 \]


\[ a^2 + b^2 = c^2 \]


Subíndice

\[ H_2O \]


\[ \mathrm{H}_{2} \mathrm{O} \]


\[ NH_3 \]

Fracciones

\[ \frac{12}{6} \]


\[ \frac{3}{4} + \frac{6}{7} \]


\[ \frac{8}{9} - \frac{7}{9} \]


\[ \frac{8}{9} \times \frac{8}{6} \]


\[ \frac{8}{9} \div \frac{7}{2} \]

Sumatoria

\[ \sum_{i=1}^5 i \]


\[ \sum_{i=1}^n \frac{2i-1}{i(i+1)} \]


\[ \sum_{i=1}^{4}(3 i-1) \]

Logaritmos

\[ \log_7{49}= 2 \]


\[ \log_6{216}=3 \]


\[ \log_3{81}=4 \]

Matrices

\[ \begin{matrix} 14 & 18 & 5 \\ 7 & 9 & 12 \\ 10 & 7 & 2 \end{matrix} \]

\[ \begin{pmatrix} 14 & 18 & 5 \\ 7 & 9 & 12 \\ 10 & 7 & 2 \end{pmatrix} \]

\[ \begin{vmatrix} 14 & 18 & 5 \\ 7 & 9 & 12 \\ 10 & 7 & 2 \end{vmatrix} \]

\[ \begin{Vmatrix} 14 & 18 & 5 \\ 7 & 9 & 12 \\ 10 & 7 & 2 \end{Vmatrix} \]

Raíces

\[ \sqrt{4} \]

\[ \sqrt{2} \]

\[ \sqrt{3} =1.7320508 \]