\NeedsTeXFormat{LaTeX2e} \ProvidesClass{project}[2001/10/11 v1.0 (SGLS)] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} \ProcessOptions \LoadClass{article} \RequirePackage[pdftex]{graphicx} \newif\if@nocfg \@nocfgfalse \newif\if@ams \@amstrue \newif\if@contnav \@contnavfalse \DeclareOption{nocfg}{\@nocfgtrue} \DeclareOption{ams}{\@amstrue} \DeclareOption{contnav}{\@contnavtrue} \ProcessOptions \ExecuteOptions{ams} \def\ScreenLastPage{100} \RequirePackage{colortbl} \RequirePackage{amssymb,amsbsy,fancybox} \RequirePackage[pdftex,pdfpagemode=none,colorlinks,% pdfmenubar=false,% pdfhighlight=/I,% pdftoolbar=false,% pdfpagemode=FullScreen,% pdffitwindow=true,pdfcenterwindow=true,% pdfwindowui=false,menucolor=menucolor,% pdfview=Fit,pdfstartview=Fit]{hyperref} \RequirePackage{ifthen} %removed pifont \newdimen\@Leftmargin \@Leftmargin=0cm \newdimen\@Rightmargin \@Rightmargin=0cm \newdimen\@Topmargin \@Topmargin=0cm \newdimen\@Bottommargin \@Bottommargin=0cm % \def\InitLayout{ \setlength{\textwidth}{\paperwidth} \addtolength{\textwidth}{-\@Leftmargin} \addtolength{\textwidth}{-\@Rightmargin} \setlength{\textheight}{\paperheight} \addtolength{\textheight}{-\@Topmargin} \addtolength{\textheight}{-\@Bottommargin} \addtolength{\textheight}{-\headheight} \addtolength{\textheight}{-\headsep} \addtolength{\textheight}{-\footskip} \setlength{\oddsidemargin}{\@Leftmargin} \addtolength{\oddsidemargin}{-1in} \setlength{\evensidemargin}{\@Rightmargin} \addtolength{\evensidemargin}{-1in} \setlength{\topmargin}{\@Topmargin} \addtolength{\topmargin}{-1in} } \InitLayout \def\screensize#1#2{\paperheight=#1% \paperwidth=#2 \InitLayout } \def\marginsize#1#2#3#4{ \@Leftmargin=#1 \@Rightmargin=#2 \@Topmargin=#3 \@Bottommargin=#4 \InitLayout } \definecolor{menucolor}{rgb}{1,.25,0} \definecolor{paleblue}{rgb}{0,0,0.1} \input slide.clo \setlength\footskip{1\baselineskip} \AtEndDocument{% \clearpage \addtocounter{page}{-1}% \immediate\write\@auxout{\string\gdef\string\ScreenLastPage{\arabic{page}}}% } % \def\st{\vrule height11pt depth 2pt width0pt} \def\ps@headings{\ps@sidebar} \def\ps@plain{\ps@sidebar} \def\ps@empty{\ps@title} \def\ps@myheadings{\ps@sidebar} \def\ps@firstpage{\ps@ftitle} \def\maketitle{\@mtitle} \voffset-.25in \marginsize{.3in}{.3in}{-.050in}{.3in} \def\marginsize#1#2#3#4{} \setcounter{tocdepth}{1} \setcounter{secnumdepth}{1} \setlength\paperwidth{8.6in} \setlength\paperheight{6.4in} %5.5 \@Leftmargin=.2in \@Rightmargin=.2in \@Topmargin=.4in \@Bottommargin=.3in \voffset-.185in %-.2in \headsep 25pt \pdfpagewidth=.932\paperwidth %%7.5in \pdfpageheight=\paperheight %%6.3in \advance\pdfpageheight by -.5in \newlength\panelwidth \setlength\panelwidth{.09\paperwidth}%%.265 \newlength\panelheight \setlength\panelheight{1\textheight} \newlength\textareawidth \setlength\textareawidth{\pdfpagewidth} \newlength\textareaheight\setlength\textareaheight{\pdfpageheight} \parskip 1pt plus2pt minus 1pt \setlength{\textheight}{\textareaheight}%%6in \addtolength{\textheight}{-.5\@Bottommargin} \setlength{\textwidth}{\textareawidth}%%5.5 \evensidemargin=\oddsidemargin \def\ps@myheadings{\ps@title} \def\ps@headings{\ps@title} \def\ps@plain{\ps@sidebar} \def\ps@empty{\ps@title} \def\overlay#1{\gdef\@overlay{#1}} \def\@overlay{mybg.jpg} \addtolength\textareawidth{.56in} \def\ps@title{% \def\@evenhead{\if@contnav\hspace*{-.3825in} %3375 \else\hspace*{-.355in}\fi% \colorbox{white}{\begin{minipage}[t][1.025\pdfpageheight][c]{\textareawidth}% {\color{white}\includegraphics[width=8.6in,height=6.4in]{\@overlay}}%7.175 \end{minipage}}\null\hskip-1.5pt %6.5,6 \hspace*{-3.5\@Rightmargin}\hfil} \def\@oddhead{\@evenhead} \def\@evenfoot{\@empty} \def\@oddfoot{\@empty} \let\@mkboth\@gobbletwo \let\chaptermark\@gobble \let\sectionmark\@gobble } \def\ps@sidebar{% \def\@evenhead{\hspace*{-.385in} %1.5 \colorbox{white}{\begin{minipage}[t][2pt][c]{\textareawidth} {\color{white}\hrulefill}\end{minipage}}\null \ifnum\number\thepage=1\@panel\else\@panel\fi \hspace*{-\panelwidth}\hspace*{-3.5\@Rightmargin}\hfil} \def\@oddhead{\@evenhead} \def\@evenfoot{\@empty} \def\@oddfoot{\@empty} \let\@mkboth\@gobbletwo \let\chaptermark\@gobble \let\sectionmark\@gobble } \definecolor{panelbackground}{rgb}{1,.549,0} \definecolor{button}{rgb}{0,0,.7} \definecolor{buttondisable}{gray}{.7} \def\nBlue{\color{buttonshadow}} \def\Panelgobackname#1{\gdef\@Panelgobackname{#1}} \def\Panelclosename#1{\gdef\@Panelclosename{#1}} \def\@Panelgobackname{Back} \def\@Panelclosename{Close} % \RequirePackage{amssymb,amsbsy} \definecolor{orange}{rgb}{1,.549,0} \def\Black{\color{black}} \definecolor{panelbackground}{rgb}{.455,.832,.979} \definecolor{buttonbackground}{rgb}{0,.624,.820} \definecolor{buttonshadow}{rgb}{.001,0,.502} \def\Sectionformat#1#2{% \ifcase#2% {\protect\textcolor{section0}{#1}}%level 0 chapter { } \or {\protect\textcolor{section1}{#1}}%level 1 section { } \or {\protect\textcolor{section2}{#1}}%level 2 subsection { } \or {\protect\textcolor{section3}{#1}}%level 3 subsubsection { } \or {\protect\textcolor{section4}{#1}}%level 4 paragraph { } \or {\protect\textcolor{section5}{#1}}%level 5 subparagraph { } \fi } \let\scr@section\section \newdimen\headskip \headskip=1\baselineskip \def\section{\clearpage\null\vskip\headskip\scr@section} \definecolor{section0}{rgb}{0,0,0} \definecolor{section1}{rgb}{0,.5,1} \definecolor{section2}{rgb}{0,.5,.7} \definecolor{section3}{rgb}{0,.5,.4} \definecolor{section4}{rgb}{.4,.5,.2} \definecolor{section5}{rgb}{.5,.5,.3} \if@contnav \font\CVxx=contnav at 15pt \fboxrule1pt\fboxsep2pt \def\Prev{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char1}\hfil}}} \def\Next{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char2}\hfil}}} \def\First{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char3}\hfil}}} \def\Last{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char4}\hfil}}} \def\Back{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char5}\hfil}}} \def\Forw{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char6}\hfil}}} \def\Close{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char9}\hfil}}} \fi %\if@metapost % \def\Prev {\convertMPtoPDF{mp/back.1}{.5}{.5}} % \def\Prevg{\convertMPtoPDF{mp/backg.1}{.5}{.5}} % \def\Next {\convertMPtoPDF{mp/next.1}{.5}{.5}} % \def\Nextg{\convertMPtoPDF{mp/nextg.1}{.5}{.5}} % \def\First{\convertMPtoPDF{mp/first.1}{.5}{.5}} % \def\Firstg{\convertMPtoPDF{mp/firstg.1}{.5}{.5}} % \def\Last {\convertMPtoPDF{mp/last.1}{.5}{.5}} % \def\Lastg{\convertMPtoPDF{mp/lastg.1}{.5}{.5}} % \def\Back {\convertMPtoPDF{mp/goback.1}{.5}{.5}} % \def\Close{\convertMPtoPDF{mp/close.1}{.5}{.5}} %\fi \def\pagedissolve#1{% \edef\@@processme{% \pdfpageattr{% /Trans << /S /#1\space >>% }}% \@@processme }% \definecolor{dm}{rgb}{1,.894,.769} \def\titlefont{\@setfontsize\titlefont{24}{26}\color{dm}\rmfamily\bfseries} \def\authorfont{\@setfontsize\authorfont{17.28}{18}\rmfamily\color{dm}} \def\capfont{\@setfontsize\capfont{40}{40}\sffamily\color{white}} \def\addressfont{\@setfontsize\addressfont{12}{14}\sffamily\color{dm}} \def\rcdfont{\@setfontsize\rcdfont{10}{12}\sffamily\color{white}} \def\numfont{\@setfontsize\rcdfont{8}{7}\sffamily\color{white}} \def\maketitle{\thispagestyle{title} \noindent\begin{minipage}[t][.95\textheight][c]{.975\textwidth} \begin{flushleft} \null\vspace*{30pt} \ifx\@orgname\@empty\relax\else {\capfont \@orgname}\\[3pt]\fi \ifx\@orgurl\@empty\null\vskip72pt\else {\footnotesize\sffamily\@orgurl}\\[72pt]\fi {\titlefont \@title}\\[30pt] {\authorfont \@author}\\[10pt] {\addressfont \strut\@address\par\strut}\\ \vfill\par {\rcdfont \ifx\@notes\@empty\relax\else\@notes\fi} \end{flushleft} \end{minipage} \vfill\par\clearpage } \long\def\author#1{\long\gdef\@author{#1}}\let\@author\@empty \long\def\address#1{\long\gdef\@address{#1}}\let\@address\@empty \long\def\notes#1{\long\gdef\@notes{#1}}\let\@notes\@empty \long\def\orgname#1{\long\gdef\@orgname{#1}}\let\@orgname\@empty \long\def\orgurl#1{\long\gdef\@orgurl{#1}}\let\@orgurl\@empty % % \pagestyle{myheadings} \def\@linkcolor{black} \def\@anchorcolor{black} \def\@citecolor{black} \def\@filecolor{black} \def\@urlcolor{black} \def\@menucolor{black} \def\@pagecolor{black} \definecolor{sgray}{rgb}{.545,.601,.650} % \IfFileExists{pdfslide.cfg}{\input pdfslide.cfg}{} %% \DeclareFontFamily{OT1}{ufr}{} \DeclareFontShape{OT1}{ufr}{m}{n}{<-> mdnr}{} \DeclareFontShape{OT1}{ufr}{m}{sl}{<-> ufrr}{} \DeclareFontShape{OT1}{ufr}{m}{it}{<-> mdni}{} \DeclareFontShape{OT1}{ufr}{b}{n}{<-> ufrb}{} \DeclareFontShape{OT1}{ufr}{bx}{n}{<-> ssub * ufr/b/n}{} \parindent=0pt