m.math | A Pelican Blog

# m.math

Inline colored math `a^2` and colored math block:

    a^2 + b^2 = c^2

Colored parts of inline `b^2 - \color{m-info}{4ac}` and block formulas:

    \frac{-b \pm \color{m-success} \sqrt{D}}{2a}

Properly align huge formulas vertically on a line: `\hat q^{-1} = \frac{\hat q^*}{|\hat q|^2}` and make sure there's enough space for all the complex `W` things between the lines `W = \sum_{i=0}^{n} \frac{w_i}{h_i}` because `Y = \sum_{i=0}^{n} B`

The `\cfrac` thing doesn't align well: `W = \sum_{i=0}^{n} \cfrac{w_i}{h_i}`

Properly escape the formula source:

    \begin{array}{rcl}
        x & = & 1
    \end{array}

Formulas `a^2` in big text are big.

Formulas `a^2` in small text are small.

    a^2 + b^2 = c^2

This is a title.

This is a description.

    a^2 + b^2 = c^2

The math below should not be styled as a part of the figure:

    a^2 + b^2 = c^2