From f288af778114afb073aca96dbc6b3be3bc8ef5af Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Wed, 15 Jan 2025 09:56:47 +0100 Subject: [PATCH] Fix parenthesis size for time complexity commands --- main/cs.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main/cs.tex b/main/cs.tex index c225726..4838d92 100644 --- a/main/cs.tex +++ b/main/cs.tex @@ -12,7 +12,7 @@ \newcommand{\timecomplexity}{\fhlc{orange}{\ifnum\value{lang}<2{Time complexity}\else {Laufzeit}\fi} \hspace{0.5em}} -\newcommand{\tc}[1]{\timecomplexity $\Theta (#1)$} -\newcommand{\tct}[1]{$\Theta (#1)$} -\newcommand{\tco}[1]{$\mathcal{O}(#1)$} -\newcommand{\tcl}[1]{$\Omega(#1)$} +\newcommand{\tc}[1]{\timecomplexity $\Theta\left(#1\right)$} +\newcommand{\tct}[1]{$\Theta\left(#1\right)$} +\newcommand{\tco}[1]{$\mathcal{O}\left(#1\right)$} +\newcommand{\tcl}[1]{$\Omega\left(#1\right)$}