%
% 'slide.sty' created: Fri Mar 28 16:37:10 CET 2003
%
% Developed by Lubomir Host 'rajo' <rajo AT platon.sk>
% Copyright (c) 2003 Platon SDG
% Licensed under terms of GNU General Public License.
% All rights reserved.
%

% $Platon$

\ProvidesPackage{slide}


% najvacsie bezpatkove pismo bazpatkove pismo
\renewcommand{\rmdefault}{cmss}

\voffset=-1in         % default 0pt
\topmargin=2.3cm      % default 20pt = 0.7cm
\hoffset=-1in         % default 0pt
\textwidth=16cm       % default 390pt = 13.71cm
\textheight=23cm      % default 592pt = 20.8cm
\oddsidemargin=2.5cm  % default 31pt = 1.1cm
\evensidemargin=2.5cm % default 31pt = 1.1cm
\unitlength=1mm       % default 1pt

\setlength{\parskip}{\bigskipamount}

% znak <C-L> (ASCII = 12) zadefinujeme ako komentar. <C-L> pouziva vim
% ako separator sekcii, teda ich mozno dobre formatovat prikazom na
% formatovanie paragrafu 'gqap' (vo vime: tam kde zacia sekcia, zacina
% aj paragraf)
\catcode12=14 % kategoria 14 = komentar

