[Math] Add elementstack command
This commit is contained in:
BIN
docs/docs.pdf
BIN
docs/docs.pdf
Binary file not shown.
@@ -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|\limsupni| Shortened limit superior notation for $n \rightarrow \infty$, $\displaystyle \limsupni$
|
||||||
\item \verb|\der|\{\textit{math}\} Derivative, $\displaystyle \der{x}$
|
\item \verb|\der|\{\textit{math}\} Derivative, $\displaystyle \der{x}$
|
||||||
\item \verb|\dern|\{\textit{math}\}\{\textit{math}\} Higher derivative, $\displaystyle \dern{x}{2}$
|
\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}
|
\end{itemize}
|
||||||
|
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
\newcommand{\limni}{\limit{n}{\infty}}
|
\newcommand{\limni}{\limit{n}{\infty}}
|
||||||
\newcommand{\liminfni}{\liminf_{n \rightarrow \infty}}
|
\newcommand{\liminfni}{\liminf_{n \rightarrow \infty}}
|
||||||
\newcommand{\limsupni}{\limsup_{n \rightarrow \infty}}
|
\newcommand{\limsupni}{\limsup_{n \rightarrow \infty}}
|
||||||
|
\newcommand{\elementstack}[2]{\genfrac{}{}{0pt}{}{#1}{#2}}
|
||||||
\DeclareMathOperator\arctanh{arctanh}
|
\DeclareMathOperator\arctanh{arctanh}
|
||||||
\DeclareMathOperator\arccosh{arccosh}
|
\DeclareMathOperator\arccosh{arccosh}
|
||||||
\DeclareMathOperator\arcsinh{arcsinh}
|
\DeclareMathOperator\arcsinh{arcsinh}
|
||||||
|
|||||||
Reference in New Issue
Block a user