[Docs] Fix error in organization, compile
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
This repository contains a collection of LaTeX files, helping you get started with LaTeX quickly.
|
||||
|
||||
Breaking change in the current version: the time complexity commands now require the math environment. You may use the following vim-regex to fix issues in your code:
|
||||
`:%s/\\text{\\tc\([olt]\){\(.*\)}}/\\tc\1{\2}/g` (execute first) and `:%s/ \\tc\([olt]\){\(.*)}\([, .\n]\)/ \$\\tc\1{\2}\$\3/g`
|
||||
`:%s/ \\tc\([olt]\){\(.*)}\([, .\n]\)/ \$\\tc\1{\2}\$\3/g` (execute first) and `:%s/\\text{\\tc\([olt]\){\(.*\)}}/\\tc\1{\2}/g`
|
||||
|
||||
|
||||
# Getting started
|
||||
|
BIN
docs/docs.pdf
BIN
docs/docs.pdf
Binary file not shown.
@@ -28,7 +28,7 @@ It has some configuration options already, but more are to come soon. If you hav
|
||||
|
||||
\begin{Large}
|
||||
\shade{red}{Breaking Changes}: The timecomplexity commands have been updated to require math environment. You can use the following regex to fix them
|
||||
\verb|:%s/\\text{\\tc\([olt]\){\(.*\)}}/\\tc\1{\2}/g| (execute first) and \verb|:%s/ \\tc\([olt]\){\(.*)}\([, .\n]\)/ \$\\tc\1{\2}\$\3/g|
|
||||
\verb|:%s/ \\tc\([olt]\){\(.*)}\([, .\n]\)/ \$\\tc\1{\2}\$\3/g| (execute first) and \verb|:%s/\\text{\\tc\([olt]\){\(.*\)}}/\\tc\1{\2}/g|
|
||||
\end{Large}
|
||||
|
||||
|
||||
|
@@ -71,13 +71,13 @@ All these have to be executed in the math environment.
|
||||
\end{itemize}
|
||||
|
||||
\subsection{CS-Commands}
|
||||
These commands have to be executed outside the math environment.
|
||||
These commands have to be executed inside math environment, except \verb|\timecomplexity| and \verb|\tc|.
|
||||
\begin{itemize}
|
||||
\item \verb|\timecomplexity| Prints the word time complexity with a coloured box.
|
||||
\item \verb|\tc| Shorthand for \verb|\tct|. Deprecated
|
||||
\item \verb|\tct| Time complexity in \tct{}-notation (average case)
|
||||
\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|\tct| Time complexity in $\tct{}$-notation (average case)
|
||||
\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|\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
|
||||
\end{itemize}
|
||||
|
||||
|
Reference in New Issue
Block a user