Compare commits
3 Commits
f70ce6d2b3
...
main
Author | SHA1 | Date | |
---|---|---|---|
2c7f5a4dcf | |||
7394606963 | |||
a7d9915383 |
BIN
docs/docs.pdf
BIN
docs/docs.pdf
Binary file not shown.
@@ -8,7 +8,7 @@
|
|||||||
\item \verb|\renewcommand{\city}|\{\textit{string}\} Change the city (for letters) for this document only
|
\item \verb|\renewcommand{\city}|\{\textit{string}\} Change the city (for letters) for this document only
|
||||||
\item \verb|\renewcommand{\countrycode}|\{\textit{string}\} Change the country-code (for letters) for this document only
|
\item \verb|\renewcommand{\countrycode}|\{\textit{string}\} Change the country-code (for letters) for this document only
|
||||||
\item \verb|\renewcommand{\theoremde}|\{\textit{string}\} Change the translation for theorem in German (usually either ``Satz'' or ``Theorem'')
|
\item \verb|\renewcommand{\theoremde}|\{\textit{string}\} Change the translation for theorem in German (usually either ``Satz'' or ``Theorem'')
|
||||||
\item \verb|\setcounter{numberingConfig}|\{\textit{number}\} Change the numbering of definitions, lemmas, etc for this document. 0 = off, 1 = Separately, 2 = Combined (except for definition), 3 = Combined
|
\item \verb|\setNumberingStyle|\{\textit{number}\} Change the numbering of definitions, lemmas, etc for this document. 0 = off, 1 = Separately, 2 = Combined (except for definition), 3 = Combined
|
||||||
\item \verb|\setcounter{numberSubsections}|\{\textit{number}\} Change the format of the numbering of definition, lemma, etc.
|
\item \verb|\setcounter{numberSubsections}|\{\textit{number}\} Change the format of the numbering of definition, lemma, etc.
|
||||||
0 = $<$section$>$.$<$number$>$,\\
|
0 = $<$section$>$.$<$number$>$,\\
|
||||||
1 = $<$section$>$.$<$subsection$>$.$<$number$>$,\\
|
1 = $<$section$>$.$<$subsection$>$.$<$number$>$,\\
|
||||||
@@ -34,4 +34,6 @@
|
|||||||
\item \verb|\usetcolorboxes| Initialize tcolorboxes. In main body, if you want to use fancy boxes. (requires \texttt{most} or up)
|
\item \verb|\usetcolorboxes| Initialize tcolorboxes. In main body, if you want to use fancy boxes. (requires \texttt{most} or up)
|
||||||
\item \verb|\translate|\{\textit{string}\}\{\textit{string}\} First \textit{string} is English, second \textit{string} is German. Switches automatically based on language selected
|
\item \verb|\translate|\{\textit{string}\}\{\textit{string}\} First \textit{string} is English, second \textit{string} is German. Switches automatically based on language selected
|
||||||
\item \verb|\tr|\{\textit{string}\}\{\textit{string}\} Shorthand for \verb|\translate|
|
\item \verb|\tr|\{\textit{string}\}\{\textit{string}\} Shorthand for \verb|\translate|
|
||||||
|
\item \verb|\numberingOn| Turn on the numbering (will set back to config previously set by \verb|\setNumberingStyle|)
|
||||||
|
\item \verb|\numberingOff| Turn off the numbering (if you want to temporarily not use it. Do not use \verb|\setNumberingStyle| for that)
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
overlay={\node[overlaystyle,draw=purple!75!black,,fill=purple!75!black] at (frame.north east) {\large \translate{Limitations }{Limitierungen }};},#1}
|
overlay={\node[overlaystyle,draw=purple!75!black,,fill=purple!75!black] at (frame.north east) {\large \translate{Limitations }{Limitierungen }};},#1}
|
||||||
|
|
||||||
\newtcolorbox{intuition}[2][]{mainboxstyle,colback=Emerald!5!white,colframe=Emerald!75!black,colbacktitle=Emerald!75!black,title={\large #2},
|
\newtcolorbox{intuition}[2][]{mainboxstyle,colback=Emerald!5!white,colframe=Emerald!75!black,colbacktitle=Emerald!75!black,title={\large #2},
|
||||||
overlay={\node[overlaystyle,draw=Emerald!75!black,,fill=Emerald!75!black] at (frame.north east) {\large \translate{Limitations }{Limitierungen }};},#1}
|
overlay={\node[overlaystyle,draw=Emerald!75!black,,fill=Emerald!75!black] at (frame.north east) {\large Intuition};},#1}
|
||||||
|
|
||||||
\newcommand{\inlineintuition}{\bg{Emerald}{Intuition:}}
|
\newcommand{\inlineintuition}{\bg{Emerald}{Intuition:}}
|
||||||
|
|
||||||
|
@@ -55,6 +55,21 @@
|
|||||||
|
|
||||||
% ────────────────────────────────────────────────────────────────────
|
% ────────────────────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
\newcounter{numberingConfigStore}
|
||||||
|
\setcounter{numberingConfigStore}{\value{numberingConfig}}
|
||||||
|
|
||||||
|
\newcommand{\setNumberingStyle}[1]{
|
||||||
|
\setcounter{numberingConfig}{#1}
|
||||||
|
\ifthenelse{\equals{#1}{0}}{
|
||||||
|
\setcounter{numberingConfigStore}{#1}
|
||||||
|
}{}
|
||||||
|
}
|
||||||
|
\newcommand{\numberingOff}{
|
||||||
|
\setcounter{numberingConfig}{0}
|
||||||
|
}
|
||||||
|
\newcommand{\numberingOn}{
|
||||||
|
\setcounter{numberingConfig}{\value{numberingConfigStore}}
|
||||||
|
}
|
||||||
|
|
||||||
% Reset definition, lemma, etc counters, add a new page
|
% Reset definition, lemma, etc counters, add a new page
|
||||||
\newcommand{\newsection}{
|
\newcommand{\newsection}{
|
||||||
|
@@ -96,6 +96,15 @@
|
|||||||
],
|
],
|
||||||
"description": "Inserts a tcolorbox to inform about restrictions"
|
"description": "Inserts a tcolorbox to inform about restrictions"
|
||||||
},
|
},
|
||||||
|
"Intuition": {
|
||||||
|
"prefix": "restrictions",
|
||||||
|
"body": [
|
||||||
|
"\\begin{intuition}[]{$1}",
|
||||||
|
"\t$2",
|
||||||
|
"\\end{intuition}"
|
||||||
|
],
|
||||||
|
"description": "Tcolorbox to highlight sections about intuition"
|
||||||
|
},
|
||||||
"Limitations": {
|
"Limitations": {
|
||||||
"prefix": "limitations",
|
"prefix": "limitations",
|
||||||
"body": [
|
"body": [
|
||||||
|
Reference in New Issue
Block a user