From e86abee0c183583d5daa57e8b3bb4a9f14c3332c Mon Sep 17 00:00:00 2001 From: Philipp Le Date: Wed, 6 May 2020 01:03:17 +0200 Subject: WIP: Chapter 2 --- common/settings.tex | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) (limited to 'common') diff --git a/common/settings.tex b/common/settings.tex index 94f97d6..7ba155b 100644 --- a/common/settings.tex +++ b/common/settings.tex @@ -59,6 +59,7 @@ \usetikzlibrary{shapes.arrows} \usetikzlibrary{shapes,arrows} \usetikzlibrary{decorations.pathreplacing} +\usetikzlibrary{math} \usepackage{pgf-umlsd} % Circuits @@ -88,6 +89,17 @@ %\renewcommand{\floatpagefraction}{0.66} %\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; + }; + }; +} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Symbols @@ -97,6 +109,7 @@ \usepackage{amsmath} \usepackage{amssymb} \usepackage{bm} +\usepackage{trsym} % Quotes \usepackage{csquotes} @@ -216,14 +229,14 @@ % Exercises \usepackage{exsheets} -\SetupExSheets{ - headings = block-subtitle, - headings-format = \bfseries\sffamily, - subtitle-format = \bfseries\sffamily, - counter-within = chapter, - counter-format = ch.qu\IfQuestionSubtitleT{:}, +\SetupExSheets{ + headings = block-subtitle, + headings-format = \bfseries\sffamily, + subtitle-format = \bfseries\sffamily, + counter-within = chapter, + counter-format = ch.qu\IfQuestionSubtitleT{:}, toc-level = {subsection}, - % solution/print = true % uncomment for tutors + % solution/print = true % uncomment for tutors } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -- cgit v1.1