diff --git a/ctufit-thesis.cls b/ctufit-thesis.cls index 7752880f3997ecf492deedb4fa8085ad77c4f17c..cf6b03d155b071d8787249d9b5bc927d17615a16 100644 --- a/ctufit-thesis.cls +++ b/ctufit-thesis.cls @@ -140,6 +140,8 @@ \DeclareRobustCommand{\thectufitlollabel}{\if\@ctufitlang C{Seznam v{\'y}pis{\r u} k{\'o}du}\else\if\@ctufitlang S{Zoznam v{\'y}pisov k{\'o}du}\else{List of code listings}\fi\fi} +\DeclareRobustCommand{\thectufitdeclarationlabel{\if\@ctufitlang C{Prohlášení}\else\if\@ctufitlang E{Declaration}\else{Vyhlásenie}\fi\fi}} + \DeclareRobustCommand{\thectufitcopyrighttext}{\if\@ctufitlang C{Tato pr{\' a}ce vznikla jako {\v s}koln{\' i} d{\' i}lo na {\v C}esk{\' e}m vysok{\' e}m u{\v c}en{\' i} technick{\' e}m v~Praze, Fakult{\v e} informa{\v c}n{\' i}ch technologi{\' i}. Pr{\' a}ce je chr{\' a}n{\v e}na pr{\' a}vn{\' i}mi p{\v r}edpisy a mezin{\' a}rodn{\' i}mi {\' u}mluvami o~pr{\' a}vu autorsk{\' e}m a pr{\' a}vech souvisej{\' i}c{\' i}ch s~pr{\' a}vem autorsk{\' y}m. K~jej\'\i{}mu u\v zit\'\i{}, s~v\'yjimkou bez\'uplatn\'ych z\'akonn\'ych licenc\'\i{} a nad r\'amec opr\'avn\v en\'\i{} uveden\'ych v~Prohl\'a\v sen\'\i{} na p\v redchoz\'\i{} stran\v e, je nezbytn\'y souhlas autora.}\else\if\@ctufitlang S{T\'ato pr\'aca vznikla ako \v skolsk\'e dielo na FIT \v CVUT v Prahe. Pr\'aca je chr\'anen\'a medzin\'arodn\'ymi predpismi a zmluvami o autorskom pr\'ave a pr\'avach s\'uvisiacich s autorsk\'ym pr\'avom. Na jej vyu\v zitie, s~v\'ynimkou bezplatn\'ych z\'akonn\'ych licenci\'\i, je nutn\'y s\'uhlas autora.}\else{This thesis is school work as defined by Copyright Act of the Czech Republic. It has been submitted at Czech Technical University in Prague, Faculty of Information Technology. The thesis is protected by the Copyright Act and its usage without author's permission is prohibited (with exceptions defined by the Copyright Act).}\fi\fi} @@ -341,11 +343,11 @@ % acknowledgment page END % declaration page -\newenvironment{declarationpage}{\frontchapternotprinted{\if\@ctufitlang C{Prohlášení}\else\if\@ctufitlang E{Declaration}\else{Vyhlásenie}\fi\fi} +\newenvironment{declarationpage}{\frontchapternotprinted{\thectufitdeclarationlabel} ~ \vfill - {{\frontchapterfont\begin{flushright}{\color{heading}\if\@ctufitlang C{Prohlášení}\else\if\@ctufitlang E{Declaration}\else{Vyhlásenie}\fi\fi}\end{flushright}}}% + {{\frontchapterfont\begin{flushright}{\color{heading}\thectufitdeclarationlabel}\end{flushright}}}% \bigskip \noindent\ignorespaces }{\vskip 1cm @@ -439,20 +441,6 @@ }{% \popQED\endtrivlist%\@endpefalse } -\theoremstyle{plain} -\newtheorem{theorem}{Věta} -\newtheorem{lemma}[theorem]{Tvrzení} -\newtheorem{corollary}[theorem]{Důsledek} -\newtheorem{proposition}[theorem]{Návrh} -\newtheorem{definition}[theorem]{Definice} -\theoremstyle{definition} -\newtheorem{example}[theorem]{Příklad} -\theoremstyle{remark} -\newtheorem{note}[theorem]{Poznámka} -\newtheorem*{note*}{Poznámka} -\newtheorem{remark}[theorem]{Pozorování} -\newtheorem*{remark*}{Pozorování} -\numberwithin{theorem}{chapter} % theorems, proofs, definitions, etc. end \DeclareRobustCommand{\printabstractpage}{% diff --git a/ctufit-thesis.tex b/ctufit-thesis.tex index 84afee64b913d365fb05871486defe419d338a21..3bfa200e588f3fc4ef4795c3af6c20f73cd17419 100644 --- a/ctufit-thesis.tex +++ b/ctufit-thesis.tex @@ -92,6 +92,23 @@ \addbibresource{text/bib-database.bib} \usepackage{listings} % typesetting of sources % \usepackage{minted} % typesetting of sources + +%theorems, definitions, etc. +\theoremstyle{plain} +\newtheorem{theorem}{Věta} +\newtheorem{lemma}[theorem]{Tvrzení} +\newtheorem{corollary}[theorem]{Důsledek} +\newtheorem{proposition}[theorem]{Návrh} +\newtheorem{definition}[theorem]{Definice} +\theoremstyle{definition} +\newtheorem{example}[theorem]{Příklad} +\theoremstyle{remark} +\newtheorem{note}[theorem]{Poznámka} +\newtheorem*{note*}{Poznámka} +\newtheorem{remark}[theorem]{Pozorování} +\newtheorem*{remark*}{Pozorování} +\numberwithin{theorem}{chapter} +%theorems, definitions, etc. END %%%%%%%%%%%%%%%%%%%%%% % DEMO CONTENTS SETTINGS END %%%%%%%%%%%%%%%%%%%%%%