diff --git a/docs/docs.pdf b/docs/docs.pdf index d72f26e..d4a8cf1 100644 Binary files a/docs/docs.pdf and b/docs/docs.pdf differ diff --git a/docs/parts/reference/math.tex b/docs/parts/reference/math.tex index 8bd5791..8990b11 100644 --- a/docs/parts/reference/math.tex +++ b/docs/parts/reference/math.tex @@ -23,5 +23,7 @@ All these have to be executed in the math environment. \item \verb|\limsupni| Shortened limit superior notation for $n \rightarrow \infty$, $\displaystyle \limsupni$ \item \verb|\der|\{\textit{math}\} Derivative, $\displaystyle \der{x}$ \item \verb|\dern|\{\textit{math}\}\{\textit{math}\} Higher derivative, $\displaystyle \dern{x}{2}$ + \item \verb|\elementstack|\{\textit{math}\}\{\textit{math}\} Stack two elements on top of eachother. Uses \verb|\genfrac| under the hood. + Can be used for example in limits as an alternative to \verb|\atop| or \verb|\substack|. \end{itemize} diff --git a/main/math.tex b/main/math.tex index ad06200..02a1018 100644 --- a/main/math.tex +++ b/main/math.tex @@ -39,6 +39,7 @@ \newcommand{\limni}{\limit{n}{\infty}} \newcommand{\liminfni}{\liminf_{n \rightarrow \infty}} \newcommand{\limsupni}{\limsup_{n \rightarrow \infty}} +\newcommand{\elementstack}[2]{\genfrac{}{}{0pt}{}{#1}{#2}} \DeclareMathOperator\arctanh{arctanh} \DeclareMathOperator\arccosh{arccosh} \DeclareMathOperator\arcsinh{arcsinh}