%%
%% Copyright (C) 2002 Andr\'e Wobst <wobsta@users.sourceforge.net>
%% http://www.wobsta.de/uni/sw/tex/size/
%%
%% This file is free software; you can redistribute it and/or modify
%% it under the terms of the GNU General Public License as published by
%% the Free Software Foundation; either version 2 of the License, or
%% (at your option) any later version.
%%
%% This file is distributed in the hope that it will be useful,
%% but WITHOUT ANY WARRANTY; without even the implied warranty of
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%% GNU General Public License for more details.
%%
%% You should have received a copy of the GNU General Public License
%% along with this file; if not, write to the Free Software
%% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
%%
%% Please attend additional conventions of the LaTeX community
%% (like the necessity of renaming the file whenever required).
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{sizedef}[2002/03/28  v0.1  (c) A. Wobst 2002]
\def\normalsize@pt{25}
\DeclareOption*{\edef\normalsize@pt{\CurrentOption}}
\ProcessOptions\relax
\RequirePackage{fp}
\FPmul{\smallsize@pt}{\normalsize@pt}{0.83333333333333333333}
\FPmul{\Smallsize@pt}{\normalsize@pt}{0.69444444444444444444}
\FPmul{\SMallsize@pt}{\normalsize@pt}{0.57870370370370370370}
\FPmul{\SMAllsize@pt}{\normalsize@pt}{0.48225308641975308641}
\FPmul{\SMALlsize@pt}{\normalsize@pt}{0.40187757201646090534}
\FPmul{\SMALLsize@pt}{\normalsize@pt}{0.33489797668038408778}
\FPmul{\SMALLSize@pt}{\normalsize@pt}{0.27908164723365340648}
\FPmul{\SMALLSIze@pt}{\normalsize@pt}{0.23256803936137783873}
\FPmul{\SMALLSIZe@pt}{\normalsize@pt}{0.19380669946781486560}
\FPmul{\SMALLSIZE@pt}{\normalsize@pt}{0.16150558288984572133}
\FPmul{\SMALLSIZE@Pt}{\normalsize@pt}{0.13458798574153810110}
\FPmul{\largesize@pt}{\normalsize@pt}{1.2}
\FPmul{\Largesize@pt}{\normalsize@pt}{1.44}
\FPmul{\LArgesize@pt}{\normalsize@pt}{1.728}
\FPmul{\LARgesize@pt}{\normalsize@pt}{2.0736}
\FPmul{\LARGesize@pt}{\normalsize@pt}{2.48832}
\FPmul{\LARGEsize@pt}{\normalsize@pt}{2.985984}
\FPmul{\LARGESize@pt}{\normalsize@pt}{3.5831808}
\FPmul{\LARGESIze@pt}{\normalsize@pt}{4.29981696}
\FPmul{\LARGESIZe@pt}{\normalsize@pt}{5.159780352}
\FPmul{\LARGESIZE@pt}{\normalsize@pt}{6.1917364224}
\FPmul{\LARGESIZE@Pt}{\normalsize@pt}{7.43008370688}
\FPround{\normalsize@pt}{\normalsize@pt}{2}
\FPround{\smallsize@pt}{\smallsize@pt}{2}
\FPround{\Smallsize@pt}{\Smallsize@pt}{2}
\FPround{\SMallsize@pt}{\SMallsize@pt}{2}
\FPround{\SMAllsize@pt}{\SMAllsize@pt}{2}
\FPround{\SMALlsize@pt}{\SMALlsize@pt}{2}
\FPround{\SMALLsize@pt}{\SMALLsize@pt}{2}
\FPround{\SMALLSize@pt}{\SMALLSize@pt}{2}
\FPround{\SMALLSIze@pt}{\SMALLSIze@pt}{2}
\FPround{\SMALLSIZe@pt}{\SMALLSIZe@pt}{2}
\FPround{\SMALLSIZE@pt}{\SMALLSIZE@pt}{2}
\FPround{\SMALLSIZE@Pt}{\SMALLSIZE@Pt}{2}
\FPround{\largesize@pt}{\largesize@pt}{2}
\FPround{\Largesize@pt}{\Largesize@pt}{2}
\FPround{\LArgesize@pt}{\LArgesize@pt}{2}
\FPround{\LARgesize@pt}{\LARgesize@pt}{2}
\FPround{\LARGesize@pt}{\LARGesize@pt}{2}
\FPround{\LARGEsize@pt}{\LARGEsize@pt}{2}
\FPround{\LARGESize@pt}{\LARGESize@pt}{2}
\FPround{\LARGESIze@pt}{\LARGESIze@pt}{2}
\FPround{\LARGESIZe@pt}{\LARGESIZe@pt}{2}
\FPround{\LARGESIZE@pt}{\LARGESIZE@pt}{2}
\FPround{\LARGESIZE@Pt}{\LARGESIZE@Pt}{2}
\renewcommand{\normalsize}{\fontsize{\normalsize@pt}{\largesize@pt}\selectfont}
\newcommand{\largesize}{\fontsize{\largesize@pt}{\Largesize@pt}\selectfont}
\newcommand{\Largesize}{\fontsize{\Largesize@pt}{\LArgesize@pt}\selectfont}
\newcommand{\LArgesize}{\fontsize{\LArgesize@pt}{\LARgesize@pt}\selectfont}
\newcommand{\LARgesize}{\fontsize{\LARgesize@pt}{\LARGesize@pt}\selectfont}
\newcommand{\LARGesize}{\fontsize{\LARGesize@pt}{\LARGEsize@pt}\selectfont}
\newcommand{\LARGEsize}{\fontsize{\LARGEsize@pt}{\LARGESize@pt}\selectfont}
\newcommand{\LARGESize}{\fontsize{\LARGESize@pt}{\LARGESIze@pt}\selectfont}
\newcommand{\LARGESIze}{\fontsize{\LARGESIze@pt}{\LARGESIZe@pt}\selectfont}
\newcommand{\LARGESIZe}{\fontsize{\LARGESIZe@pt}{\LARGESIZE@pt}\selectfont}
\newcommand{\LARGESIZE}{\fontsize{\LARGESIZE@pt}{\LARGESIZE@Pt}\selectfont}
\newcommand{\smallsize}{\fontsize{\smallsize@pt}{\normalsize@pt}\selectfont}
\newcommand{\Smallsize}{\fontsize{\Smallsize@pt}{\smallsize@pt}\selectfont}
\newcommand{\SMallsize}{\fontsize{\SMallsize@pt}{\Smallsize@pt}\selectfont}
\newcommand{\SMAllsize}{\fontsize{\SMAllsize@pt}{\SMallsize@pt}\selectfont}
\newcommand{\SMALlsize}{\fontsize{\SMALlsize@pt}{\SMAllsize@pt}\selectfont}
\newcommand{\SMALLsize}{\fontsize{\SMALLsize@pt}{\SMALlsize@pt}\selectfont}
\newcommand{\SMALLSize}{\fontsize{\SMALLSize@pt}{\SMALLsize@pt}\selectfont}
\newcommand{\SMALLSIze}{\fontsize{\SMALLSIze@pt}{\SMALLSize@pt}\selectfont}
\newcommand{\SMALLSIZe}{\fontsize{\SMALLSIZe@pt}{\SMALLSIze@pt}\selectfont}
\newcommand{\SMALLSIZE}{\fontsize{\SMALLSIZE@pt}{\SMALLSIZe@pt}\selectfont}
\renewcommand{\tiny}{\SMAllsize}
\renewcommand{\scriptsize}{\SMallsize}
\renewcommand{\footnotesize}{\Smallsize}
\renewcommand{\small}{\smallsize}
\renewcommand{\large}{\largesize}
\renewcommand{\Large}{\Largesize}
\renewcommand{\LARGE}{\LArgesize}
\renewcommand{\huge}{\LARgesize}
\renewcommand{\Huge}{\LARGesize}
