avatar

Stanley Yang

Undergraduate Student
University of Washington
guangyg (at) cs.washington.edu


LaTeX Showcase in Markdown

Inline Math

Here’s an example of inline math: (E = mc^2) % which doesn’t work…

Display Math

Below is a display math example: \(\int_0^\infty e^{-x^2} \, dx = \frac{\sqrt{\pi}}{2}\)

Equations

Quadratic Formula

The quadratic formula is given by: \(x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}\)

Euler’s Identity

Euler’s identity: \(e^{i\pi} + 1 = 0\)

Fractions

Here are some examples of fractions: \(\frac{a}{b} \quad \text{and} \quad \frac{1}{\sqrt{2}}\)

Sums and Products

Sum

A summation example: \(\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}\)

Product

A product example: \(\prod_{i=1}^{n} i = n!\)

Integrals

Single Integral

A single integral: \(\int x^2 \, dx = \frac{x^3}{3} + C\)

Double Integral

A double integral: \(\iint_D f(x, y) \, dA\)

Matrices

Here are some matrix examples:

Basic Matrix

A 2x2 matrix: \(\begin{pmatrix} a & b \\ c & d \end{pmatrix}\)

Augmented Matrix

An augmented matrix: \(\left[\begin{array}{ccc|c} 1 & 2 & 3 & 4 \\ 5 & 6 & 7 & 8 \\ 9 & 10 & 11 & 12 \end{array}\right]\)

Identity Matrix

An identity matrix: \(I = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}\)

Greek Letters

Some Greek letters: \(\alpha, \beta, \gamma, \delta, \epsilon, \zeta, \eta, \theta, \iota, \kappa, \lambda, \mu, \nu, \xi, \omicron, \pi, \rho, \sigma, \tau, \upsilon, \phi, \chi, \psi, \omega\)

Other Symbols

Here are some other LaTeX symbols:

Conclusion

This concludes our showcase of LaTeX features in Markdown. You can use this file to test the rendering of various LaTeX elements in your Markdown-to-HTML conversion process.


Powered by Jekyll and Minimal Light theme.