%
% Makra pouzite pri sadzani zbierky prikladov
% z Teorie grafov
%
\ProvidesPackage{grafy-zbierka}

%
% VERSION
%
\newcommand{\version}{release 0.2.2 build 2003-07-18}

%% 
%% Pouzitie:
%%           \cislo {cela_cast} {desatinna_cast}
%%           \cisloexp {cela_cast} {desatinna_cast} {exponent}
%%
%\def\cislo#1.#2{\ensuremath{#1.#2}}
%\def\cisloexp#1.#2^#3{\cislo #1.#2\ensuremath{\;10^{#3}}}

%% Nejake casto pouzivane slova:

% elektron:
%\def\el#1{elek\-tr\'{o}\-n#1}
% elektromagnetick:
%\def\elmag#1{elek\-tro\-mag\-ne\-tic\-k#1}


%%
%% Nastavenie rozmerov 

\unitlength=1mm

% Viacriadkova rovnica sa sadza cez prostredie 'eqnarray'
% - nastavenie sirky medzi stlpcami
%\setlength\arraycolsep{2pt}

%\linespread{1.3} % riadkovanie

%%%
%%% NEPTO settings
%%%

% vyskyt "vdov" a "sir�tok"
\clubpenalty=10000 % sir�tky - 1. a 2. riadok
\widowpenalty=10000 % vdova - posledny riadok odstavca
\interlinepenalty=10 % lepsie je zlomit medzi odstavcami

%
% Paragraph macro definition (\p)
%

\setlength{\parindent}{0pt}
\setlength{\parskip}{\medskipamount}
%\def\p{\par \noindent \parindent = 0pt \parskip = 7pt}
\def\p{\par}

%
% New characters
%

\newcommand{\cent}{\textrm{c\kern-0.3em\small$|$}}
\newcommand{\lb}{[\kern-0.6mm [}
\newcommand{\rb}{]\kern-0.6mm ]}
\newcommand{\M}{\mathcal{M}}
\newcommand{\W}{\mathcal{W}}
%\newcommand{\UU}{\bigsqcup_{0}^{\infty}}
\DeclareMathSymbol{\UUsum}{\mathop}{symbols}{"74}
\newcommand{\UU}{\UUsum_{0}^{\infty}}

%\newcommand{\notsubseteq}{\subseteq\kern-0.8em|}
%\newcommand{\notsqsubseteq}{\sqsubseteq\kern-0.8em|}
%\newcommand{\nottrianglelefteq}{\trianglelefteq\kern-0.8em|}

\def\notsubseteq{\mathrel{\m@th\mathpalette\c@ncel\subseteq}}
\def\notsqsubseteq{\mathrel{\m@th\mathpalette\c@ncel\sqsubseteq}}
\def\nottrianglelefteq{\mathrel{\m@th\mathpalette\c@ncel\trianglelefteq}}

\newcommand{\efsubseteq}{\trianglelefteq}
\newcommand{\notefsubseteq}{\nottrianglelefteq}

%
% \cmd
%

%\def\cmd#1{\bf{#1}}
%\newcommand{\cmd}[1]{ ~{ \bf{#1} }~ }
\def\cmd#1{{ \bf{#1} }}

\def\stvorcek#1{ % stvorcek premmennej velkosti
    \hbox {\vrule height#1pt depth0pt width#1pt \hss}
}

%%
%% Images
%%
%% \inputImage{label}{width}{file}{caption}

\newcommand{\inputImage}[5][hbt!]{%
\begin{figure}[#1]%
	\begin{center}%
		\includegraphics[width=#3]{#4}%
		\caption{#5}%
		\label{#2}%
	\end{center}%
\end{figure}%
}

% \newtheorem override /*

%%
%% This is copy/paste from file
%% /usr/share/texmf/tex/latex/base/latex.ltx
%%

%%% From File: ltthm.dtx
\def\newtheorem#1{%
  \@ifnextchar[{\@othm{#1}}{\@nthm{#1}}}
\def\@nthm#1#2{%
  \@ifnextchar[{\@xnthm{#1}{#2}}{\@ynthm{#1}{#2}}}
\def\@xnthm#1#2[#3]{%
  \expandafter\@ifdefinable\csname #1\endcsname
    {\@definecounter{#1}\@newctr{#1}[#3]%
     \expandafter\xdef\csname the#1\endcsname{%
       \expandafter\noexpand\csname the#3\endcsname \@thmcountersep
          \@thmcounter{#1}}%
     \global\@namedef{#1}{\@thm{#1}{#2}}%
     \global\@namedef{end#1}{\@endtheorem}}}
\def\@ynthm#1#2{%
  \expandafter\@ifdefinable\csname #1\endcsname
    {\@definecounter{#1}%
     \expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
     \global\@namedef{#1}{\@thm{#1}{#2}}%
     \global\@namedef{end#1}{\@endtheorem}}}
\def\@othm#1[#2]#3{%
  \@ifundefined{c@#2}{\@nocounterr{#2}}%
    {\expandafter\@ifdefinable\csname #1\endcsname
    {\global\@namedef{the#1}{\@nameuse{the#2}}%
  \global\@namedef{#1}{\@thm{#2}{#3}}%
  \global\@namedef{end#1}{\@endtheorem}}}}
\def\@thm#1#2{%
  \refstepcounter{#1}%
  \@ifnextchar[{\@ythm{#1}{#2}}{\@xthm{#1}{#2}}}
\def\@xthm#1#2{%
  \@begintheorem{#2}{\csname the#1\endcsname}\ignorespaces}
\def\@ythm#1#2[#3]{%
  \@opargbegintheorem{#2}{\csname the#1\endcsname}{#3}\ignorespaces}
\def\@thmcounter#1{\noexpand\arabic{#1}}
\def\@thmcountersep{.}
\def\@begintheorem#1#2{\trivlist
   \item[\hskip \labelsep{\bfseries #1\ #2}]}
\def\@opargbegintheorem#1#2#3{\trivlist
      \item[\hskip \labelsep{\bfseries #1\ #2\ (#3)}]}
\def\@endtheorem{\endtrivlist}

% */

\newtheorem{example}{Pr�klad}
\newtheorem{solution}{Rie�enie}

% vim: ts=4
% vim600: fdl=0 fdm=marker fdc=3 fmr=/*,*/

