| version 1.4, 2003/06/10 18:16:53 |
version 1.5, 2003/06/17 21:39:24 |
|
|
| % 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.3 2003/06/10 18:14:25 rajo Exp $ |
% $Platon: Platon.SK/office/_templates/platon.sty,v 1.4 2003/06/10 18:16:53 rajo Exp $ |
| % |
% |
| |
|
| \ProvidesPackage{platon} |
\ProvidesPackage{platon} |
|
|
| \setlength{\parskip}{\medskipamount} |
\setlength{\parskip}{\medskipamount} |
| %\topskip=24pt % 36pt + 12pt pismo + nieco |
%\topskip=24pt % 36pt + 12pt pismo + nieco |
| |
|
| \def\PlatonSDG{\textsc{Platon Software Development Group}} |
\def\PlatonSDG{\textsc{Platon software development group}} |
| \def\wwwPlaton{\texttt{http://www.platon.sk}} |
\def\wwwPlaton{\texttt{http://platon.sk}} |
| |
|
| % |
% |
| % Extra fonts |
% Extra fonts |
| % |
% |
| \font\platonLogoFont=pncbc at 17pt |
%\font\platonLogoFont=pncbc at 28pt |
| \font\platonLogo=pncbc at 17pt |
\font\platonLogo=pncbc at 30pt |
| %\font\platonLogo=coprgtl at 12 pt |
%\font\platonLogo=coprgtl at 12 pt |
| |
|
| % |
% |
| % Header and footer of page |
% Header and footer of page |
| % |
% |
| |
\def\X{\hspace{0.04cm}} |
| \fancypagestyle{platonPageStyle}{% |
\fancypagestyle{platonPageStyle}{% |
| \fancyhf{} % clear all header and footer fields |
\fancyhf{} % clear all header and footer fields |
| \fancyfoot[R]{\hfil Page \thepage/\pageref{LastPage}} |
\fancyfoot[R]{\hfil \small{\textsf{Page~\thepage/\pageref{LastPage}}}} |
| \fancyfoot[L]{$\ll$ Some information in footer $\gg$} |
\fancyfoot[L]{\small{\textsf{Platon.SK}}} |
| \fancyhead[L]{ % left side of header |
\fancyhead[L]{ % left side of header |
| \includegraphics[width=30pt]{platon-logo} |
\includegraphics[width=30pt]{platon-logo}% |
| {\platonLogo Platon.SK} \\ |
{\platonLogo~Platon~SDG}\\% |
| open source software development |
\large{\texttt{o\X p\X e\X n\X% |
| \vfill |
~s\X o\X u\X r\X c\X e\X% |
| |
~s\X o\X f\X t\X w\X a\X r\X e\X% |
| |
~d\X e\X v\X e\X l\X o\X p\X m\X e\X n\X t}}% |
| } |
} |
| \fancyhead[R]{ % right side of header |
\fancyhead[R]{ % right side of header |
| \begin{flushright} |
\vfill |
| \PlatonSDG \\ |
\small{\textsf{Holíčska~26}}\\% |
| www: \wwwPlaton \\ |
\small{\textsf{851~01~~Bratislava}}\\% |
| e-mail: \texttt{platon@platon.sk} |
\scriptsize{\textsf{e-mail:~platon@platon.sk}}\\% |
| \end{flushright} |
\scriptsize{\textsf{website:~http://platon.sk}}% |
| } |
} |
| \renewcommand{\headrulewidth}{0.4pt} |
\renewcommand{\headrulewidth}{0.5pt} |
| \renewcommand{\footrulewidth}{0.4pt} |
\renewcommand{\footrulewidth}{0.5pt} |
| } |
} |
| |
|
| \setlength{\headheight}{5\baselineskip} |
\setlength{\headheight}{4\baselineskip} |
| |
\setlength{\voffset}{-15pt} |
| |
|
| \pagestyle{platonPageStyle} |
\pagestyle{platonPageStyle} |
| |
|
| \def\platonHeader#1{ % /* |
\def\platonHeader#1{ % /* |
| \title{#1} |
\title{#1} |
| \author{Platon Software Development Group} |
\author{Platon software development group} |
| |
|
| \begin{center} |
\begin{center} |
| {\Large{\textbf{#1}}} |
{\Large{\textbf{#1}}} |
| \end{center} |
\end{center} |
| \begin{flushright} |
\begin{flushright} |
| \begin{tabular} {l} |
\begin{tabular}{l} |
| \PlatonSDG \\ |
\PlatonSDG \\ |
| \wwwPlaton \\ |
\wwwPlaton \\ |
| \today |
\today |