[CS] Add new macro for words
This commit is contained in:
BIN
docs/docs.pdf
BIN
docs/docs.pdf
Binary file not shown.
@@ -70,6 +70,8 @@ All these have to be executed in the math environment.
|
|||||||
\item \verb|\dern|\{\textit{math}\}\{\textit{math}\} Higher derivative, $\displaystyle \dern{x}{2}$
|
\item \verb|\dern|\{\textit{math}\}\{\textit{math}\} Higher derivative, $\displaystyle \dern{x}{2}$
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
|
|
||||||
|
\newpage
|
||||||
\subsection{CS-Commands}
|
\subsection{CS-Commands}
|
||||||
These commands have to be executed inside math environment, except \verb|\timecomplexity| and \verb|\tc|.
|
These commands have to be executed inside math environment, except \verb|\timecomplexity| and \verb|\tc|.
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
@@ -79,6 +81,8 @@ These commands have to be executed inside math environment, except \verb|\timeco
|
|||||||
\item \verb|\tco| Time complexity in $\tco{}$-notation (worst case / upper bound)
|
\item \verb|\tco| Time complexity in $\tco{}$-notation (worst case / upper bound)
|
||||||
\item \verb|\tcl| Time complexity in $\tcl{}$-notation (best case / lower bound)
|
\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|\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}$
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
\fhlc{Aquamarine}{Algorithms}
|
\fhlc{Aquamarine}{Algorithms}
|
||||||
|
@@ -17,6 +17,8 @@
|
|||||||
\newcommand{\tct}[1]{\Theta\left(#1\right)}
|
\newcommand{\tct}[1]{\Theta\left(#1\right)}
|
||||||
\newcommand{\tco}[1]{\mathcal{O}\left(#1\right)}
|
\newcommand{\tco}[1]{\mathcal{O}\left(#1\right)}
|
||||||
\newcommand{\tcl}[1]{\Omega\left(#1\right)}
|
\newcommand{\tcl}[1]{\Omega\left(#1\right)}
|
||||||
|
\newcommand{\wordbool}{(\Sigma_{\text{bool}})^*}
|
||||||
|
\newcommand{\wordx}[1]{(\Sigma_{\text{#1}})^*}
|
||||||
\newcommand{\tR}{\text{R}}
|
\newcommand{\tR}{\text{R}}
|
||||||
\newcommand{\tC}{\text{C}}
|
\newcommand{\tC}{\text{C}}
|
||||||
\newcommand{\tN}{\text{N}}
|
\newcommand{\tN}{\text{N}}
|
||||||
|
Reference in New Issue
Block a user