| version 1.14, 2003/06/27 21:49:47 |
version 1.15, 2003/06/29 10:28:04 |
|
|
| % Licensed under terms of GNU General Public License. |
% Licensed under terms of GNU General Public License. |
| % All rights reserved. |
% All rights reserved. |
| % |
% |
| % $Platon: Platon.SK/office/_templates/platon.sty,v 1.13 2003/06/25 15:01:46 rajo Exp $ |
% $Platon: Platon.SK/office/_templates/platon.sty,v 1.14 2003/06/27 21:49:47 nepto Exp $ |
| % |
% |
| |
|
| \ProvidesPackage{platon} |
\ProvidesPackage{platon} |
| |
|
| \usepackage [slovak]{babel} |
|
| \usepackage [latin2]{inputenc} |
\usepackage [latin2]{inputenc} |
| \usepackage {fontenc} |
\usepackage {fontenc} |
| \usepackage {t1enc} |
\usepackage {t1enc} |
|
|
| |
|
| \def\PlatonSDG{\textsc{Platon software development group}} |
\def\PlatonSDG{\textsc{Platon software development group}} |
| \def\wwwPlaton{\texttt{http://platon.sk}} |
\def\wwwPlaton{\texttt{http://platon.sk}} |
| |
\@ifpackagewith{babel}{slovak}{% |
| |
\def\PlatonAddressStreet{Holíčska~26}% |
| |
\def\PlatonAddressCity{851~01~~Bratislava}% |
| |
\def\PlatonAddressEmail{e-mail:~platon@platon.sk}% |
| |
\def\PlatonAddressSite{webstránka:~http://platon.sk}% |
| |
}{% |
| |
\def\PlatonAddressStreet{Holicska~26}% |
| |
\def\PlatonAddressCity{851~01~~Bratislava}% |
| |
\def\PlatonAddressEmail{e-mail:~platon@platon.sk}% |
| |
\def\PlatonAddressSite{website:~http://platon.sk}% |
| |
} |
| |
|
| % |
% |
| % Extra fonts |
% Extra fonts |
|
|
| \def\headerFont#1{\textsf{#1}} |
\def\headerFont#1{\textsf{#1}} |
| \fancypagestyle{platonFirstPage}{% /* |
\fancypagestyle{platonFirstPage}{% /* |
| \fancyhf{} % clear all header and footer fields |
\fancyhf{} % clear all header and footer fields |
| \fancyfoot[R]{\hfil \small{\headerFont{Page~\thepage/\pageref{LastPage}}}} |
\fancyfoot[R]{\hfil \small{\headerFont{\pagename~\thepage/\pageref{LastPage}}}} |
| \fancyfoot[L]{\small{\headerFont{Platon.SK}}} |
\fancyfoot[L]{\small{\headerFont{Platon.SK}}} |
| \fancyhead[L]{ % left side of header |
\fancyhead[L]{ % left side of header |
| \makebox{\raisebox{-4pt}[30pt]{\includegraphics[width=46pt]{platon-logo}}% |
\makebox{\raisebox{-4pt}[30pt]{\includegraphics[width=46pt]{platon-logo}}% |
|
|
| } |
} |
| \fancyhead[R]{ % right side of header |
\fancyhead[R]{ % right side of header |
| \vfill |
\vfill |
| \small{\headerFont{Holíčska~26}}\\% |
\small{\headerFont{\PlatonAddressStreet}}\\% |
| \vspace{-1.3pt} |
\vspace{-1.3pt} |
| \small{\headerFont{851~01~~Bratislava}}\\% |
\small{\headerFont{\PlatonAddressCity}}\\% |
| \scriptsize{\headerFont{e-mail:~platon@platon.sk}}\\% |
\scriptsize{\headerFont{\PlatonAddressEmail}}\\% |
| \scriptsize{\headerFont{website:~http://platon.sk}}% |
\scriptsize{\headerFont{\PlatonAddressSite}}% |
| } |
} |
| \renewcommand{\headrulewidth}{0.4pt} |
\renewcommand{\headrulewidth}{0.4pt} |
| \renewcommand{\footrulewidth}{0.4pt} |
\renewcommand{\footrulewidth}{0.4pt} |
| }% */ |
}% */ |
| \fancypagestyle{platon}{% /* |
\fancypagestyle{platon}{% /* |
| \fancyhf{} % clear all header and footer fields |
\fancyhf{} % clear all header and footer fields |
| \fancyhead[R]{\hfil \small{\headerFont{Page~\thepage/\pageref{LastPage}}}} |
\fancyhead[R]{\hfil \small{\headerFont{\pagename~\thepage/\pageref{LastPage}}}} |
| \fancyfoot[R]{\hfil \small{\headerFont{Page~\thepage/\pageref{LastPage}}}} |
\fancyfoot[R]{\hfil \small{\headerFont{\pagename~\thepage/\pageref{LastPage}}}} |
| \fancyfoot[L]{\small{\headerFont{Platon.SK}}} |
\fancyfoot[L]{\small{\headerFont{Platon.SK}}} |
| \fancyhead[L]{ % left side of header |
\fancyhead[L]{ % left side of header |
| \makebox{\raisebox{-1.5pt}[16pt]{\includegraphics[width=18pt]{platon-logo}}% |
\makebox{\raisebox{-1.5pt}[16pt]{\includegraphics[width=18pt]{platon-logo}}% |