diff options
Diffstat (limited to 'common/settings.tex')
| -rw-r--r-- | common/settings.tex | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/common/settings.tex b/common/settings.tex index 7ba155b..8c6ccc6 100644 --- a/common/settings.tex +++ b/common/settings.tex @@ -90,14 +90,14 @@ %\renewcommand{\textfraction}{0.10} % Custom functions -\tikzmath{
- function sinc(\x) {
- if abs(\x) < .001 then { % (|x| < .001) ~ (x = 0)
- return 1;
- } else {
- return sin(\x r)/\x;
- };
- };
+\tikzmath{ + function sinc(\x) { + if abs(\x) < .001 then { % (|x| < .001) ~ (x = 0) + return 1; + } else { + return sin(\x r)/\x; + }; + }; } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -271,6 +271,7 @@ % Own environments \usepackage{tcolorbox} +\tcbuselibrary{breakable, skins} \newenvironment{attention}{% \begin{tcolorbox}[colframe=red]% @@ -315,7 +316,7 @@ } \newenvironment{excursus}[1]{% - \begin{tcolorbox}[colframe=gray!40]% + \begin{tcolorbox}[enhanced jigsaw, breakable,colframe=gray!40]% {\sffamily\bfseries Excursus: #1}\par% }{% \end{tcolorbox}% |
