mathematics - francois-rozet/sleek-template GitHub Wiki

Mathematics

Mathematics features of the sleek package.

Macros

  • \rbk, \sbk and \cbk are macros that draw respectively round, square and curly brackets around their argument.

    $$
        \rbk{\frac{\pi}{2}} \quad \sbk{\frac{\pi}{2}} \quad \cbk{\frac{\pi}{2}}
    $$
  • \abs and \norm are respectively the absolute value and the norm of their argument.

    $$
        \abs{\frac{\pi}{2}} \quad \norm{\frac{\pi}{2}}
    $$
  • \fact is meant to display the factorial of its argument which means it adds an exclamation mark to it.

    $$
        \fact{n} = \prod_{i = 1}^{n} i
    $$
  • \deriv draws a roman d, typical to derivatives and integrals.

    $$
        \frac{\deriv \bm{x}}{\deriv t} = \bm{v}
    $$
⚠️ **GitHub.com Fallback** ⚠️