mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-03-14 10:50:05 +01:00
[IML] setup
This commit is contained in:
BIN
semester6/iml/main.pdf
Normal file
BIN
semester6/iml/main.pdf
Normal file
Binary file not shown.
15
semester6/iml/main.tex
Normal file
15
semester6/iml/main.tex
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
\documentclass[a4paper,10pt]{article}
|
||||||
|
\usepackage[landscape, left=0.75cm, top=1cm, right=0.75cm, bottom=1.5cm, footskip=15pt]{geometry}
|
||||||
|
\input{util/setup.tex}
|
||||||
|
\input{util/helpers.tex}
|
||||||
|
|
||||||
|
\title{Probability \& Statistics}
|
||||||
|
\author{Robin Bacher}
|
||||||
|
\date{HS 2026}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\section{Intro}
|
||||||
|
\input{parts/00_intro.tex}
|
||||||
|
|
||||||
|
\end{document}
|
||||||
1
semester6/iml/parts/00_intro.tex
Normal file
1
semester6/iml/parts/00_intro.tex
Normal file
@@ -0,0 +1 @@
|
|||||||
|
\textbf{placeholder}
|
||||||
84
semester6/iml/util/helpers.tex
Normal file
84
semester6/iml/util/helpers.tex
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
% TC boxes
|
||||||
|
\tcbset {
|
||||||
|
base/.style={
|
||||||
|
boxrule=0mm,
|
||||||
|
left=1.75mm,
|
||||||
|
arc=2mm,
|
||||||
|
colbacktitle=black!10!white,
|
||||||
|
coltitle=black,
|
||||||
|
fonttitle=\bfseries,
|
||||||
|
toptitle=0.75mm,
|
||||||
|
bottomtitle=0.25mm,
|
||||||
|
title={#1}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
\newtcolorbox{subbox}[1]{
|
||||||
|
colframe=black!20!white,
|
||||||
|
base={#1}
|
||||||
|
}
|
||||||
|
|
||||||
|
% Math helpers, General
|
||||||
|
\def\limxo{\lim_{x\to 0}}
|
||||||
|
\def\limxi{\lim_{x\to\infty}}
|
||||||
|
\def\limxn{\lim_{x\to-\infty}}
|
||||||
|
\def\sumk{\sum_{k=1}^\infty}
|
||||||
|
\def\sumn{\sum_{n=0}^\infty}
|
||||||
|
\def\dx{\text{ d}x}
|
||||||
|
|
||||||
|
\def\R{\mathbb{R}}
|
||||||
|
\def\Q{\mathbb{Q}}
|
||||||
|
\def\N{\mathbb{N}}
|
||||||
|
\def\C{\mathbb{C}}
|
||||||
|
\def\Z{\mathbb{Z}}
|
||||||
|
|
||||||
|
\def\S{\mathcal{S}}
|
||||||
|
|
||||||
|
\def\Def{\overset{\text{def.}}{\iff}}
|
||||||
|
|
||||||
|
\def \cgeq{\succcurlyeq}
|
||||||
|
\def \cleq{\preccurlyeq}
|
||||||
|
|
||||||
|
% Math helpers, Analysis
|
||||||
|
\def \limn{\lim\limits_{n \to \infty}}
|
||||||
|
\def \limi{\liminf\limits_{n \to \infty}}
|
||||||
|
\def \lims{\limsup\limits_{n \to \infty}}
|
||||||
|
|
||||||
|
\def \ord{\text{ord}}
|
||||||
|
\def \tr{\text{Tr}}
|
||||||
|
\def \sep{\ |\ }
|
||||||
|
|
||||||
|
\def \iffdef{\overset{\text{def}}{\iff}}
|
||||||
|
|
||||||
|
\def \dfd#1{\frac{\partial f}{\partial x_#1}}
|
||||||
|
\def \sdfd#1{\partial_{x_#1}f}
|
||||||
|
\def \ssdfd#1{\partial_#1f}
|
||||||
|
\def \dd#1#2{\frac{\partial_#1}{\partial x_#2}} % to replace f
|
||||||
|
|
||||||
|
% Math helpers, Probability
|
||||||
|
\def \comp{\text{C}}
|
||||||
|
|
||||||
|
\def \P{\mathbb{P}}
|
||||||
|
\def \F{\mathcal{F}}
|
||||||
|
|
||||||
|
% Titles
|
||||||
|
\def \definition{\colorbox{lightgray}{Def} }
|
||||||
|
\def \notation{\colorbox{lightgray}{Notation} }
|
||||||
|
\def \remark{\colorbox{lightgray}{Remark} }
|
||||||
|
\def \theorem{\colorbox{lightgray}{Th.} }
|
||||||
|
\def \lemma{\colorbox{lightgray}{Lem.} }
|
||||||
|
\def \method{\colorbox{lightgray}{Method} }
|
||||||
|
|
||||||
|
|
||||||
|
% For intuiton and less important notes
|
||||||
|
\def \subtext#1{
|
||||||
|
\color{gray}\footnotesize
|
||||||
|
#1
|
||||||
|
\color{black}\normalsize
|
||||||
|
}
|
||||||
|
|
||||||
|
% inside tc boxes
|
||||||
|
\def \smalltext#1{
|
||||||
|
\footnotesize
|
||||||
|
#1
|
||||||
|
\normalsize
|
||||||
|
}
|
||||||
41
semester6/iml/util/setup.tex
Normal file
41
semester6/iml/util/setup.tex
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
\usepackage{flowfram}
|
||||||
|
\ffvadjustfalse
|
||||||
|
\setlength{\columnsep}{1cm}
|
||||||
|
\Ncolumn{3}
|
||||||
|
|
||||||
|
% TCB boxes for important stuff
|
||||||
|
\usepackage[many]{tcolorbox}
|
||||||
|
|
||||||
|
% Mathematical typesetting & symbols
|
||||||
|
\usepackage{amsthm, mathtools, amssymb}
|
||||||
|
\usepackage{marvosym, wasysym}
|
||||||
|
\allowdisplaybreaks
|
||||||
|
|
||||||
|
% Tables
|
||||||
|
\usepackage{tabularx, multirow}
|
||||||
|
\usepackage{booktabs}
|
||||||
|
\renewcommand*{\arraystretch}{2}
|
||||||
|
|
||||||
|
% Make enumerations more compact
|
||||||
|
\usepackage{enumitem}
|
||||||
|
\setitemize{itemsep=0.5pt}
|
||||||
|
\setenumerate{itemsep=0.75pt}
|
||||||
|
|
||||||
|
% To include sketches & PDFs
|
||||||
|
\usepackage{graphicx}
|
||||||
|
|
||||||
|
% For hyperlinks
|
||||||
|
\usepackage{hyperref}
|
||||||
|
\hypersetup{ colorlinks=true }
|
||||||
|
|
||||||
|
% Fomatting
|
||||||
|
\usepackage{multicol}
|
||||||
|
\usepackage{parskip} % Disables new paragraph indent
|
||||||
|
|
||||||
|
% Custom resets
|
||||||
|
\renewcommand{\arraystretch}{1.3} % Decrease row height
|
||||||
|
\renewcommand{\familydefault}{\sfdefault}
|
||||||
|
|
||||||
|
% Flexible graphs / visualisations inside latex
|
||||||
|
\usepackage{tikz}
|
||||||
|
\usetikzlibrary{positioning, arrows.meta, calc, matrix}
|
||||||
Reference in New Issue
Block a user