]> mj.ucw.cz Git - diplomky.git/blobdiff - macros.tex
Custom captions
[diplomky.git] / macros.tex
index e86b4e1fb2d3ba8b4ea0e78426eb60044f2aa13c..64bfb4a7f25f384c56472d833dcc5103e75bdb42 100644 (file)
 \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.)