summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorPhilipp Le <philipp-le-prviat@freenet.de>2020-05-02 02:46:09 +0200
committerPhilipp Le <philipp-le-prviat@freenet.de>2021-03-04 01:14:10 +0100
commit0809568ab788464f063d7d9165bc41fd8d24a5c3 (patch)
tree89c27cd5db64f9b67fbd7f484e16a6bb1f7932b1 /common
parentad78d6ae088f89eb22c469be844fc16e39df0043 (diff)
downloaddcs-lecture-notes-0809568ab788464f063d7d9165bc41fd8d24a5c3.zip
dcs-lecture-notes-0809568ab788464f063d7d9165bc41fd8d24a5c3.tar.gz
dcs-lecture-notes-0809568ab788464f063d7d9165bc41fd8d24a5c3.tar.bz2
WIP: Chapter signals and systems
Diffstat (limited to 'common')
-rw-r--r--common/settings.tex56
1 files changed, 56 insertions, 0 deletions
diff --git a/common/settings.tex b/common/settings.tex
index ac131c3..0e73eb1 100644
--- a/common/settings.tex
+++ b/common/settings.tex
@@ -233,3 +233,59 @@
hidelinks]{hyperref}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Own environments
+
+\usepackage{tcolorbox}
+
+\newenvironment{attention}{%
+ \begin{tcolorbox}[colframe=red]%
+ {\sffamily\bfseries Attention!}\par%
+}{%
+ \end{tcolorbox}%
+}
+
+\newenvironment{definition}[1]{%
+ \begin{tcolorbox}[colframe=gray]%
+ {\sffamily\bfseries Definition: #1}\par%
+}{%
+ \end{tcolorbox}%
+}
+
+\newenvironment{fact}{%
+ \begin{tcolorbox}[colframe=gray!80]%
+ \bfseries%
+}{%
+ \end{tcolorbox}%
+}
+
+\newenvironment{proof}[1]{%
+ \begin{tcolorbox}[colframe=black]%
+ {\sffamily\bfseries Proof: #1}\par%
+}{%
+ \end{tcolorbox}%
+}
+
+\newenvironment{derivation}[1]{%
+ \begin{tcolorbox}[colframe=black]%
+ {\sffamily\bfseries Derivation: #1}\par%
+}{%
+ \end{tcolorbox}%
+}
+
+\newenvironment{example}[1]{%
+ \begin{tcolorbox}[colframe=black!60]%
+ {\sffamily\bfseries Example: #1}\par%
+}{%
+ \end{tcolorbox}%
+}
+
+\newenvironment{excursus}[1]{%
+ \begin{tcolorbox}[colframe=gray!40]%
+ {\sffamily\bfseries Excursus: #1}\par%
+}{%
+ \end{tcolorbox}%
+}
+
+