%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% mars-cds.sty V0.1 Wednesday, January 17, 2001 %% for use as an option with marslide.sty %% --------------------------------------------------------------------- %% Copyright 2000,2001 Wendy G. McKay (wgm@cds.caltech.edu) %% and Ross R. Moore (ross@maths.mq.edu.au) %% All rights reserved. %%====================================================================== %% %% 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. %% %% %% IMPORTANT COPYRIGHT NOTICE: %% %% You are allowed to distribute this file alone. %% %% Permission is granted to copy this file to another file with a %% clearly different name and to customize the declarations in that %% copy to serve the needs of your installation, provided that you %% comply with the conditions in the file legal.txt from the LaTeX2e %% distribution. %% %% However, NO PERMISSION is granted to generate or to distribute a %% modified version of this file under its original name. %% %% You are NOT ALLOWED to change this file. %% %% %% MODIFICATION ADVICE: %% %% If you want to customize this file, use a different name for your %% copy(ies) and modify the copy(ies); this will ensure that your %% modifications do not get overwritten when you install a %% new release. %% %% You can then easily distribute your modifications by distributing %% the modified and renamed copy of the source file, taking care to %% observe the conditions in legal.txt; this will ensure that other %% users can safely use your modifications. %% %% Please report errors to: Wendy G McKay %% Ross R Moore %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% USAGE: %% To set up the logos and footer options and customise colors %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\fileversion{0.1} \def\filedate{2001/01/17} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage% {mars-cds}% [\filedate\space marsden slide v\fileversion] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % INITIALISE logos for footer (mandatory) \let\LeftLogo\null \let\RightLogo\null \let\EndLogoOne\null \let\EndLogoTwo\null \def\MoveFooterUp#1{} %----------------------------------------------------------------------- % SET UP CDS FOOTERS - FOR OLD VERSIONS %========================================================% % GRAPHICS USED IN DOCUMENTATION & TEMPLATE % CITlogocolor.eps % ------------------------------------------------------ % OTHERS OPTIONAL % cdsrotisTiff.EPS, JPLlogo.eps % citlogo-mini-orange.eps, CITlogoblack.eps %========================================================% \def\CDSlogoCM{% \textcolor{darkorange}{% \huge \sf\bfseries% \,C\kern-0.25em{\lower 13pt\hbox{D}}% \kern-0.18em {\lower 2pt\hbox{S}}}} \def\CDSlogoRotis{% \textcolor{darkorange}{% \huge \sf\bfseries% \,C\kern-0.15em{\lower 13pt\hbox{D}}% \kern-0.18em {\lower 2pt\hbox{S}}}} \ifwithcm \let\CDSlogo\CDSlogoCM \else \let\CDSlogo\CDSlogoRotis \fi \def\CDSlogoROTISimage{% \includegraphics[scale=0.15]{cdsrotisTiff.EPS}} \def\CDS{%\raise 16pt\hbox {\footnotesize\sf \bfseries % \textcolor{\titlecolor}{Control and Dynamical Systems}% }} \def\Caltech{%\raise 16pt\hbox {\small \bfseries %\sf \textcolor{\titlecolor}{Caltech}% }} \def\CITlogoColorCDS{\includegraphics{CITlogocolor}\CDSlogo} \def\CITlogoBlack{\includegraphics{CITlogoblack}} \def\CIT{\includegraphics{citlogo-mini-orange}} \def\JPL{\includegraphics{JPLlogo}} \def\CITJPL{\includegraphics{CITJPLlogo}} \def\CITlogoColor{\includegraphics{CITlogocolor}} \def\CDSlogoColor{\includegraphics{cdslogo6blck-50p}} %----------------------------------------------------------------------- % PREDEFINE CDS OPTIONS TO SET UP FOOTERS IN THE MAIN DOCUMENT %----------------------------------------------------------------------- \def\SetCDSFooter{% \def\LeftLogo{\hbox{\CDSlogoColor}} \let\RightLogo\null \let\EndLogoOne\CDSlogoColor \let\EndLogoTwo\null } \def\SetCITFooter{\let\LeftLogo\CITlogoColor% \let\RightLogo\null } \def\SetCITbcdsfooter{\let\LeftLogo\CITlogoBlack \let\RightLogo\CDS } \def\SetCITcdsFooter{% \def\LeftLogo{%\hbox{\CITlogoColor}\kern-0.25em \hbox{\CDSlogo} \CDS} \let\RightLogo\Caltech \let\EndLogoOne\CITlogoColor \let\EndLogoTwo\CDSlogo } \def\SetCITJPLFooter{\let\LeftLogo\CITJPL \let\RightLogo\null \logosInFooter{}% } %====================================================================== % 2: CUSTOMIZING COLORS FOR THE SLIDES %====================================================================== % PRE-DEFINED COLOR names in marsdefs.sty % greyblue/GrayBlue/ltblue/ % orangered/darkorange/lightorange/Orange/ % webyellow/darkgreen/darkpeagreen/webpeagreen/ % seagreen/seafoamgreen/SeafoamGreen/lightpeagreen/ % firebrick/ %----------------------------- % NOTE: The color package cannot be loaded at this point, % so defining a new color needs to be delayed until later % % CUSTOM-DEFINED COLORS % Put any new definitions for color inside the \AtBeginDocument % \AtBeginDocument{% %mygreen= #339966 = RGB: 51 253 292) \definecolor{mygreen}{rgb}{0.20,0.60,0.40} \definecolor{paledullorange}{rgb}{1.00,0.80,0.60} %obscureweakblue= #000033 = RGB: 0 0 51) \definecolor{obscureweakblue}{rgb}{0.00,0.00,0.20} \definecolor{cdsbrown}{RGB}{65,12,9} \definecolor{cdspeach}{RGB}{245,210,168} \definecolor{cdsorange}{RGB}{239,140,47} \definecolor{cdsteal}{RGB}{10,80,88} \definecolor{cdsdarkblue}{RGB}{19,8,48} \definecolor{cdspaleorange}{cmyk}{0.0,0.15,0.32,0.20} } %----------------------------------------------------------------------- % These color names are the ones defined in marsdefs.sty % All these commands need to be set if this "cds" is used. %----------------------------------------------------------------------- \providecommand{\defaulttextcolor}{} \renewcommand{\defaulttextcolor}{black} \providecommand{\titlecolor}{} \renewcommand{\titlecolor}{darkorange} \providecommand{\subtitlecolor}{} \renewcommand{\subtitlecolor}{lightorange} %default darkorange \providecommand{\authorcolor}{} \renewcommand{\authorcolor}{greyblue} \providecommand{\affilcolor}{} \renewcommand{\affilcolor}{darkgreen} \providecommand{\namecolor}{} \renewcommand{\namecolor}{darkgreen} \providecommand{\defncolor}{} \renewcommand{\defncolor}{webyellow} \providecommand{\sncolor}{} \renewcommand{\sncolor}{greyblue} %default greyblue \providecommand{\ssncolor}{} \renewcommand{\ssncolor}{greyblue} \providecommand{\sssncolor}{} \renewcommand{\sssncolor}{greyblue} \providecommand{\paracolor}{} \renewcommand{\paracolor}{greyblue} \providecommand{\itemcolor}{} \renewcommand{\itemcolor}{darkorange} \providecommand{\footerbkgrndcolor}{} \renewcommand{\footerbkgrndcolor}{white}% \providecommand{\footertextcolor}{} \renewcommand{\footertextcolor}{lightorange} %default webpeagreen \providecommand{\bannertextcolor}{} \renewcommand{\bannertextcolor}{darkorange} %default webpeagreen/paledullorange/ \providecommand{\bannerrulecolor}{} \ifwithbanner %€€€€ \renewcommand{\bannerrulecolor}{greyblue} %default webpeagreen \else \renewcommand{\bannerrulecolor}{white} \fi %€€€€ \providecommand{\bannercolor}{} \ifwithbanner %€€€€ \renewcommand{\bannercolor}{black} %default greyblue/cdsdarkblue \else \renewcommand{\bannercolor}{white} \fi %€€€€ \providecommand{\bannerstripcolor}{} \renewcommand{\bannerstripcolor}{black} %default greyblue \providecommand{\urlcolor}{} \renewcommand{\urlcolor}{lightorange} \providecommand{\captioncolor}{} \renewcommand{\captioncolor}{black} \providecommand{\linecolor}{} \renewcommand{\linecolor}{greyblue} \providecommand{\arrowcolor}{} \renewcommand{\arrowcolor}{webyellow} \providecommand{\labelcolor}{} \renewcommand{\labelcolor}{webyellow} \providecommand{\commentcolor}{} \renewcommand{\commentcolor}{darkorange} %----------------------------------------------------------------------- %======================================================================= % May 16, 2001 new logo designed by Melvin Leok %======================================================================= %--REMOVE FOOTER LOGO \def\CDSlogoColor{} % DEFINE BANNER LOGOS FOR USE IN HEADERS % logo design without text \def\CDSbannerlogo{% {\lower 16pt \hbox{\includegraphics[scale=1.0]{cdslogo-ml}}}% } % logo design with text \def\CDSCITbannerlogo{% {\lower 16pt \hbox{\includegraphics[scale=1.0]{cdslogo-ml}}}% {\lower 16pt \hbox{\includegraphics[scale=1.0]{citcdstext}}}% } \AtBeginDocument{% \def\bannerlogo{\CDSCITbannerlogo}}