From 0809568ab788464f063d7d9165bc41fd8d24a5c3 Mon Sep 17 00:00:00 2001 From: Philipp Le Date: Sat, 2 May 2020 02:46:09 +0200 Subject: WIP: Chapter signals and systems --- common/settings.tex | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) (limited to 'common/settings.tex') 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}% +} + + -- cgit v1.1