%%% ==================================================================== %%% @LaTeX-file{ %%% filename = "Skripta.sty", %%% version = "1.00", %%% date = "2006/01/16", %%% time = "01:20:10 CET", %%% author = "Jirka Roubal", %%% copyright = "Copyright 2006, Jirka Roubal, %%% all rights reserved. Copying of this file is %%% authorized only if either: %%% (1) you make absolutely no changes to your copy, %%% including name; OR %%% (2) if you do make changes, you first rename it %%% to some other name.", %%% address = "Jirka Roubal, %%% Department of Control Engineering, %%% Faculty of Electrical Engineering, %%% Czech Technical University in Prague, %%% Karlovo náměstí 13, %%% 121 35 Prague 2, %%% Czech Republic", %%% telephone = "+420-2-2435-7687", %%% FAX = "", %%% checksum = "38084 5829 21569 202795", %%% email = "roubalj@control.felk.cvut.cz", %%% website = "http://dce.felk.cvut.cz/roubal/", %%% codetable = "ISO/ASCII", %%% keywords = "latex, amsmath, ntheorem, inputenc, czech", %%% supported = "yes", %%% abstract = "This is a \LaTeX{} template for students bachelorsor %%% diploma thesis.", %%% } %%% ==================================================================== %-----<<< ----------- >>>----- %-----<<< USEPACKAGES >>>----- \usepackage[utf8]{inputenc} \usepackage[czech]{babel} \usepackage{fancyhdr} \usepackage{amsmath} \usepackage{amssymb} \usepackage[amsmath,thmmarks]{ntheorem} \usepackage{latexsym} \usepackage[dvips]{graphicx} \usepackage{float} % \usepackage{picins} %text beside figure \usepackage[width=.90\textwidth,hang,small]{caption} \usepackage{subfigure} %text beside figure %-----<<< USEPACKAGES >>>----- %-----<<< ----------- >>>----- %-----<<< ---------------------------------- >>>----- %-----<<< PAGE, TITLE AND SECTION DEFINITION >>>----- \linespread{1.3} %line spacing 1.5 \setlength{\oddsidemargin}{0mm} \setlength{\textwidth}{159.2mm}\setlength{\topmargin}{0mm} \setlength{\textheight}{230mm} \setlength{\headheight}{14.5pt} %height of head \setlength{\oddsidemargin}{5mm} %odd left margin \setlength{\evensidemargin}{-\oddsidemargin} %even left margin \newcommand\titulek{\@startsection {paragraph}{5}{\z@}% {-0.5ex \@plus -.1ex \@minus -.2ex}% {2.3ex \@plus.2ex}% {\LARGE\bfseries}} \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}% {3.25ex \@plus1ex \@minus.2ex}% {-1em}% {\normalfont\normalsize\bfseries}} \renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}% {3.25ex \@plus1ex \@minus .2ex}% {-1em}% {\normalfont\normalsize\bfseries}} \renewcommand\section{\@startsection {section}{1}{\z@}% {-8.5ex \@plus -.1ex \@minus -.2ex}% {2.3ex \@plus.2ex}% {\raggedright\normalfont\Large\bfseries}} \renewcommand\subsection{\@startsection{subsection}{2}{\z@}% {-5.25ex\@plus -1ex \@minus -.2ex}% {1.5ex \@plus .2ex}% {\raggedright\normalfont\large\bfseries}} \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% {-3.25ex\@plus -1ex \@minus -.2ex}% {1.5ex \@plus .2ex}% {\raggedright\normalsize\bfseries}} %\newtheorem{definition}{Definice}[chapter] %\newenvironment{Definition}{\begin{definition}\noindent\rm}{\hspace*{\fill}$\Box$\end{definition}\par\bigskip} %\newtheorem{proposition}{Věta}[chapter] %\newenvironment{Proposition}{\begin{proposition}\noindent}{\end{proposition}\par\bigskip} %\newtheorem{example}{Příklad}[chapter] %\newenvironment{Example}{\begin{example}\noindent\rm}{\end{example}\par\bigskip} \theorembodyfont{\normalfont} \theoremseparator{\?:} \theoremsymbol{\ensuremath{\blacktriangleright}} \newtheorem{definition}{Definice}[chapter] \theorembodyfont{\em} \theoremsymbol{} \theoremseparator{\?:} \newtheorem{proposition}{Věta}[chapter] \theorembodyfont{\normalfont} \theoremseparator{\?:} \theoremsymbol{\ensuremath{\Box}} \newtheorem*{note}{Poznámka} \def\qed{\includegraphics[width=1.5cm]{\cestaFiles Figures/Proved.eps}} \theorembodyfont{\normalfont} \theoremseparator{\normalfont{\?:}} \theoremsymbol{\qed} \newtheorem*{proof}{Důkaz} \theorembodyfont{\normalfont} \theoremsymbol{} \theoremseparator{\?:} \newtheorem{example}{Příklad}[chapter] \theoremheaderfont{\em} \theorembodyfont{\normalfont} \theoremseparator{\normalfont{\?:}} \theoremsymbol{\ensuremath{\checkmark}} \newtheorem*{solution}{Řešení} %\setlength\abovecaptionskip{1mm} %\setlength\belowcaptionskip{-5mm} %-----<<< PAGE, TITLE AND SECTION DEFINITION >>>----- %-----<<< ---------------------------------- >>>----- %-----<<< ---------- >>>----- %-----<<< TITLE PAGE >>>----- \def \CVUT {České vysoké učení technické v~Praze} \def \FJFI {Fakulta jaderná a fyzikálně inženýrská} \def \BookHead { \begin{center} {\LARGE \textsc \CVUT}\\[2ex] {\LARGE \textsc \FJFI}\\ \vspace{2cm} \begin{figure}[H] \begin{center} {\includegraphics[width=5cm]{\cestaFiles Figures/lev.eps}} \end{center} \end{figure} \vspace{1cm} {\textbf {\Huge \BookName \\[8ex]} % {\Large \bf \em \Bookname} } {\large \bf \Authors}\\[6ex] \begin{figure}[H] \begin{center} {\includegraphics[width=3cm]{\cestaFiles Figures/DCE.eps}} \end{center} \end{figure} \vspace{-1cm} {\large \em \DCE} \newpage \end{center} } %-----<<< ---------- >>>----- %-----<<< TITLE PAGE 2 >>>----- \def\title#1{ \vspace*{-1cm} \thispagestyle{plain}\begin{center} {\scriptsize\sc \school}\par\medskip {\subject}\par\bigskip \titulek{\bf\uppercase{#1}} \end{center}\def\popis{#1}} \def\author#1{\small\centerline{#1}\def\Authors{#1} \fancyhead{} \fancyhead[R]{\thepage} \fancyhead[L]{\small\it\BookName}% \fancyfoot{} \pagestyle{fancy} \hypersetup{ pdftitle = {\BookName}, pdfauthor = {\Authors} }\par\vspace{15mm}} \def\maketitle{ \fancyhead{} \fancyhead[R]{\thepage} \fancyhead[L]{\small\it\BookName}% \fancyfoot{} \pagestyle{fancy} \hypersetup{ pdftitle = {\BookName}, pdfauthor = {\Authors} } } %-----<<< TITLE PAGE >>>----- %-----<<< ---------- >>>----- %-----<<< ------ >>>----- %-----<<< MATLAB >>>----- \usepackage{fancybox} \usepackage{verbatim} \newenvironment{matlab}[1] {\VerbatimEnvironment \bigskip\par\begin{minipage}{#1}\scriptsize\begin{Verbatim}} {\end{Verbatim}\end{minipage}\par\bigskip\noindent} %-----<<< MATLAB >>>----- %-----<<< ------ >>>----- %-----<<< ------ >>>----- %-----<<< MACROS >>>----- \def\?{\kern.07em} %inseparable space, for instance before colon, semicolon, question mark, ... \mathchardef\.="013B %space after decimal point %\mathcode`\,="013B %-----<<< České uvozovky \DeclareTextCommandDefault\clqq{\leavevmode \set@low@box{''}% \setbox1=\hbox{l\/}\dimen1=\wd1 \setbox1=\hbox{l}\advance\dimen1 by -\wd1 \ifdim\dimen1>0pt\kern-.1em\box0\kern.1em \else\kern.1em\box0\kern-.1em\fi\nobreak\hskip0pt} \DeclareTextCommandDefault\crqq{\edef\@SF{\spacefactor\the\spacefactor}% \nobreak\kern-.07em\hbox{``}\kern.07em\@SF\relax} \def\uv#1{\clqq#1\crqq} %>>>----- %-----<<< Množiny \DeclareFontFamily{OT1}{mnozina}{} %\DeclareFontShape{OT1}{mnozina}{m}{n}{ <10> <12> msbm10 }{} \DeclareFontShape{OT1}{mnozina}{m}{n}{ <6> msbm7 <8> msbm9 <10> <12> msbm10}{} \DeclareSymbolFont{matsym}{OT1}{mnozina}{m}{n} \DeclareMathSymbol{\N}{\mathord}{matsym}{78} \DeclareMathSymbol{\Z}{\mathord}{matsym}{90} \DeclareMathSymbol{\R}{\mathord}{matsym}{82} %\DeclareMathSymbol{\C}{\mathord}{matsym}{67} %>>>----- %-----<<< Odkazy na tabulky, obrázky a kapitoly %\newcommand{\eqref}[1]{\mbox{(\ref{#1})}} \newcommand{\tabref}[1]{tabulka~\mbox{\ref{#1}}} \newcommand{\figref}[1]{obr.~\mbox{\ref{#1}}} \newcommand{\charef}[1]{kapitola~\mbox{\ref{#1}}} \newcommand{\dcvref}[2]{\mbox{\ref{#1}}\?: #2\?;\,\,\,} %>>>----- %-----<<< Tučné matice kurzívou %\newcommand{\mat}[1]{{\bf #1}} %bold matrix %\newcommand{\matt}[1]{{\pmb{#1}}} %bold matrix for Greek \newcommand{\mat}[1]{\mbox{\boldmath $#1$}} %bold italic matrix \newcommand{\matt}[1]{\pmb{\mathit #1}} %bold italic matrix for Greek \newcommand{\matit}[1]{\mathit #1} %italic for Greek \newcommand{\pruh}[1]{\overline{#1}} %overline na matrix %>>>----- \newcommand \Bod[1]{\vspace{0.5cm}\noindent{\bf\em \textcolor{blue}{#1}}} \newcommand \Bodd[1]{\vspace{0.3cm}\noindent{\em \textcolor{magenta}{$\star$~#1}}} \newcommand \Boddd[1]{\noindent{\em \textcolor{brown}{#1}}} \def\fracc#1#2{{\displaystyle{#1\over#2}}\,}%redefinition of fraction (normal size) \def\frac#1#2{{\begingroup#1\endgroup\over#2}\,} \newcommand{\quantity}[2]{#1~[#2]} %physics variables with unit \newcommand{\e}[1]{e^{\displaystyle #1}} %exponential \newcommand{\Lap}{\mathcal{L}} %Laplace operator \newcommand{\Ztf}{\mathcal{Z}} %Laplace operator \def\rank{\qopname\relax n{hod}} %rank of matrix \newcommand{\PID}[2]{#1_{_{#2}}} %smaller subscript at PID controllers gains %-----<<< MACROS >>>----- %-----<<< ------ >>>----- %-----<<< Styl pro literaturu % \def\bibTeX{\textsc{bib}\TeX} % \renewcommand{\harvardand}{a} %>>>-----