Add \pose commands
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
% Typography
|
% Typography
|
||||||
\usepackage{iftex}
|
\usepackage{iftex}
|
||||||
\ifluatex
|
\ifluatex
|
||||||
\usepackage{libertinus-otf}
|
\usepackage{libertinus-otf}% Also load unicode-math
|
||||||
\else
|
\else
|
||||||
\usepackage{mathtools}% Math improvements
|
\usepackage{mathtools}% Math improvements
|
||||||
\usepackage{libertinus}% Libertinus font for text and math
|
\usepackage{libertinus}% Libertinus font for text and math
|
||||||
|
|||||||
@@ -108,6 +108,14 @@
|
|||||||
\renewcommand{\secref}[2][\labelprefix]{Section~\ref{#1:#2}}
|
\renewcommand{\secref}[2][\labelprefix]{Section~\ref{#1:#2}}
|
||||||
\renewcommand{\tabref}[2][\labelprefix]{Table~\ref{#1:tab:#2}}
|
\renewcommand{\tabref}[2][\labelprefix]{Table~\ref{#1:tab:#2}}
|
||||||
|
|
||||||
|
% Math
|
||||||
|
\NewDocumentCommand{\poseFrame}{m}{\mathcal{F}_{#1{}}}
|
||||||
|
\NewDocumentCommand{\pose}{m m m}{{}^{#1\,}{\symbf{#2}}_{#3}}
|
||||||
|
\NewDocumentCommand{\poseX}{m m m o}{%
|
||||||
|
{}^{#1\,}{#2}_{#3}%
|
||||||
|
\IfValueT{#4}{\,({#4})}%
|
||||||
|
}
|
||||||
|
|
||||||
% Misc
|
% Misc
|
||||||
\newcommand{\noindentskip}{\bigskip\noindent}% Skip a line and remove the indent
|
\newcommand{\noindentskip}{\bigskip\noindent}% Skip a line and remove the indent
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user