X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=macros.tex;h=64bfb4a7f25f384c56472d833dcc5103e75bdb42;hb=2ca40e8da3b05cbe8db7c582cfac326650d18890;hp=d33de71f09e973631d4f9b10247d276dcd1e73c8;hpb=f265f04abf572ac38c5d4a6784bea5b0a6e3fcea;p=diplomky.git diff --git a/macros.tex b/macros.tex index d33de71..64bfb4a 100644 --- a/macros.tex +++ b/macros.tex @@ -96,6 +96,15 @@ \rightline{$\qedsymbol$} } +%%% Styl popisek obrázků + +\ifcsname DeclareCaptionStyle\endcsname +\DeclareCaptionStyle{thesis}{style=base,font=small,labelfont=bf,labelsep=quad} +\captionsetup{style=thesis} +\captionsetup[algorithm]{style=thesis,singlelinecheck=off} +\captionsetup[listing]{style=thesis,singlelinecheck=off} +\fi + %%% Prostředí pro sazbu kódu, případně vstupu/výstupu počítačových %%% programů. (Vyžaduje balíček fancyvrb -- fancy verbatim.) @@ -114,6 +123,9 @@ %%% Příkaz pro transpozici vektoru/matice \newcommand{\T}[1]{#1^\top} +%%% Asymptotické "O" +\def\O{\mathcal{O}} + %%% Vychytávky pro matematiku \newcommand{\goto}{\rightarrow} \newcommand{\gotop}{\stackrel{P}{\longrightarrow}}