huidr / stylemath.sty

LaTeX Style (.sty) file tailor-made for quick math typesetting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stylemath.sty

stylemath.sty is a LaTeX Style (.sty) file tailor-made for quick math typesetting.

Features

It automatically loads popular packages such as mathtools, amssymb, amsthm, amsfonts, etc. It customizes other packages such as enumitem, hyperref, etc for stylish typesetting.

It also comes with shorthands for commonly used sets, for example, simply typing \R inserts $\mathbb{R}$ and so on. Common phrases in mathematics also have shorthands, for example, \wlog stands for "Without loss of generality" and so on. It has shorthands for ordinary derivaties, partial derivatives and so on. It defines symbols for image (\im), identity functions (\id), inverse (\inv), define (\define), not divide (\notdiv), etc.

Shorthands

Commonly Used Sets

Shorthand Description
\R $\mathbb{R}$
\C $\mathbb{C}$
\F $\mathbb{F}$
\N $\mathbb{N}$
\Z $\mathbb{Z}$
\Q $\mathbb{Q}$

Ordinary and Partial Derivatives

Shorthand Description
\dd {s}{t} $\dfrac{ds}{dt}
\ddx (x^2-1) $\dfrac{} x (x^2-1)$
\ddt (t^2-1) $\dfrac{} t (t^2-1)$
\pp {s}{t} $\frac{\partial s}{\partial t}$
\ppx (xy+z) $\frac{\partial}{\partial x} (xy+z)$
\ppy (xy+z) $\frac{\partial}{\partial y} (xy+z)$
\ppz (xy+z) $\frac{\partial}{\partial z} (xy+z)$
\int x\dx $\int x , dx$

Special Symbols

Shorthand Description
\im $\mathop{\rm im}\nolimits$
\id $\mathop{\rm id}\nolimits$
\inv $^{-1}$
\define $\coloneqq$
\sends $\rightsquigarrow$
\notdiv $\nmid$

Commonly Used Phrases

Shorthand Description
\Wlog Without loss of generality
\wlog without loss of generality
\wrt with respect to

Future

This is a work in progress. It shall be updated very soon.

Feedback

Reach me (or report bugs or queries) at ronhuidrom@gmail.com

About

LaTeX Style (.sty) file tailor-made for quick math typesetting

License:MIT License


Languages

Language:TeX 100.0%