| version 1.23, 2005/01/06 21:31:03 |
version 1.24, 2005/01/07 02:26:36 |
|
|
| % 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.22 2005/01/06 19:37:28 rajo Exp $ |
% $Platon: Platon.SK/office/_templates/platon.sty,v 1.23 2005/01/06 21:31:03 nepto Exp $ |
| % |
% |
| |
|
| \ProvidesPackage{platon} |
\ProvidesPackage{platon} |
|
|
| % |
% |
| % Extra fonts |
% Extra fonts |
| % |
% |
| %\font\PlatonLogoFont=pncbc at 28pt |
%\font\PlatonFontLogo=pncbc at 28pt |
| \font\PlatonLogo=pncbc at 30pt |
%\font\PlatonFontLogo=coprgtl at 12 pt |
| \font\PlatonLogoSmall=pncbc at 12pt |
\font\PlatonFontLogo=pncbc at 30pt |
| %\font\PlatonLogo=coprgtl at 12 pt |
\font\PlatonFontLogoSmall=pncbc at 12pt |
| |
|
| % |
% |
| % Header and footer of page |
% Header and footer of page |
| % |
% |
| |
%\def\PlatonFontHeader#1{\textsf{#1}} |
| |
\newcommand{\PlatonFontHeaderSmall}[1]{{\fontsize{12}{1}\usefont{T1}{cmss}{m}{n}#1}} |
| |
\newcommand{\PlatonFontHeaderScriptsize}[1]{{\fontsize{8}{1}\usefont{T1}{cmss}{m}{n}#1}} |
| |
\newcommand{\PlatonFontHeaderOSSD}[1]{{\usefont{T1}{cmtt}{m}{n}\fontsize{12}{1}#1}} |
| \def\X{\hspace{0.53mm}} |
\def\X{\hspace{0.53mm}} |
| \def\PlatonHeaderFont#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{\PlatonHeaderFont{\pagename~\thepage/\pageref{LastPage}}}} |
\fancyfoot[R]{\hfil{\PlatonFontHeaderSmall{\pagename~\thepage/\pageref{LastPage}}}} |
| \fancyfoot[L]{\small{\PlatonHeaderFont{Platon.SK}}} |
\fancyfoot[L]{\PlatonFontHeaderSmall{\PlatonSKText}} |
| \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}}% |
| {\PlatonLogo Platon~SDG}}\\% |
{\PlatonFontLogo \PlatonSDGText}}\\% |
| {\texttt{o\X p\X e\X n\X% |
{\texttt{\fontsize{12}{1}\selectfont% |
| |
o\X p\X e\X n\X% |
| ~s\X o\X u\X r\X c\X e\X% |
~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% |
~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}}% |
~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 |
| \vfill |
\vfill |
| \small{\PlatonHeaderFont{\PlatonAddressStreet}}\\% |
\PlatonFontHeaderSmall{\PlatonAddressStreet}\\% |
| \vspace{-1.3pt} |
\vspace{-1.3pt} |
| \small{\PlatonHeaderFont{\PlatonAddressCity}}\\% |
\PlatonFontHeaderSmall{\PlatonAddressCity}\\% |
| \scriptsize{\PlatonHeaderFont{\PlatonAddressEmail}}\\% |
\PlatonFontHeaderScriptsize{\PlatonAddressEmail}\\% |
| \scriptsize{\PlatonHeaderFont{\PlatonAddressSite}}% |
\PlatonFontHeaderScriptsize{\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{\PlatonHeaderFont{\pagename~\thepage/\pageref{LastPage}}}} |
\fancyhead[R]{\hfil{\PlatonFontHeaderSmall{\pagename~\thepage/\pageref{LastPage}}}} |
| \fancyfoot[R]{\hfil \small{\PlatonHeaderFont{\pagename~\thepage/\pageref{LastPage}}}} |
\fancyfoot[R]{\hfil{\PlatonFontHeaderSmall{\pagename~\thepage/\pageref{LastPage}}}} |
| \fancyfoot[L]{\small{\PlatonHeaderFont{Platon.SK}}} |
\fancyfoot[L]{\PlatonFontHeaderSmall{\PlatonSKText}} |
| \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}}% |
| {\PlatonLogoSmall ~Platon~SDG}}% |
\PlatonFontLogoSmall{~\PlatonSDGText}% |
| |
}% |
| } |
} |
| \renewcommand{\headrulewidth}{0.4pt} |
\renewcommand{\headrulewidth}{0.4pt} |
| \renewcommand{\footrulewidth}{0.4pt} |
\renewcommand{\footrulewidth}{0.4pt} |
|
|
| |
|
| |
|
| %% |
%% |
| %% Nastavenie rozmerov strany |
%% Page size setup |
| %% |
%% |
| \voffset=-1in % default 0pt |
\voffset=-1in % default 0pt |
| \hoffset=-1in % default 0pt |
\hoffset=-1in % default 0pt |