\def\captionsslovak{%
\def\prefacename{\Huge Predhovor}%
\def\refname{\Huge Literat\'ura}%
\def\appendixname{\Huge Dodatok}%
\def\listfigurename{\Huge Zoznam obr\'azkov}%
\def\listtablename{\Huge Zoznam tabuliek}%
\def\indexname{\LARGE Register}%
\def\tablename{\LARGE Tabu\v{l}ka}%
\def\partname{\LARGE \v{C}as\v{t}}%
\def\enclname{\Huge Pr\'{\i}loha}%
\def\headtoname{\LARGE Pre}%
\def\alsoname{\LARGE vi\v{d} tie\v{z}}%
\def\abstractname{\Huge Abstrakt}%
\let\bibname\refname
\def\chaptername{\Huge Kapitola}%
\def\contentsname{\Huge Obsah}%
\def\figurename{\LARGE Obr.}%
\def\ccname{\LARGE cc.}%
\def\pagename{\LARGE Str.}%
\def\seename{\LARGE vi\v{d}}}

% \chapter, \section, ... are redefined
%\def\chapter#1{\removelastskip\par\bigskip\centerline{\Huge #1}\par\bigskip}
%\def\section#1{\removelastskip\par\bigskip\centerline{\Huge #1}\par\bigskip}

%%
%% Matematicke definicie
%%
%% /*

% stredne hodnoty
\def\<#1>{\ensuremath{\langle#1\rangle}}
\def\meanlambda{\langle\lambda\rangle}
% jedna polovica
\def\polovica{\frac{1}{2}}
%
% kotangens
\def\cotg{\ensuremath{\mathrm{\cot}}}
\def\cosec{\ensuremath{\mathrm{\csc}}}
\def\arctg{\ensuremath{\mathrm{\arctan}}}
\def\sgn{\ensuremath{\mathrm{sgn}}}
\def\Heaviside(#1){\ensuremath{\Theta(#1)}}
\def\Dirac(#1){\ensuremath{\delta(#1)}}
\def\erf(#1){\ensuremath{\mathrm{erf}(#1)}}
\def\erfc(#1){\ensuremath{\mathrm{erfc}(#1)}}

% znak integracnych medzi pri symbole integralu umiestnime nad a pod
% symbol
\def\Int{\int\limits }

% obycajnu derivaciu piseme ako \Deriv{funkc}{time}
\def\Deriv#1#2{\frac{\d #1}{\d #2}}
%diferencial v integraloch a pod: \int_0^1 f(x) \d x
\def\d{\ensuremath{\;{\rm d}}}

% parcialnu derivaciu budeme pisat ako \Partial{funkc}{time}
\def\Partial#1#2{\frac{\partial #1}{\partial #2}}

\def\vektor#1{\ensuremath{\mathbf{#1}}}
\def\vector#1{\ensuremath{\mathbf{#1}}}
\def\oper#1{\ensuremath{\mathsf{#1}}}


%\def\logic#1{\ensuremath{\quad\mathrm{#1}\quad}}
%\def\AND{\logic{AND}}
%\def\OR{\logic{OR}}
\def\AND{\;\wedge\;}
\def\OR{\;\vee\;}

% Jednotky v matematickom mode: /*
\def\jednotka#1{\ensuremath{\;\mathrm{#1}}}

\def\m{\ensuremath{\;\mathrm{m}}}
\def\meter{\ensuremath{\;\mathrm{m}}}
\def\mm{\ensuremath{\;\mathrm{mm}}}
\def\nm{\ensuremath{\;\mathrm{nm}}}
\def\cm{\ensuremath{\;\mathrm{cm}}}

\def\Hz{\ensuremath{\;\mathrm{Hz}}}
\def\kHz{\ensuremath{\;\mathrm{kHz}}}
\def\MHz{\ensuremath{\;\mathrm{MHz}}}
\def\GHz{\ensuremath{\;\mathrm{GHz}}}

\def\s{\ensuremath{\;\mathrm{s}}}
\def\sekunda{\ensuremath{\;\mathrm{s}}}
\def\ms{\ensuremath{\;\mathrm{ms}}}
\def\mus{\ensuremath{\;\mathrm{\mu s}}}

\def\kg{\ensuremath{\;\mathrm{kg}}}

\def\eV{\ensuremath{\;\mathrm{eV}}}			% elektronvolt
\def\Coulomb{\ensuremath{\;\mathrm{C}}}		% coulomb
\def\C{\ensuremath{\;\mathrm{C}}}			% coulomb

\def\F{\ensuremath{\;\mathrm{F}}}			% farad
\def\pF{\ensuremath{\;\mathrm{pF}}}

\def\V{\ensuremath{\;\mathrm{V}}}
\def\kV{\ensuremath{\;\mathrm{kV}}}
\def\mV{\ensuremath{\;\mathrm{mV}}}
\def\nV{\ensuremath{\;\mathrm{nV}}}

\def\A{\ensuremath{\;\mathrm{A}}}
\def\kA{\ensuremath{\;\mathrm{kA}}}
\def\mA{\ensuremath{\;\mathrm{mA}}}
\def\miA{\ensuremath{\;\mathrm{\mu A}}}
\def\nA{\ensuremath{\;\mathrm{nA}}}
\def\pA{\ensuremath{\;\mathrm{pA}}}
\def\fA{\ensuremath{\;\mathrm{fA}}}

\def\J{\ensuremath{\;\mathrm{J}}}
\def\kJ{\ensuremath{\;\mathrm{kJ}}}			
\def\MJ{\ensuremath{\;\mathrm{MJ}}}			% megajoule

\def\K{\ensuremath{\;\mathrm{K}}}			% Kelvin
\def\Kelvin{\ensuremath{\;\mathrm{K}}}			% Kelvin

\def\Torr{\ensuremath{\;\mathrm{Torr}}}		% Torr
\def\Pa{\ensuremath{\;\mathrm{Pa}}}
\def\kPa{\ensuremath{\;\mathrm{kPa}}}

\def\dB{\ensuremath{\;\mathrm{dB}}}

\def\TOhm{\ensuremath{\;\mathrm{T\Omega}}}

\def\fS{\ensuremath{\;\mathrm{fS}}}			% femto siemens (vodivost)
\def\fSiemens{\ensuremath{\;\mathrm{fS}}}	% femto siemens (vodivost)
\def\Siemens{\ensuremath{\;\mathrm{S}}}		% siemens (vodivost)

% */ jednotky

%% 
%% Pouzitie:
%%           \cislo 1.234245         --> 1.234245
%%           \cisloexp 1.123414^6    --> 1.123414 10^6
%%
\def\cislo#1.#2{\ensuremath{#1.#2}}
\def\cisloexp#1.#2^#3{\cislo #1.#2\ensuremath{\times10^{#3}}}

%% */


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

