Store to move back to normal tex files

This commit is contained in:
2026-02-19 16:52:35 +01:00
parent 201423b8a3
commit 811dc9f9eb
28 changed files with 673 additions and 954 deletions

View File

@@ -14,7 +14,7 @@
\newcommand{\Indent}{\hspace{\algorithmicindent}}
\newcommand{\tc}[]{\tco{#1}}
\newcommand{\tc}[1]{\tco{#1}}
\newcommand{\tct}[1]{\Theta\left(#1\right)}
\newcommand{\tco}[1]{\mathcal{O}\left(#1\right)}
\newcommand{\tcl}[1]{\Omega\left(#1\right)}

20
src/core/translation.sty Normal file
View File

@@ -0,0 +1,20 @@
% ┌ ┐
% │ Translation │
% └ ┘
\newcommand{\translate}[2]{%
\ifthenelse{\equal{\currentLanguage}{en}}{#1}{#2}
}
\newcommand{\tr}[2]{\translate{#1}{#2}}
% Translation aids (commonly used)
\newcommand{\trif}{\translate{if }{falls }}
\newcommand{\trIf}{\translate{If }{Falls }}
\newcommand{\trLet}{\translate{Let }{Sei }}
\newcommand{\trLets}{\translate{Let }{Seien }}
\newcommand{\trFor}{\translate{For }{Für }}
\newcommand{\trfor}{\translate{for }{für }}
\newcommand{\trand}{\translate{and }{und }}
\newcommand{\tror}{\translate{or }{oder }}
\newcommand{\trst}{\translate{s.t. }{s.d. }}
\newcommand{\trsuchthat}{\translate{such that }{so dass }}
\newcommand{\trwith}{\translate{with }{mit }}