Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, October 17, 2026

Diff for platos/_templates/Attic/platon.sty between version 1.21 and 1.22

version 1.21, 2005/01/03 17:52:11 version 1.22, 2005/01/06 19:37:28
Line 6 
Line 6 
 % 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.20 2005/01/03 11:11:25 rajo Exp $  % $Platon: Platon.SK/office/_templates/platon.sty,v 1.21 2005/01/03 17:52:11 rajo Exp $
 %  %
   
 \ProvidesPackage{platon}  \ProvidesPackage{platon}
   
 \usepackage [latin2]{inputenc}  
 \usepackage {fontenc}  
 \usepackage {t1enc}  
 \usepackage {color}  
 \usepackage {floatflt}  
 \usepackage {fancyhdr}  
 \usepackage {lastpage}  
 \usepackage {ifthen}  
   
 %  %
 % package 'lastpage.sty'  % package 'lastpage.sty'
 % from texmf/tex/latex/lastpage/lastpage.sty  % from texmf/tex/latex/lastpage/lastpage.sty
Line 32 
Line 23 
 %\AtEndDocument{%  %\AtEndDocument{%
 %   \clearpage\lastpagePutlabel}%  %   \clearpage\lastpagePutlabel}%
   
 \ifx\platonPDFtitle\undefined  \ifx\PlatonPDFtitle\undefined
         \def\platonPDFtitle{Platon SDG document}          \def\PlatonPDFtitle{Platon SDG document}
 \fi  \fi
 \ifx\platonPDFauthor\undefined  \ifx\PlatonPDFauthor\undefined
         \def\platonPDFauthor{Platon SDG}          \def\PlatonPDFauthor{Platon~SDG}
 \fi  \fi
 \ifx\platonPDFsubject\undefined  \ifx\PlatonPDFsubject\undefined
         \def\platonPDFsubject{\platonPDFtitle}          %\def\PlatonPDFsubject{\PlatonPDFtitle\}
           \def\PlatonPDFsubject{}
 \fi  \fi
 \ifx\platonPDFkeywords\undefined  \ifx\PlatonPDFkeywords\undefined
         \def\platonPDFkeywords{Platon, Platon SDG, Platon Software Development Group}          \def\PlatonPDFkeywords{Platon, Platon SDG, Platon Software Development Group}
 \fi  \fi
   
 % Check if we're using pdflatex or plain latex  % Check if we're using pdflatex or plain latex
 % http://www.cmp.liv.ac.uk/misc/guide/linux_guide/node133.html  % http://www.cmp.liv.ac.uk/misc/guide/linux_guide/node133.html
 \usepackage {ifpdf} % /*  \usepackage {ifpdf} % /*
Line 54 
Line 46 
         \pdfoutput=1          \pdfoutput=1
         \pdftrue          \pdftrue
         \usepackage[pdftex,          \usepackage[pdftex,
                 pdftitle={\platonPDFtitle},                  pdftitle={\PlatonPDFtitle},
                 pdfauthor={\platonPDFauthor},                  pdfauthor={\PlatonPDFauthor},
                 pdfsubject={\platonPDFsubject},                  pdfsubject={\PlatonPDFsubject},
                 pdfkeywords={\platonPDFkeywords},                  pdfkeywords={\PlatonPDFkeywords},
                 pagebackref={true},                  pagebackref={true},
                 linktocpage,                  linktocpage,
                 a4paper,                  a4paper,
Line 75 
Line 67 
 % slovenske delenie slov  % slovenske delenie slov
 %\shyph  %\shyph
   
   
   
 \def\PlatonSDG{\textsc{Platon Software Development Group}}  
 \def\wwwPlaton{\texttt{http://platon.sk}}  
 \@ifpackagewith{babel}{slovak}{%  
         \def\PlatonAddressStreet{Hlavná~3}%  
         \def\PlatonAddressCity{927~01~~Šaľa}%  
         \def\PlatonAddressEmail{e-mail:~platon@platon.sk}%  
         \def\PlatonAddressSite{webstránka:~http://platon.sk}%  
 }{%  
         \def\PlatonAddressStreet{Hlavna~3}%  
         \def\PlatonAddressCity{927~01~~Sala}%  
         \def\PlatonAddressEmail{e-mail:~platon@platon.sk}%  
         \def\PlatonAddressSite{website:~http://platon.sk}%  
 }  
   
 %  %
 % Extra fonts  % Extra fonts
 %  %
 %\font\platonLogoFont=pncbc at 28pt  %\font\PlatonLogoFont=pncbc at 28pt
 \font\platonLogo=pncbc at 30pt  \font\PlatonLogo=pncbc at 30pt
 \font\platonLogoSmall=pncbc at 12pt  \font\PlatonLogoSmall=pncbc at 12pt
 %\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.53mm}}  \def\X{\hspace{0.53mm}}
 \def\headerFont#1{\textsf{#1}}  \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{\headerFont{\pagename~\thepage/\pageref{LastPage}}}}          \fancyfoot[R]{\hfil \small{\PlatonHeaderFont{\pagename~\thepage/\pageref{LastPage}}}}
         \fancyfoot[L]{\small{\headerFont{Platon.SK}}}          \fancyfoot[L]{\small{\PlatonHeaderFont{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}}%
                         {\platonLogo Platon~SDG}}\\%                          {\PlatonLogo Platon~SDG}}\\%
                 {\texttt{o\X p\X e\X n\X%                  {\texttt{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%
Line 118 
Line 94 
         }          }
         \fancyhead[R]{ % right side of header          \fancyhead[R]{ % right side of header
                 \vfill                  \vfill
                 \small{\headerFont{\PlatonAddressStreet}}\\%                  \small{\PlatonHeaderFont{\PlatonAddressStreet}}\\%
                 \vspace{-1.3pt}                  \vspace{-1.3pt}
                 \small{\headerFont{\PlatonAddressCity}}\\%                  \small{\PlatonHeaderFont{\PlatonAddressCity}}\\%
                 \scriptsize{\headerFont{\PlatonAddressEmail}}\\%                  \scriptsize{\PlatonHeaderFont{\PlatonAddressEmail}}\\%
                 \scriptsize{\headerFont{\PlatonAddressSite}}%                  \scriptsize{\PlatonHeaderFont{\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{\pagename~\thepage/\pageref{LastPage}}}}          \fancyhead[R]{\hfil \small{\PlatonHeaderFont{\pagename~\thepage/\pageref{LastPage}}}}
         \fancyfoot[R]{\hfil \small{\headerFont{\pagename~\thepage/\pageref{LastPage}}}}          \fancyfoot[R]{\hfil \small{\PlatonHeaderFont{\pagename~\thepage/\pageref{LastPage}}}}
         \fancyfoot[L]{\small{\headerFont{Platon.SK}}}          \fancyfoot[L]{\small{\PlatonHeaderFont{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}}%
                         {\platonLogoSmall ~Platon~SDG}}%                          {\PlatonLogoSmall ~Platon~SDG}}%
         }          }
         \renewcommand{\headrulewidth}{0.4pt}          \renewcommand{\headrulewidth}{0.4pt}
         \renewcommand{\footrulewidth}{0.4pt}          \renewcommand{\footrulewidth}{0.4pt}
Line 183 
Line 159 
 \message{---------------------------^^J^^J}  \message{---------------------------^^J^^J}
 }  }
   
 \def\platonHeader#1{ % /*  \def\PlatonHeader#1{ % /*
         % redefine platonPDFtitle          \title{\PlatonPDFtitle}
         \def\platonPDFtitle{#1}          \author{\PlatonPDFauthor}
         \title{\platonPDFtitle}  
         \author{\platonPDFauthor}  
   
         \begin{center}          \begin{center}
                 {\Large{\textbf{\platonPDFtitle}}}                  {\Large{\textbf{\PlatonPDFtitle}}}
         \end{center}          \end{center}
         \vspace{\smallskipamount}          \vspace{\smallskipamount}
 } % */  } % */
   
 \def\platonExtendedHeader#1{ % /*  \def\PlatonExtendedHeader#1{ % /*
         \platonHeader{#1}          \PlatonHeader{#1}
   
         \begin{flushright}          \begin{flushright}
                 \begin{tabular}{l}                  \begin{tabular}{l}
                         \PlatonSDG \\                          \PlatonSDG \\
                         \wwwPlaton \\                          \PlatonWebsite \\
                         \today                          \today
                 \end{tabular}                  \end{tabular}
         \end{flushright}          \end{flushright}

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top