Zdrojový kód
%\wikiskriptum{01MIP}
\documentclass[a4paper, 10pt]{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[czech]{babel}
\usepackage{csquotes}
\usepackage{lmodern} %vektorovy font
\usepackage{a4wide}
\usepackage{amsmath} %zakladni matematicky balik
\usepackage{mathtools}
\usepackage{mathrsfs} %fancy psaci matematicke pismo
\usepackage{amssymb}
\usepackage{esdiff} %jednoduche psani derivace pres \diff{}{} ci \diffp{}{}
\usepackage{amsthm}
\usepackage{esint} %obsahuje napr. dvojne krivkove integraly \oiint
%\usepackage{lettrine} %dela inicialy
\usepackage{bm}%tucny matematicky font
\usepackage{subcaption}
\usepackage{enumerate} %umoznuje cislovat seznam pomoci pismen
\usepackage{siunitx} %easy psani jednotek
\MakeOuterQuote{"}
\usepackage[colorlinks=true,
linkcolor=red,
urlcolor=blue,
citecolor=gray,
pdfstartview=FitH]{hyperref} %dela hypertextove odkazy a nastavi defaultni zoom v PDF na sirku dokumentu
\usepackage{xurl} %zalamuje dlouhe URL
\usepackage{microtype}
\DeclareMathOperator{\divg}{div}
\DeclareMathOperator{\rot}{rot}
\DeclareMathOperator{\grad}{grad}
\DeclareMathOperator{\tg}{tg}
\DeclareMathOperator{\tgh}{tgh}
\DeclareMathOperator{\arctg}{arctg}
\DeclareMathOperator{\argsinh}{argsinh}
\DeclareMathOperator{\argcosh}{argcosh}
\DeclareMathOperator{\lap}{\nabla^2} %Laplaceuv operator
\DeclareMathOperator{\diag}{diag}
\DeclareMathOperator{\tr}{Tr}
\DeclareMathOperator{\id}{id}
\DeclareMathOperator{\ran}{Ran} %obor hodnot
\DeclareMathOperator{\dom}{Dom} %definicni obor
\DeclareMathOperator{\supp}{supp} %nosic
\DeclareMathOperator{\E}{E} %stredni hodnota
\DeclareMathOperator{\D}{D} %rozptyl
\DeclareMathOperator{\Var}{Var} %rozptyl - jine znaceni
\DeclareMathOperator{\cov}{Cov} %kovariance
\let\Re\relax %predefinoval jsem symbol pro realnou a im. cast, protoze to
\let\Im\relax %defaultne byl fraktur, coz mi neprislo moc pekne
\DeclareMathOperator{\Re}{Re} %realna cast
\DeclareMathOperator{\Im}{Im} %imaginarni cast
\DeclareMathOperator{\sgn}{sgn} %signum
\newcommand{\dd}{\,\mathrm{d}} %stojate d, napriklad v integralu
\newcommand{\ham}{\mathcal{H}}
\newcommand{\kam}{\mathcal{K}}
\newcommand{\lag}{\mathcal{L}}
\newcommand{\sa}{\mathcal{A}} %znacka pro sigma-algebru
\newcommand{\uro}{ÚR$\Omega$} %uplny rozklad mnoziny Omega
\newcommand{\comp}[1]{{#1}^{\mathsf{c}}} %komplement mnoziny
\newcommand{\bb}{\mathcal{B}}
\newcommand{\xx}{\bm{X}} %tucne X pro nahodnou velicinu
\newcommand{\zz}{\bm{Z}} %tucne Z pro nahodnou velicinu
\newcommand{\mx}{\bm{x}} %tucne male x pro vektor z R^n
\newcommand{\yy}{\bm{Y}}%tucne Y pro nahodnou velicinu
\newcommand{\my}{\bm{y}} %tucne male y pro vektor z R^n
\newcommand{\mt}{\bm{t}} %tucne male t pro vektor z R^n
\newcommand{\mg}{\bm{g}}%tucne male g pro vektorovou funkci
\newcommand{\ma}{\bm{\alpha}} %tucna alfa
\newcommand{\mm}{\bm{\mu}} %tucne mi
\newcommand{\uu}{\bm{U}} %tucne U
\newcommand{\kk}{\bm{\xi}} %tucne ksi
\newcommand{\norm}[1]{\lVert {#1} \rVert_{L_1}} %norma na L1
\newcommand{\normm}[1]{\lVert {#1} \rVert_{L_2}} %norma na L2
\newcommand{\normp}[1]{\lVert {#1} \rVert_{p}} %norma na Lp
\newcommand{\normq}[1]{\lVert {#1} \rVert_{q}} %norma na Lq
\newcommand{\norminf}[1]{\lVert {#1} \rVert_{\infty}} %norma na L-nekonečno
\newcommand{\esssup}{\,\mathrm{ess \sup}}
\renewcommand{\ss}[2]{\langle #1, #2 \rangle}
\renewcommand{\P}{\overline{P}} %rozsirena pravdepodobnost
\newcommand{\e}{\mathrm{e}} %Eulerovo cislo
\newcommand{\ii}{\mathrm{i}} %imaginarni jednotka
\newcommand{\klp}{\xrightarrow{L_p}} %konvergence v L_p
\newcommand{\ksj}{\xrightarrow{\text{s. j.}}} %konvergence skoro jiste
\newcommand{\kpp}{\xrightarrow{P}} %konvergence podle pravděpodobnosti
\newcommand{\kd}{\xrightarrow{\text{d}}} %konvergence v distribuci
\newcommand{\kw}{\xrightarrow{\text{w}}} %konvergence slaba (v distribuci)
\newcommand{\xp}{\overline{X_n}} %X_n s pruhem
\newcommand{\yp}{\overline{Y_n}} %Y_n s pruhem
\newcommand{\mup}{\overline{\mu_n}} %mu_n s pruhem
\newcommand{\sip}{\overline{\sigma_n^2}} %sigma_n^2 s pruhem
\newcommand{\asyn}{\mathcal{AN}} % asymptoticky normální rozdělení
\newcommand{\trans}[1]{{#1}^{\mathrm{T}}} %transpozice
\newcommand{\lh}{\mathscr{L}} %hustota lagrangianu (fancy L)
\newcommand{\dal}{\Box\,} %dalambertian
\newcommand{\ei}{\overrightarrow{e_i}}
\newcommand{\eid}{\underleftarrow{e^i}}
\newcommand{\ej}{\overrightarrow{e_j}}
\newcommand{\ejd}{\underleftarrow{e^j}}
\newcommand{\lf}{\sqrt{1-\frac{v^2}{c^2}}} %lf = Lorentzuv faktor
%\newcommand{\e}{\vec{E}}
\newcommand{\be}{\vec{B}}
\newcommand{\h}{\vec{H}}
\newcommand{\vd}{\vec{D}}
\newcommand{\va}{\vec{A}}
\newcommand{\meq}{\stackrel{!}{=}} %meq = must equal, rovnitko s vykricnikem hore
\newcommand{\fd}{\star F^{\mu\nu}} %Hodgeuv dual
\theoremstyle{definition} %definice, vety, lemmata... se pisi stojatym pismem
\newtheorem{veta}{Věta}[chapter] %pocitadlo u vet se resetuje s kazdou novou kapitolou
\newtheorem{lemma}[veta]{Lemma} %vse ostatni se pocita stejne jako veta
\newtheorem{defi}[veta]{Definice}
\newtheorem{priklad}[veta]{Příklad}
\newtheorem{pozn}[veta]{Poznámka}
\newtheorem{dusl}[veta]{Důsledek}
\numberwithin{equation}{chapter} %cislovani rovnic se resetuje s kazdou novou kapitolou
\newenvironment{solution}
{\renewcommand\qedsymbol{$\blacksquare$}\begin{proof}[Řešení]}
{\end{proof}}
\captionsetup{
format = plain,
font = footnotesize,
labelfont = sc
}