feat: ensuremath on some commonly used in-text operators
Update helpers / build_helpers (push) Successful in 44s

This commit is contained in:
2026-06-22 07:51:17 +02:00
parent c03766446c
commit 2428bc486e
2 changed files with 57 additions and 57 deletions
+3 -3
View File
@@ -14,9 +14,9 @@
\newcommand{\Indent}{\hspace{\algorithmicindent}} \newcommand{\Indent}{\hspace{\algorithmicindent}}
\newcommand{\tct}[1]{\Theta\left(#1\right)} \newcommand{\tct}[1]{\ensuremath{\Theta\left(#1\right)}}
\newcommand{\tco}[1]{\mathcal{O}\left(#1\right)} \newcommand{\tco}[1]{\ensuremath{\mathcal{O}\left(#1\right)}}
\newcommand{\tcl}[1]{\Omega\left(#1\right)} \newcommand{\tcl}[1]{\ensuremath{\Omega\left(#1\right)}}
\newcommand{\wordbool}{(\Sigma_{\text{bool}})^*} \newcommand{\wordbool}{(\Sigma_{\text{bool}})^*}
\newcommand{\words}[1]{(\Sigma_{\text{#1}})^*} \newcommand{\words}[1]{(\Sigma_{\text{#1}})^*}
\newcommand{\word}{\Sigma^*} \newcommand{\word}{\Sigma^*}
+54 -54
View File
@@ -3,60 +3,60 @@
% └ ┘ % └ ┘
% BB shortcuts (for number spaces, etc) % BB shortcuts (for number spaces, etc)
\newcommand{\A}{\mathbb{A}} \newcommand{\A}{\ensuremath{\mathbb{A}}}
\newcommand{\B}{\mathbb{B}} \newcommand{\B}{\ensuremath{\mathbb{B}}}
\newcommand{\C}{\mathbb{C}} \newcommand{\C}{\ensuremath{\mathbb{C}}}
\newcommand{\D}{\mathbb{D}} \newcommand{\D}{\ensuremath{\mathbb{D}}}
\newcommand{\E}{\mathbb{E}} \newcommand{\E}{\ensuremath{\mathbb{E}}}
\newcommand{\F}{\mathbb{F}} \newcommand{\F}{\ensuremath{\mathbb{F}}}
\newcommand{\G}{\mathbb{G}} \newcommand{\G}{\ensuremath{\mathbb{G}}}
\renewcommand{\H}{\mathbb{H}} \renewcommand{\H}{\ensuremath{\mathbb{H}}}
\newcommand{\I}{\mathbb{I}} \newcommand{\I}{\ensuremath{\mathbb{I}}}
\newcommand{\J}{\mathbb{J}} \newcommand{\J}{\ensuremath{\mathbb{J}}}
\newcommand{\K}{\mathbb{K}} \newcommand{\K}{\ensuremath{\mathbb{K}}}
\renewcommand{\L}{\mathbb{L}} \renewcommand{\L}{\ensuremath{\mathbb{L}}}
\newcommand{\M}{\mathbb{M}} \newcommand{\M}{\ensuremath{\mathbb{M}}}
\newcommand{\N}{\mathbb{N}} \newcommand{\N}{\ensuremath{\mathbb{N}}}
\renewcommand{\O}{\mathbb{O}} \renewcommand{\O}{\ensuremath{\mathbb{O}}}
\renewcommand{\P}{\mathbb{P}} \renewcommand{\P}{\ensuremath{\mathbb{P}}}
\newcommand{\Q}{\mathbb{Q}} \newcommand{\Q}{\ensuremath{\mathbb{Q}}}
\newcommand{\R}{\mathbb{R}} \newcommand{\R}{\ensuremath{\mathbb{R}}}
\renewcommand{\S}{\mathbb{S}} \renewcommand{\S}{\ensuremath{\mathbb{S}}}
\newcommand{\T}{\mathbb{T}} \newcommand{\T}{\ensuremath{\mathbb{T}}}
\newcommand{\U}{\mathbb{U}} \newcommand{\U}{\ensuremath{\mathbb{U}}}
\newcommand{\V}{\mathbb{V}} \newcommand{\V}{\ensuremath{\mathbb{V}}}
\newcommand{\W}{\mathbb{W}} \newcommand{\W}{\ensuremath{\mathbb{W}}}
\newcommand{\X}{\mathbb{X}} \newcommand{\X}{\ensuremath{\mathbb{X}}}
\newcommand{\Y}{\mathbb{Y}} \newcommand{\Y}{\ensuremath{\mathbb{Y}}}
\newcommand{\Z}{\mathbb{Z}} \newcommand{\Z}{\ensuremath{\mathbb{Z}}}
% Caligraphic % Caligraphic
\newcommand{\cA}{\mathcal{A}} \newcommand{\cA}{\ensuremath{\mathcal{A}}}
\newcommand{\cB}{\mathcal{B}} \newcommand{\cB}{\ensuremath{\mathcal{B}}}
\newcommand{\cC}{\mathcal{C}} \newcommand{\cC}{\ensuremath{\mathcal{C}}}
\newcommand{\cD}{\mathcal{D}} \newcommand{\cD}{\ensuremath{\mathcal{D}}}
\newcommand{\cE}{\mathcal{E}} \newcommand{\cE}{\ensuremath{\mathcal{E}}}
\newcommand{\cF}{\mathcal{F}} \newcommand{\cF}{\ensuremath{\mathcal{F}}}
\newcommand{\cG}{\mathcal{G}} \newcommand{\cG}{\ensuremath{\mathcal{G}}}
\newcommand{\cH}{\mathcal{H}} \newcommand{\cH}{\ensuremath{\mathcal{H}}}
\newcommand{\cI}{\mathcal{I}} \newcommand{\cI}{\ensuremath{\mathcal{I}}}
\newcommand{\cJ}{\mathcal{J}} \newcommand{\cJ}{\ensuremath{\mathcal{J}}}
\newcommand{\cK}{\mathcal{K}} \newcommand{\cK}{\ensuremath{\mathcal{K}}}
\newcommand{\cL}{\mathcal{L}} \newcommand{\cL}{\ensuremath{\mathcal{L}}}
\newcommand{\cM}{\mathcal{M}} \newcommand{\cM}{\ensuremath{\mathcal{M}}}
\newcommand{\cN}{\mathcal{N}} \newcommand{\cN}{\ensuremath{\mathcal{N}}}
\newcommand{\cO}{\mathcal{O}} \newcommand{\cO}{\ensuremath{\mathcal{O}}}
\newcommand{\cP}{\mathcal{P}} \newcommand{\cP}{\ensuremath{\mathcal{P}}}
\newcommand{\cQ}{\mathcal{Q}} \newcommand{\cQ}{\ensuremath{\mathcal{Q}}}
\newcommand{\cR}{\mathcal{R}} \newcommand{\cR}{\ensuremath{\mathcal{R}}}
\newcommand{\cS}{\mathcal{S}} \newcommand{\cS}{\ensuremath{\mathcal{S}}}
\newcommand{\cT}{\mathcal{T}} \newcommand{\cT}{\ensuremath{\mathcal{T}}}
\newcommand{\cU}{\mathcal{U}} \newcommand{\cU}{\ensuremath{\mathcal{U}}}
\newcommand{\cV}{\mathcal{V}} \newcommand{\cV}{\ensuremath{\mathcal{V}}}
\newcommand{\cW}{\mathcal{W}} \newcommand{\cW}{\ensuremath{\mathcal{W}}}
\newcommand{\cX}{\mathcal{X}} \newcommand{\cX}{\ensuremath{\mathcal{X}}}
\newcommand{\cY}{\mathcal{Y}} \newcommand{\cY}{\ensuremath{\mathcal{Y}}}
\newcommand{\cZ}{\mathcal{Z}} \newcommand{\cZ}{\ensuremath{\mathcal{Z}}}
% other useful shortcuts % other useful shortcuts
\newcommand{\elementstack}[2]{\genfrac{}{}{0pt}{}{#1}{#2}} \newcommand{\elementstack}[2]{\genfrac{}{}{0pt}{}{#1}{#2}}
@@ -86,8 +86,8 @@
\newcommand{\limhz}{\limit{h}{0}} \newcommand{\limhz}{\limit{h}{0}}
\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{\sequence}[1]{(#1_n)_{n \geq 1}} \newcommand{\sequence}[1]{\ensuremath{(#1_n)_{n \geq 1}}}
\newcommand{\series}[2]{\sum_{k = 1}^{#2} #1_k} \newcommand{\series}[2]{\ensuremath{\sum_{k = 1}^{#2} #1_k}}
\DeclareMathOperator\arctanh{arctanh} \DeclareMathOperator\arctanh{arctanh}
\DeclareMathOperator\arccosh{arccosh} \DeclareMathOperator\arccosh{arccosh}