diff --git a/docs/docs.pdf b/docs/docs.pdf index c600602..57b7e50 100644 Binary files a/docs/docs.pdf and b/docs/docs.pdf differ diff --git a/docs/parts/reference.tex b/docs/parts/reference.tex index 32ad0d3..0eb2341 100644 --- a/docs/parts/reference.tex +++ b/docs/parts/reference.tex @@ -82,7 +82,9 @@ These commands have to be executed inside math environment, except \verb|\timeco \item \verb|\tcl| Time complexity in $\tcl{}$-notation (best case / lower bound) \item \verb|\t[R, C, N]| Simply prints a capital R, C or N in math mode as normal text. So e.g. use $\tR$ to print an R \item \verb|\wordbool| Prints $\wordbool$ - \item \verb|\wordx|\{\textit{string}\} Prints $\wordx{test}$ + \item \verb|\words|\{\textit{string}\} Prints $\words{test}$ + \item \verb|\wordm|\{\textit{math}\} Prints $\wordm{1}$ + \item \verb|\alphabetx|\{\textit{string}\} Prints $\alphabetx{test}$ \end{itemize} \fhlc{Aquamarine}{Algorithms} diff --git a/main/cs.tex b/main/cs.tex index cdb3de1..1d074fb 100644 --- a/main/cs.tex +++ b/main/cs.tex @@ -18,7 +18,9 @@ \newcommand{\tco}[1]{\mathcal{O}\left(#1\right)} \newcommand{\tcl}[1]{\Omega\left(#1\right)} \newcommand{\wordbool}{(\Sigma_{\text{bool}})^*} -\newcommand{\wordx}[1]{(\Sigma_{\text{#1}})^*} +\newcommand{\words}[1]{(\Sigma_{\text{#1}})^*} +\newcommand{\wordm}[1]{(\Sigma_{\text{#1}})^*} +\newcommand{\alphabetx}[1]{\Sigma_{\text{#1}}} \newcommand{\tR}{\text{R}} \newcommand{\tC}{\text{C}} \newcommand{\tN}{\text{N}}