New paired bracket commands

This commit is contained in:
Never Gude 2026-01-18 17:47:08 +01:00
parent e653c3389a
commit 57daeb8d35
10 changed files with 2410 additions and 3 deletions

View file

@ -16,13 +16,19 @@
\newcommand\Oh{\ensuremath{\mathcal{O}}}
\newcommand\oh{\ensuremath{\scriptstyle{\mathcal{O}}}}
\newcommand\tup[1]{\ensuremath{\left(#1\right)}}
\newcommand\set[1]{\ensuremath{\{#1\}}}
\newcommand\parentheses[1]{\ensuremath{\left(#1\right)}}
\newcommand\brackets[1]{\ensuremath{\left[#1\right]}}
\newcommand\braces[1]{\ensuremath{\left\{#1\right\}}}
\newcommand\angles[1]{\ensuremath{\langle#1\rangle}}
\newcommand\tup[1]{\parentheses{#1}}
\newcommand\ivl[1]{\brackets{#1}}
\newcommand\set[1]{\braces{#1}}
\newcommand\arr[1]{\angles{#1}}
\newcommand\abs[1]{\ensuremath{\lvert#1\rvert}}
\newcommand\norm[1]{\ensuremath{\lVert#1\rVert}}
\newcommand\ceil[1]{\ensuremath{\lceil#1\rceil}}
\newcommand\floor[1]{\ensuremath{\lfloor#1\rfloor}}
\newcommand\arr[1]{\ensuremath{\langle#1\rangle}}
\newcommand\alg[1]{\normalfont \scshape #1}
\newcommand\com[1]{\normalfont \itshape /\!\!/ #1}