%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% marslide.sty V1.0a Wednesday May 16, 2001 %% V1.0a moved \framebox in MovieInsert inside the minipage 5-16-01 %% ifwithbanner and nobanner options added %% --------------------------------------------------------------------- %% Originally called: %% marsden_slides.sty V0.0.5 June 12, 2000 %%====================================================================== %% Copyright 2000 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 %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% History %% Adapted from July 12, 1999: cds-slides.sty %% Revised and renamed CDSslides2000all.sty %% May 2000 %% Revised and renamed CDSslides2000mrsed.sty %% Revised and renamed CDSmarsdenslides.sty %% (added hugefont.sty May 5, 2000) %% Revised and renamed CDSslides2000mrsed.sty %% (added rotis and lucida fonts) %% Changed to marsden_slides.sty V0.01 (May 14, 2000) %% for mRSED_Chicago_May 16, 2000 %% V0.0.2 May 26, 2000 %% V0.0.3 Added macros \pauseitem, \nopauseitem; redefine \newpage %% for color switching problems %% add \refitem %% V0.0.4 Added macros %% V0.0.5 texpower updated to version 0.8f to fix %% color stepping problems %% V0.0.6 renamed marslide.sty %% (fixed banner definitions in marsdenfontsdefcm.sty %% V0.0.7 added lucida/rotis font options %% V0.0.8 renamed marsdenfonts/marsdenfontsdefcm.sty to marsdefs.sty %% renamed marsden_slides.sty to marslide.sty %% V0.0.8a change marsdenfontsdeflucida to marsdefs %% V0.0.8a change marsdenfontsdefrotis to marsdefs %% setup hyperref to get URL hyperlinks matching in color %% V0.0.9 moved geometry to marsdefs %% V0.0.9a changes for mRSED in option package %% V0.0.9b added \Lcsrm and \SwitchVerbatimFontFamily (mRSEDdefs.sty) %% to get output when {verbatim} and \Lcs{} are used and %% to avoid missing tt font infinite loops with \verb %% V0.0.9d supressed \EndLogo... commands on \LastPage and %% \pause when Rotis Fonts are used ---causes page rotation %% if there is only one line of text %% V0.0.9e corrected \LastPagePlain error (missing \texattribs) %% V0.0.9f added the 'maxarea' option (default=false, unless TeXPower %% is used) to allow a larger area with PDF slides %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% USAGE: %% For texpower version (if the texpower macros are installed) %% \usepackage[marsdef,texpower,cm]{marslide} %% For print version %% \usepackage[marsdef]{marslide} %% Use the "notexpower" option if you do not have the texpower macros %% \usepackage[marsdef,notexpower]{marslide} %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\fileversion{1.0a} \def\filedate{2001/05/16} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage% {marslide}% [\filedate\space marslide.sty v\fileversion] %======================================================================= % DECLARE AND (EXECUTE/) PROCESS OPTIONS % \DeclareOption{noslides}{\let\ActivateSlides\relax} \DeclareOption{slides}{}%\ActivateSlides} \newif\ifmrsedop \mrsedopfalse \newif\ifwithlucida \withlucidafalse \newif\ifwithrotis \withrotisfalse \newif\ifwithcm \withcmtrue \newif\ifwithbgimage \withbgimagefalse \newif\ifwithbanner \withbannertrue %€€€€€ \DeclareOption{nobanner}{\withbannerfalse} %€€€€€ \DeclareOption{banner}{\withbannertrue} %€€€€€ %% allow a larger print-area, e.g. for PDF slides \providecommand{\print@margin}{.5in} \let\printmargin\print@margin \newif\ifmaxprintarea \maxprintareafalse \DeclareOption{maxarea}{\maxprintareatrue\let\printmargin\z@} %% allow a background image on all pages \DeclareOption{bgimage}{\withbgimagetrue} \DeclareOption{bgimages}{\withbgimagetrue} \def\TextFontname{ComputerModern} %default \def\MathFontname{ComputerModern} %default % mRSEDdefs.sty was mRSEDfontsdef.sty (9/30/00) %%\DeclareOption{mrseddefs}{% %% \def\slidepackage{mRSEDfontsdef}% was mRSEDfontsdef 9/30/00 %% \withrotistrue\mrsedoptrue %% \def\TextFontname{Rotis}% %% \def\MathFontname{Lucida}%% %% \def\slidepackage{mRSEDfontsdef} % mRSEDdefs %% \withlucidafalse\withcmfalse} %\DeclareOption{mRSEDdefs}{% \DeclareOption{mRSED}{% % \def\slidepackage{mRSEDfontsdef}% was mRSEDfontsdef 9/30/00 \PassOptionsToPackage{12pt,semiserif,slides}{lucrotis} \def\slidepackage{lucrotis}% \withrotistrue\mrsedoptrue \def\TextFontname{Rotis}% \def\MathFontname{Lucida}%% \def\slidepackage{mRSEDdefs}% \withlucidafalse\withcmfalse \let\ActivateSlides\relax } \DeclareOption{marsdefs}{\def\slidepackage{marsdefs}} % marsdenfontsdef.sty = marsdenfontsdefcm.sty (5-21-00) % = marsdefs.sty (9-24-00) \DeclareOption{lucida}{\withlucidatrue \def\TextFontname{Lucida}% \def\MathFontname{Lucida}%% \withcmfalse\withrotisfalse} \DeclareOption{rotis}{\withrotistrue \def\TextFontname{Rotis}% \def\MathFontname{Lucida}%% %\def\slidepackage{marsdefs} % was marsdenfontsdefrotis \PassOptionsToPackage{12pt,slides}{lucrotis} \withlucidafalse\withcmfalse} \DeclareOption{cm}{\withcmtrue \def\TextFontname{ComputerModern}% \def\MathFontname{ComputerModern}%% \withlucidafalse\withrotisfalse} %----------------------------- % DRAFT MODE \newif\ifdraftflag@ \draftflag@false \def\mars@draft{% \global\draftflag@true \message{Draft Mode Activated}% \logosInFooter{{\tiny Version: \VersionDate; Typeset on \today - \hhmm}}% } \DeclareOption{draft}{% \mars@appendOption{graphics}% \mars@appendOption{hyperref}% \mars@draft } \DeclareOption{final}{% \mars@appendOption{graphics}% \draftflag@false } \DeclareOption{debugshow}{% \mars@appendOption{graphicx}% \mars@appendOption{color}% \mars@appendOption{multicol}% \mars@appendOption{tabularx}% } \DeclareOption{infoshow}{% \mars@appendOption{multicol}% \mars@appendOption{tabularx}% } \newif\ifwithTeXpower \DeclareOption{texpower}{\withTeXpowertrue} \DeclareOption{notexpower}{\let\withTeXpowertrue\relax} % use the next line to always set these options if needed for mRSED %\ExecuteOptions{slides,mRSEDdefs} \def\mars@lucrotisOptions{} \def\mars@lucidabrOptions{} \def\mars@geometryOptions{} \def\mars@texpowerOptions{} %\@ifundefined{opt@texpower.sty}% % {\def\mars@texpowerOptions{fixcolorstack}}% % {\let\mars@texpowerOptions\@empty} \@ifundefined{opt@hyperref.sty}% {\def\mars@hyperrefOptions{bookmarks,bookmarksopen}}% {\let\mars@hyperrefOptions\@empty} \def\mars@verbatimOptions{} %% Declare Options for standard LaTeX packages \def\mars@amssymbOptions{} \DeclareOption{psamsfonts}{\mars@appendOption{amssymb}} \def\mars@amsmathOptions{} \DeclareOption{intlimits}{\mars@appendOption{amsmath}} \DeclareOption{nointlimits}{\mars@appendOption{amsmath}} \DeclareOption{sumlimits}{\mars@appendOption{amsmath}} \DeclareOption{nosumlimits}{\mars@appendOption{amsmath}} \DeclareOption{namelimits}{\mars@appendOption{amsmath}} \DeclareOption{nonamelimits}{\mars@appendOption{amsmath}} \DeclareOption{leqno}{\mars@appendOption{amsmath}} \DeclareOption{reqno}{\mars@appendOption{amsmath}} \DeclareOption{fleqn}{\mars@appendOption{amsmath}} \DeclareOption{centertags}{\mars@appendOption{amsmath}} \DeclareOption{tbtags}{\mars@appendOption{amsmath}} \DeclareOption{cmex10}{\mars@appendOption{amsmath}} \def\mars@graphicxOptions{} \DeclareOption{unknownkeysallowed}{\mars@appendOption{graphicx}} \DeclareOption{hiresbb}{\mars@appendOption{graphicx}} %\DeclareOption{debugshow}{\mars@appendOption{graphicx}} \DeclareOption{hiderotate}{\mars@appendOption{graphicx}} \DeclareOption{hidescale}{\mars@appendOption{graphicx}} \def\mars@colorOptions{} \DeclareOption{monochrome}{\mars@appendOption{color}} \DeclareOption{dvipsnames}{\mars@appendOption{color}} \DeclareOption{nodvipsnames}{\mars@appendOption{color}} \DeclareOption{usenames}{\mars@appendOption{color}} %\DeclareOption{debugshow}{\mars@appendOption{color}} \def\mars@verbatimOptions{} \def\mars@multicolOptions{} \DeclareOption{twocolumn}{\mars@appendOption{multicol}} \DeclareOption{errorshow}{\mars@appendOption{multicol}} %\DeclareOption{infoshow}{\mars@appendOption{multicol}} %\DeclareOption{debugshow}{\mars@appendOption{multicol}} \DeclareOption{markshow}{\mars@appendOption{multicol}} \DeclareOption{balancingshow}{\mars@appendOption{multicol}} \def\mars@tabularxOptions{} %\DeclareOption{infoshow}{\mars@appendOption{tabularx}} %\DeclareOption{debugshow}{\mars@appendOption{tabularx}} \def\mars@appendOption#1{% \expandafter\edef\csname mars@#1Options\endcsname{% \expandafter\ifx\csname mars@#1Options\endcsname\@empty\else \csname mars@#1Options\endcsname,\fi \CurrentOption}% } \def\mars@PassOptions#1{\begingroup \expandafter\ifx\csname mars@#1Options\endcsname\@empty \def\next{\endgroup}% \else \expandafter\ifx\csname mars@#1Options\endcsname\relax \def\next{\endgroup}% \else \edef\next{\endgroup\noexpand\PassOptionsToPackage {\expandafter\noexpand\csname mars@#1Options\endcsname}{#1}}% \fi\fi \next } %% TeXPower Options %\DeclareOption{verbose}{\mars@appendOption{texpower}} \DeclareOption{display}{\mars@appendOption{texpower}} \DeclareOption{robustduplicates}{\mars@appendOption{texpower}} \DeclareOption{hackwrite}{\mars@appendOption{texpower}} \DeclareOption{fixcolorstack}{\mars@appendOption{texpower}} \DeclareOption{sans}{\mars@appendOption{texpower}} \DeclareOption{slifonts}{\mars@appendOption{texpower}} \DeclareOption{coloremph}{\mars@appendOption{texpower}} \DeclareOption{colormath}{\mars@appendOption{texpower}} \DeclareOption{colorhighlight}{\mars@appendOption{texpower}} \DeclareOption{whitebackground}{\mars@appendOption{texpower}} \DeclareOption{lightbackground}{\mars@appendOption{texpower}} \DeclareOption{blackbackground}{\mars@appendOption{texpower}} \DeclareOption{darkbackground}{\mars@appendOption{texpower}} %% options to lucrotis.sty \DeclareOption{T1}{\mars@appendOption{lucrotis}} \DeclareOption{8bit}{\mars@appendOption{lucrotis}} \DeclareOption{OT1}{\mars@appendOption{lucrotis}} \DeclareOption{7bit}{\mars@appendOption{lucrotis}} \DeclareOption{seriftt}{\mars@appendOption{lucrotis}} \DeclareOption{noseriftt}{\mars@appendOption{lucrotis}} \DeclareOption{norotis}{\mars@appendOption{lucrotis}} \DeclareOption{rotisserif}{\mars@appendOption{lucrotis}} \DeclareOption{semiserif}{\mars@appendOption{lucrotis}} \DeclareOption{ssrotis}{\mars@appendOption{lucrotis}} \DeclareOption{sslucida}{\mars@appendOption{lucrotis}} \DeclareOption{10pt}{\mars@appendOption{lucrotis}} \DeclareOption{11pt}{\mars@appendOption{lucrotis}} \DeclareOption{12pt}{\mars@appendOption{lucrotis}} \DeclareOption{slides}{\mars@appendOption{lucrotis}} \DeclareOption{callig}{\mars@appendOption{lucrotis}} %\DeclareOption{calligraphic}{\mars@appendOption{lucrotis}} \DeclareOption{handw}{\mars@appendOption{lucrotis}} %\DeclareOption{handwriting}{\mars@appendOption{lucrotis}} %\DeclareOption{casual}{\mars@appendOption{lucrotis}} %% Options to hugefonts.sty \DeclareOption{serif}{\mars@appendOption{hugefonts.sty}} \DeclareOption{serifbold}{\mars@appendOption{hugefonts.sty}} %\DeclareOption{semiserif}{\mars@appendOption{hugefonts.sty}} \DeclareOption{sansserif}{\mars@appendOption{hugefonts.sty}} %% Lucida Options, not covered by lucrotis \DeclareOption{expert}{\mars@appendOption{lucibra}} \DeclareOption{noexpert}{\mars@appendOption{lucibra}} \DeclareOption{lucidascale}{\mars@appendOption{lucibra}} \DeclareOption{lucidasmallscale}{\mars@appendOption{lucibra}} \DeclareOption{nolucidascale}{\mars@appendOption{lucibra}} \DeclareOption{mathitalic1}{\mars@appendOption{lucibra}} \DeclareOption{mathitalic2}{\mars@appendOption{lucibra}} \DeclareOption{mathitalic3}{\mars@appendOption{lucibra}} \DeclareOption{vargreek}{\mars@appendOption{lucibra}} \DeclareOption{slantedgreek}{\mars@appendOption{lucibra}} \DeclareOption{uprightgreek}{\mars@appendOption{lucibra}} \DeclareOption{noamssymbols}{\mars@appendOption{lucibra}} %\DeclareOption{OT1}{\mars@appendOption{lucibra}} %\DeclareOption{T1}{\mars@appendOption{lucibra}} \DeclareOption{LY1}{\mars@appendOption{lucibra}} %\DeclareOption{seriftt}{\mars@appendOption{lucibra}} \DeclareOption{fax}{\mars@appendOption{lucibra}} \DeclareOption{casual}{\mars@appendOption{lucibra}} \DeclareOption{calligraphic}{\mars@appendOption{lucibra}} \DeclareOption{handwriting}{\mars@appendOption{lucibra}} \DeclareOption{errorshow}{\mars@appendOption{lucibra}} \DeclareOption{warningshow}{\mars@appendOption{lucibra}} \DeclareOption{nofontinfo}{\mars@appendOption{lucibra}} %% Hyperref and Geometry Options \DeclareOption{a4paper}{% \mars@appendOption{hyperref}% \mars@appendOption{geometry}% } \DeclareOption{a5paper}{% \mars@appendOption{hyperref}% \mars@appendOption{geometry}% } \DeclareOption{b5paper}{% \mars@appendOption{hyperref}% \mars@appendOption{geometry}% } \DeclareOption{letterpaper}{% \mars@appendOption{hyperref}% \mars@appendOption{geometry}% } \DeclareOption{legalpaper}{% \mars@appendOption{hyperref}% \mars@appendOption{geometry}% } \DeclareOption{executivepaper}{% \mars@appendOption{hyperref}% \mars@appendOption{geometry}% } \DeclareOption{verbose}{% \mars@appendOption{hyperref}% \mars@appendOption{geometry}% \mars@appendOption{texpower}% } %% Geometry Options \DeclareOption{a0paper}{\mars@appendOption{geometry}} \DeclareOption{a1paper}{\mars@appendOption{geometry}} \DeclareOption{a2paper}{\mars@appendOption{geometry}} \DeclareOption{a3paper}{\mars@appendOption{geometry}} %\DeclareOption{a4paper}{\mars@appendOption{geometry}} %\DeclareOption{a5paper}{\mars@appendOption{geometry}} \DeclareOption{a6paper}{\mars@appendOption{geometry}} \DeclareOption{b0paper}{\mars@appendOption{geometry}} \DeclareOption{b1paper}{\mars@appendOption{geometry}} \DeclareOption{b2paper}{\mars@appendOption{geometry}} \DeclareOption{b3paper}{\mars@appendOption{geometry}} \DeclareOption{b4paper}{\mars@appendOption{geometry}} %\DeclareOption{b5paper}{\mars@appendOption{geometry}} \DeclareOption{b6paper}{\mars@appendOption{geometry}} %%%\DeclareOption{paper}{\mars@appendOption{geometry}} %%%\DeclareOption{papersize}{\mars@appendOption{geometry}} %%%\DeclareOption{paperwidth}{\mars@appendOption{geometry}} %%%\DeclareOption{paperheight}{\mars@appendOption{geometry}} %%%\DeclareOption{total}{\mars@appendOption{geometry}} %%%\DeclareOption{width}{\mars@appendOption{geometry}} %%%\DeclareOption{height}{\mars@appendOption{geometry}} %%%\DeclareOption{body}{\mars@appendOption{geometry}} %%%\DeclareOption{textwidth}{\mars@appendOption{geometry}} %%%\DeclareOption{textheight}{\mars@appendOption{geometry}} %%%\DeclareOption{scale}{\mars@appendOption{geometry}} %%%\DeclareOption{hscale}{\mars@appendOption{geometry}} %%%\DeclareOption{vscale}{\mars@appendOption{geometry}} %%%\DeclareOption{margin}{\mars@appendOption{geometry}} %%%\DeclareOption{hmargin}{\mars@appendOption{geometry}} %%%\DeclareOption{vmargin}{\mars@appendOption{geometry}} %%%\DeclareOption{lmargin}{\mars@appendOption{geometry}} %%%\DeclareOption{rmargin}{\mars@appendOption{geometry}} %%%\DeclareOption{tmargin}{\mars@appendOption{geometry}} %%%\DeclareOption{bmargin}{\mars@appendOption{geometry}} %%%\DeclareOption{divide}{\mars@appendOption{geometry}} %%%\DeclareOption{hdivide}{\mars@appendOption{geometry}} %%%\DeclareOption{vdivide}{\mars@appendOption{geometry}} %%%\DeclareOption{offset}{\mars@appendOption{geometry}} %%%\DeclareOption{hoffset}{\mars@appendOption{geometry}} %%%\DeclareOption{voffset}{\mars@appendOption{geometry}} %%%\DeclareOption{headheight}{\mars@appendOption{geometry}} %%%\DeclareOption{headsep}{\mars@appendOption{geometry}} %%%\DeclareOption{footskip}{\mars@appendOption{geometry}} %%%\DeclareOption{marginparwidth}{\mars@appendOption{geometry}} %%%\DeclareOption{marginparsep}{\mars@appendOption{geometry}} %%%\DeclareOption{columnsep}{\mars@appendOption{geometry}} %%%\DeclareOption{footnotesep}{\mars@appendOption{geometry}} %%%\DeclareOption{mag}{\mars@appendOption{geometry}} \DeclareOption{reset}{\mars@appendOption{geometry}} \DeclareOption{includemp}{\mars@appendOption{geometry}} \DeclareOption{reversemp}{\mars@appendOption{geometry}} \DeclareOption{reversemarginpar}{\mars@appendOption{geometry}} \DeclareOption{twoside}{\mars@appendOption{geometry}} \DeclareOption{twosideshift}{\mars@appendOption{geometry}} \DeclareOption{nohead}{\mars@appendOption{geometry}} \DeclareOption{nofoot}{\mars@appendOption{geometry}} \DeclareOption{noheadfoot}{\mars@appendOption{geometry}} \DeclareOption{landscape}{\mars@appendOption{geometry}} \DeclareOption{portrait}{\mars@appendOption{geometry}} \DeclareOption{truedimen}{\mars@appendOption{geometry}} %% Hyperref Options \DeclareOption{implicit}{\mars@appendOption{hyperref}} \DeclareOption{debug}{\mars@appendOption{hyperref}} %\DeclareOption{verbose}{\mars@appendOption{hyperref}} \DeclareOption{linktocpage}{\mars@appendOption{hyperref}} \DeclareOption{typexml}{\mars@appendOption{hyperref}} \DeclareOption{breaklinks}{\mars@appendOption{hyperref}} \DeclareOption{raiselinks}{\mars@appendOption{hyperref}} \DeclareOption{pageanchor}{\mars@appendOption{hyperref}} \DeclareOption{plainpages}{\mars@appendOption{hyperref}} \DeclareOption{naturalnames}{\mars@appendOption{hyperref}} \DeclareOption{hypertexnames}{\mars@appendOption{hyperref}} \DeclareOption{nesting}{\mars@appendOption{hyperref}} \DeclareOption{unicode}{\mars@appendOption{hyperref}} \DeclareOption{hyperfigures}{\mars@appendOption{hyperref}} \DeclareOption{hyperfootnotes}{\mars@appendOption{hyperref}} \DeclareOption{hyperindex}{\mars@appendOption{hyperref}} \DeclareOption{backref}{\mars@appendOption{hyperref}} \DeclareOption{pagebackref}{\mars@appendOption{hyperref}} \DeclareOption{colorlinks}{\mars@appendOption{hyperref}} \DeclareOption{frenchlinks}{\mars@appendOption{hyperref}} \DeclareOption{bookmarks}{\mars@appendOption{hyperref}} \DeclareOption{bookmarksopen}{\mars@appendOption{hyperref}} %%%\DeclareOption{bookmarksopenlevel}{\mars@appendOption{hyperref}} %%%\DeclareOption{bookmarkstype}{\mars@appendOption{hyperref}} \DeclareOption{bookmarksnumbered}{\mars@appendOption{hyperref}} \DeclareOption{CJKbookmarks}{\mars@appendOption{hyperref}} %%%\DeclareOption{linkcolor}{\mars@appendOption{hyperref}} %%%\DeclareOption{linkbordercolor}{\mars@appendOption{hyperref}} %%%\DeclareOption{anchorcolor}{\mars@appendOption{hyperref}} %%%\DeclareOption{citecolor}{\mars@appendOption{hyperref}} %%%\DeclareOption{citebordercolor}{\mars@appendOption{hyperref}} %%%\DeclareOption{urlcolor}{\mars@appendOption{hyperref}} %%%\DeclareOption{urlbordercolor}{\mars@appendOption{hyperref}} %%%\DeclareOption{menucolor}{\mars@appendOption{hyperref}} %%%\DeclareOption{menubordercolor}{\mars@appendOption{hyperref}} %%%\DeclareOption{filecolor}{\mars@appendOption{hyperref}} %%%\DeclareOption{runbordercolor}{\mars@appendOption{hyperref}} %%%\DeclareOption{pagecolor}{\mars@appendOption{hyperref}} %%%\DeclareOption{pagebordercolor}{\mars@appendOption{hyperref}} %%%\DeclareOption{baseurl}{\mars@appendOption{hyperref}} %%%\DeclareOption{linkfileprefix}{\mars@appendOption{hyperref}} %%%\DeclareOption{pdfpagetransition}{\mars@appendOption{hyperref}} %%%\DeclareOption{pdfpageduration}{\mars@appendOption{hyperref}} %%%\DeclareOption{pdfhighlight}{\mars@appendOption{hyperref}} %%%\DeclareOption{pdfborder}{\mars@appendOption{hyperref}} %%%\DeclareOption{pdfpagemode}{\mars@appendOption{hyperref}} %%%\DeclareOption{pdftitle}{\mars@appendOption{hyperref}} %%%\DeclareOption{pdfauthor}{\mars@appendOption{hyperref}} %%%\DeclareOption{pdfproducer}{\mars@appendOption{hyperref}} %%%\DeclareOption{pdfcreator}{\mars@appendOption{hyperref}} %%%\DeclareOption{pdfsubject}{\mars@appendOption{hyperref}} %%%\DeclareOption{pdfkeywords}{\mars@appendOption{hyperref}} %%%\DeclareOption{pdfview}{\mars@appendOption{hyperref}} %%%\DeclareOption{linkmargin}{\mars@appendOption{hyperref}} %%%\DeclareOption{pdfstartpage}{\mars@appendOption{hyperref}} %%%\DeclareOption{pdfstartview}{\mars@appendOption{hyperref}} %%%\DeclareOption{pdfpagescrop}{\mars@appendOption{hyperref}} \DeclareOption{pdfpagehidden}{\mars@appendOption{hyperref}} \DeclareOption{pdftoolbar}{\mars@appendOption{hyperref}} \DeclareOption{pdfmenubar}{\mars@appendOption{hyperref}} \DeclareOption{pdfwindowui}{\mars@appendOption{hyperref}} \DeclareOption{pdfcenterwindow}{\mars@appendOption{hyperref}} \DeclareOption{pdffitwindow}{\mars@appendOption{hyperref}} \DeclareOption{pdfnewwindow}{\mars@appendOption{hyperref}} %%%\DeclareOption{pdfpagelayout}{\mars@appendOption{hyperref}} \DeclareOption{pdfpagelabels}{\mars@appendOption{hyperref}} %%%\DeclareOption{action}{\mars@appendOption{hyperref}}%%% Form %%%\DeclareOption{encoding}{\mars@appendOption{hyperref}}%%% Form %%%\DeclareOption{method}{\mars@appendOption{hyperref}}%%% Form %%% Field%%%\DeclareOption{loc}{\mars@appendOption{hyperref}} %%% Field%\DeclareOption{multiline}{\mars@appendOption{hyperref}} %%% Field%\DeclareOption{checked}{\mars@appendOption{hyperref}} %%% Field%\DeclareOption{hidden}{\mars@appendOption{hyperref}} %%% Field%\DeclareOption{readonly}{\mars@appendOption{hyperref}} %%% Field%\DeclareOption{disabled}{\mars@appendOption{hyperref}} %%% Field%\DeclareOption{password}{\mars@appendOption{hyperref}} %%% Field%\DeclareOption{radio}{\mars@appendOption{hyperref}} %%% Field%\DeclareOption{combo}{\mars@appendOption{hyperref}} %%% Field%\DeclareOption{popdown}{\mars@appendOption{hyperref}} \DeclareOption{english}{\mars@appendOption{hyperref}} \DeclareOption{UKenglish}{\mars@appendOption{hyperref}} \DeclareOption{british}{\mars@appendOption{hyperref}} \DeclareOption{USenglish}{\mars@appendOption{hyperref}} \DeclareOption{american}{\mars@appendOption{hyperref}} \DeclareOption{austrian}{\mars@appendOption{hyperref}} \DeclareOption{german}{\mars@appendOption{hyperref}} \DeclareOption{ngerman}{\mars@appendOption{hyperref}} \DeclareOption{spanish}{\mars@appendOption{hyperref}} \def\mars@prefix{mars-} \def\mars@suffix{sty} \def\mars@loaded{\typeout{Marslide: loading customisation package: \mars@varoption ... }} \def\mars@notloaded{\typeout{Marslide: unknown option '\CurrentOption' or customisation package \mars@varoption\space\space not found}} \DeclareOption*{% \edef\mars@varoption{\mars@prefix\CurrentOption}% \IfFileExists{\mars@varoption.\mars@suffix}% {\expandafter\ifx\csname slidepackage\endcsname\relax \edef\slidepackage{\mars@varoption}% \else \input{\mars@varoption.\mars@suffix}% \fi }% \mars@notloaded\relax } % \ProcessOptions %process in the order declared above % Pass options to the other packages that will be loaded \mars@PassOptions{lucrotis} \mars@PassOptions{lucidabr} \mars@PassOptions{hyperref} \mars@PassOptions{geometry} \mars@PassOptions{amssymb} \mars@PassOptions{amsmath} \mars@PassOptions{color} \mars@PassOptions{graphicx} \mars@PassOptions{verbatim} \mars@PassOptions{multicol} \mars@PassOptions{tabularx} %======================================================================= % LOAD PACKAGES % \usepackage{amssymb, amsmath} \usepackage{graphicx} \usepackage{color} \usepackage{verbatim} \usepackage{multicol,tabularx} \expandafter\ifx\csname pdfoutput\endcsname\relax \usepackage{hyperref} \else \usepackage[pdftex]{hyperref} \fi \ifwithbgimage \usepackage{eso-pic} \newdimen\bgimage@height \newdimen\bgimage@width \fi %--------------------------------------------------------------------- %--2000-09-28 -put geometry pkg in the marsdefs.sty & mRSEDdefs.sty %--------------------------------------------------------------------- \ifwithrotis \usepackage[semiserif]{hugefonts} \else \ifwithlucida \usepackage[serif]{hugefonts} \else \ifwithcm \usepackage[serifbold]{hugefonts} \else \fi \fi \fi \IfFileExists{bgimages.sty}{\withbgimagetrue\RequirePackage{bgimages}}{% %% %% Background Images %% \providecommand{\backgroundimage}{% \ifwithbgimage\expandafter\backgroundimage@ \else\bgimage@error\fi} \providecommand{\scaledbgimage}{% \ifwithbgimage\expandafter\scaledbgimage@ \else\scaledbgimage@error\fi} \providecommand{\clearbgimages}{% \ifwithbgimage\ClearShipoutPicture\fi} \providecommand{\bgimage@error}[2][]{\bgimage@message} \providecommand{\scaledbgimage@error}[3][]{\bgimage@message} \providecommand{\bgimage@message}{% \errmessage{ *** background images using \string\backgroundimage\spac or \string\scaledbgimage\space^^J *** require the 'bgimage' option to the 'marslide' package^^J *** which needs the 'everyshi' and 'eso-pic' packages to be available.^^J}} \providecommand{\backgroundimage@}[1][V]{\bgroup\def\bgoption{##1}% \def\tmp{V}\ifx\tmp\bgoption\aftergroup\bgVimage\else \def\tmp{Vl}\ifx\tmp\bgoption\aftergroup\bgVLimage\else \def\tmp{Vr}\ifx\tmp\bgoption\aftergroup\bgVRimage\else \def\tmp{H}\ifx\tmp\bgoption\aftergroup\bgHimage\else \def\tmp{Ht}\ifx\tmp\bgoption\aftergroup\bgHTimage\else \def\tmp{Hb}\ifx\tmp\bgoption\aftergroup\bgHBimage\else \def\tmp{VH}\ifx\tmp\bgoption\aftergroup\bgVHimage\else \def\tmp{HV}\ifx\tmp\bgoption\aftergroup\bgVHimage\else \def\tmp{l}\ifx\tmp\bgoption\aftergroup\bgPLimage\else \def\tmp{r}\ifx\tmp\bgoption\aftergroup\bgPRimage\else \def\tmp{t}\ifx\tmp\bgoption\aftergroup\bgPTimage\else \def\tmp{b}\ifx\tmp\bgoption\aftergroup\bgPBimage\else \def\tmp{}\ifx\tmp\bgoption\aftergroup\bgPlainImage\else \aftergroup\bgPlainImage \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\egroup } \providecommand{\scaledbgimage@}[1][]{\bgroup\def\bgoption{##1}% \def\tmp{l}\ifx\tmp\bgoption\aftergroup\bgSLimage\else \def\tmp{r}\ifx\tmp\bgoption\aftergroup\bgSRimage\else \def\tmp{t}\ifx\tmp\bgoption\aftergroup\bgSTimage\else \def\tmp{b}\ifx\tmp\bgoption\aftergroup\bgSBimage\else \def\tmp{lt}\ifx\tmp\bgoption\aftergroup\bgLTimage\else \def\tmp{tl}\ifx\tmp\bgoption\aftergroup\bgLTimage\else \def\tmp{rt}\ifx\tmp\bgoption\aftergroup\bgRTimage\else \def\tmp{tr}\ifx\tmp\bgoption\aftergroup\bgRTimage\else \def\tmp{lb}\ifx\tmp\bgoption\aftergroup\bgLBimage\else \def\tmp{bl}\ifx\tmp\bgoption\aftergroup\bgLBimage\else \def\tmp{rb}\ifx\tmp\bgoption\aftergroup\bgRBimage\else \def\tmp{br}\ifx\tmp\bgoption\aftergroup\bgRBimage\else \def\tmp{}\ifx\tmp\bgoption\aftergroup\bgScaledImage\else \aftergroup\bgScaledImage \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\egroup } % scaled vertically, centered horizontally \providecommand{\bgVimage}{\bgVimage@{}{}{}{}} % scaled vertically, left/right-aligned \providecommand{\bgVLimage}{\bgVimage@{}{}{}\hfill} \providecommand{\bgVRimage}{\bgVimage@{}{}\hfill{}} \providecommand{\bgVimage@}[4]{% scaled vertically \addbgimage@i{to\bgimage@height}{##1}{##2}% {to\bgimage@width}{##3}{##4}% {[height=\bgimage@height]}% } % scaled horizontally, centered vertically \providecommand{\bgHimage}{\bgHimage@{}{}{}{}} % scaled horizontally, top/bottom-aligned \providecommand{\bgHTimage}{\bgHimage@{}\vfill{}{}} \providecommand{\bgHBimage}{\bgHimage@\vfill{}{}{}} \providecommand{\bgHimage@}[4]{% scaled horizontally \addbgimage@i{to\bgimage@height}{##1}{##2}% {to\bgimage@width}{##3}{##4}{[width=\bgimage@width]}% } \providecommand{\bgVHimage}{% scaled vertically, centered horizontally \addbgimage@i{to\bgimage@height}{}{}% {to\bgimage@width}{}{}% {[height=\bgimage@height,width=\bgimage@width]}% } \providecommand{\bgPlainImage}{\bgPlainImage@{}{}{}{}1}% \providecommand{\bgPLimage}{\bgPlainImage@{}{}{}\hfill 1}% \providecommand{\bgPRimage}{\bgPlainImage@{}{}\hfill{}1}% \providecommand{\bgPTimage}{\bgPlainImage@{}\vfill{}{}1}% \providecommand{\bgPBimage}{\bgPlainImage@\vfill{}{}{}1}% \providecommand{\bgScaledImage}{\bgPlainImage@{}{}{}{}}% \providecommand{\bgSLimage}{\bgPlainImage@{}{}{}\hfill}% \providecommand{\bgSRimage}{\bgPlainImage@{}{}\hfill{}}% \providecommand{\bgSTimage}{\bgPlainImage@{}\vfill{}{}}% \providecommand{\bgSBimage}{\bgPlainImage@\vfill{}{}{}}% \providecommand{\bgLTimage}{\bgPlainImage@{}\vfill{}\hfill}% \providecommand{\bgRTimage}{\bgPlainImage@{}\vfill\hfill{}}% \providecommand{\bgLBimage}{\bgPlainImage@\vfill{}{}\hfill}% \providecommand{\bgRBimage}{\bgPlainImage@\vfill{}\hfill{}}% \providecommand{\bgPlainImage@}[5]{% natural/scaled size \addbgimage@i{to\bgimage@height}{##1}{##2}% {to\bgimage@width}{##3}{##4}{[scale=##5]}% } \providecommand{\addbgimage@i}[8]{% \AddToShipoutPicture{\addbgimage@{##1}{##2}{##3}{##4}{##5}{##6}{##7}{##8}}} \providecommand{\addbgimage@@}[8]{\bgroup\setbox0=\hbox{% % \bgimage@height=\textheight \advance\bgimage@height\footskip\relax \ifx\printmargin\@empty\else\raise\printmargin\relax\fi \vbox##1{##2\vss %\bgimage@width=\textwidth \hbox to\paperwidth{\hfil\hbox to\bgimage@width{\hss \hbox##4{##5\hss\includegraphics##7{##8}##6\hss}\hss}\hfil}% ##3\vss}}\wd0\z@ \ht0\z@ \dp0\z@ \box0\egroup}% \providecommand{\pause@bgimage}[8]{} \providecommand{\pausebgimages}{\let\addbgimage@\pause@bgimage} \providecommand{\unpausebgimages}{\let\addbgimage@\addbgimage@@} \unpausebgimages \AtBeginDocument{\global\bgimage@height=\textheight \global\advance\bgimage@height\footskip\relax} \AtBeginDocument{\global\bgimage@width=\textwidth \ifx\insidemargin\@empty\else\global\advance\bgimage@width by\insidemargin\relax\fi \ifx\insidemargin\@empty\else\global\advance\bgimage@width by\insidemargin\relax\fi} % }%% end of bgimages code. % Only two layout package options have been customized for marslide.sty % mRSEDdefs (uses Lucida and Rotis) % marsdefs (uses Lucida or CM) \def\mars@package@error{% \typeout{ *** The package \slidepackage.sty could not be found, using marsdefs.sty instead.}} \AtBeginDocument\ActivateSlides \expandafter\ifx \csname slidepackage\endcsname\relax \def\slidepackage{marsdefs} \else \IfFileExists{\slidepackage.sty}{} {\mars@package@error\def\slidepackage{marsdefs}} \fi \usepackage{\slidepackage} %----------------------------------------------------------------------- \providecommand{\bfi}{\bfseries\itshape} %----------------------------- % LaTeX CONTROL SEQUENCE \providecommand{\Lcs}[1]{{\upshape\texttt{\symbol{92}#1}}} \providecommand{\Lcsrm}[1]{{\upshape\symbol{92}#1}} %----------------------------------------------------------------------- \providecommand{\pauseitem}{\pause\item} \def\nopauseitem{\item} % LISTS OF REFERENCES should not include \pause % USE \refitem in the description environment \def\refitem{\par\itemBulletLarge} % %----------------------------------------------------------------------- \makeatletter %----------------------------------------------------------------------- % LOGOS AND FOOTER \let\LeftLogo\null \let\RightLogo\null \let\EndLogoOne\null \let\EndLogoTwo\null %----------------------------- \def\MoveFooterUp#1{% move it up by #1 \addtolength{\textheight}{\ifx-#1\else-#1\fi}% \addtolength{\footskip}{#1}% } \let\ShrinkTextHeightBy\MoveFooterUp \def\ExpandTextHeightBy#1{\MoveFooterUp{-#1}} %----------------------------- \newif\ifplainfooterflag@ \plainfooterflag@false \def\SetPlainFooter{\let\LeftLogo\null \let\RightLogo\null \MoveFooterUp{-0.25in}% \logosInFooter{}% \plainfooterflag@true% } %----------------------------------------------------------------------- % MOVIE PAGE % 7/9/99 \newcommand{\MoviePage}[1]{% \null \vfill \begin{center} \MovieInsert{#1} \end{center} \vfill \null } %----------------------------------------------------------------------- % MOVIE INSERT % created 7/9/99; updated 5-16-00 (move \framebox inside minipage) \newcommand{\MovieInsert}[1]{\vspace{5 mm}\par \noindent \begin{minipage}[c]{0.5 \textwidth} \begin{center} \framebox{\sl #1} \end{center} \end{minipage} \vspace{5 mm}\par} \newcommand{\mycomment}[1]{\par\noindent{\raggedright\texttt{#1} \par\marginpar{\textsc{Comment}}}} % \renewcommand{\comment}[1]{} % \renewcommand{\todo}[1]{} %---------------------------------------------------------- % DINGBATS FOR ITEMIZED LISTS \newcommand{\Squarehuge} {\textcolor{\itemcolor}{% \hbox to 28.3pt{\hss\huge $\blacksquare$}{\huge \,}}} \newcommand{\SquareLARGE}{\textcolor{\itemcolor}{% \hbox to 28.3pt{\hss\LARGE $\blacksquare$}{\huge \,}}} \newcommand{\SquareLarge}{\textcolor{\itemcolor}{% \hbox to 28.3pt{\hss\Large $\blacksquare$}{\huge \,}}} \newcommand{\Squarelarge}{\textcolor{\itemcolor}{% \hbox to 28.3pt{\hss\large $\blacksquare$}{\huge \,}}} \newcommand{\Sqhuge} {\textcolor{\itemcolor}{% \hbox to 28.3pt{\hss\huge $\square$}{\huge \,}}} \newcommand{\SqLARGE}{\textcolor{\itemcolor}{% \hbox to 28.3pt{\hss\LARGE $\square$}{\huge \,}}} \newcommand{\SqLarge}{\textcolor{\itemcolor}{% \hbox to 28.3pt{\hss\Large $\square$}{\huge \,}}} \newcommand{\Sqlarge}{\textcolor{\itemcolor}{% \hbox to 28.3pt{\hss\large $\square$}{\huge \,}}} \newcommand{\Bullethuge} {\textcolor{\itemcolor}{% \hbox to 28.3pt{\hss\huge $\bullet$}{\huge \,}}} \newcommand{\BulletLARGE}{\textcolor{\itemcolor}{% \hbox to 28.3pt{\hss\LARGE $\bullet$}{\huge \,}}} \newcommand{\BulletLarge}{\textcolor{\itemcolor}{% \hbox to 28.3pt{\hss\Large $\bullet$}{\huge \,}}} \newcommand{\Bulletlarge}{\textcolor{\itemcolor}{% \hbox to 28.3pt{\hss\large $\bullet$}{\huge \,}}} \newcommand{\Circhuge} {\textcolor{\itemcolor}{% \hbox to 28.3pt{\hss\huge $\circ$}{\huge \,}}} \newcommand{\CircLARGE}{\textcolor{\itemcolor}{% \hbox to 28.3pt{\hss\LARGE $\circ$}{\huge \,}}} \newcommand{\CircLarge}{\textcolor{\itemcolor}{% \hbox to 28.3pt{\hss\Large $\circ$}{\huge \,}}} \newcommand{\Circlarge}{\textcolor{\itemcolor}{% \hbox to 28.3pt{\hss\large $\circ$}{\huge \,}}} \newcommand{\sectiondingbat}{\Squarehuge} \newcommand{\subsectiondingbat}{\SquareLARGE} \newcommand{\subsubsectiondingbat}{\SquareLarge} \newcommand{\paragraphdingbat}{\Squarelarge} \newcommand{\SlideSection}[1]{\medskip% \refstepcounter{section}% \noindent\textcolor{\itemcolor}{\sectiondingbat}% \textcolor{\sncolor}{\huge\sl #1}\medskip} \newcommand{\SlideSubSection}[1]{\smallskip% \refstepcounter{subsection}% \noindent\textcolor{\itemcolor}{\subsectiondingbat}% \textcolor{\ssncolor}{\LARGE\sl #1}} \newcommand{\SlideSubSubSection}[1]{\smallskip% \refstepcounter{subsubsection}% \noindent\textcolor{\itemcolor}{\subsubsectiondingbat}% \textcolor{\ssncolor}{\Large\sl #1}} \newcommand{\SlideParagraph}[1]{\smallskip% \refstepcounter{paragraph}% \noindent\textcolor{\itemcolor}{\paragraphdingbat}% \textcolor{\ssncolor}{\large\sl #1}} \newcommand{\itemSquarehuge} {% \item[\textcolor{\itemcolor}{\huge $\blacksquare$}]} \newcommand{\itemSquareLARGE}{% \item[\textcolor{\itemcolor}{\LARGE $\blacksquare$}]} \newcommand{\itemSquareLarge}{% \item[\textcolor{\itemcolor}{\Large $\blacksquare$}]} \newcommand{\itemSquarelarge}{% \item[\textcolor{\itemcolor}{\large $\blacksquare$}]} \newcommand{\itemSqhuge} {% \item[\textcolor{\itemcolor}{\huge $\square$}]} \newcommand{\itemSqLARGE}{% \item[\textcolor{\itemcolor}{\LARGE $\square$}]} \newcommand{\itemSqLarge}{% \item[\textcolor{\itemcolor}{\Large $\square$}]} \newcommand{\itemSqlarge}{% \item[\textcolor{\itemcolor}{\large $\square$}]} \newcommand{\itemBullethuge} {% \item[\textcolor{\itemcolor}{\huge $\bullet$}]} \newcommand{\itemBulletLARGE}{% \item[\textcolor{\itemcolor}{\LARGE $\bullet$}]} \newcommand{\itemBulletLarge}{% \item[\textcolor{\itemcolor}{\Large $\bullet$}]} \newcommand{\itemBulletlarge}{% \item[\textcolor{\itemcolor}{\large $\bullet$}]} \newcommand{\itemCirchuge} {% \item[\textcolor{\itemcolor}{\huge $\circ$}]} \newcommand{\itemCircLARGE}{% \item[\textcolor{\itemcolor}{\LARGE $\circ$}]} \newcommand{\itemCircLarge}{% \item[\textcolor{\itemcolor}{\Large $\circ$}]} \newcommand{\itemCirclarge}{% \item[\textcolor{\itemcolor}{\large $\circ$}]} %----------------------------------------------------------------------- % COLORS FOR EMPHASIS. DEFINED WORDS, % FIGURE LABELS/COMMENTS/OUTLINE/ARROW/LINES \newcommand{\TextCbfi}[1]{\textcolor{\defncolor}{\bfi #1\/}} \newcommand{\TextCname}[1]{% \noindent\textcolor{\namecolor}{\Large\sl #1\/}} \let\TextCName\TextCname \newcommand{\TextCbf}[1]{\textcolor{\defncolor}{\bf #1}} \newcommand{\TextCit}[1]{\textcolor{\defncolor}{\it #1\/}} \newcommand{\TextCline}[1]{\textcolor{\linecolor}{\bf #1\/}} \newcommand{\TextCarrow}[1]{\textcolor{\arrowcolor}{\bf #1\/}} \newcommand{\TextClabel}[1]{\textcolor{\labelcolor}{\bf #1\/}} \newcommand{\TextCcomment}[1]{\textcolor{\commentcolor}{\bf #1\/}} \newcommand{\TextCoutline}[1]{\textcolor{\outlinecolor}{\bf #1\/}} \newcommand{\TextCm}[1]{\textcolor{\mcolor}{bf #1\/}} \newcommand{\TextCurl}[1]{\textcolor{\urlcolor}{#1}} \newcommand{\TextCcaption}[1]{\textcolor{\captioncolor}{{\large #1}}} % next two lines were used in the mRSED Chicago version May 2000 %\def\TextCurl#1{\textcolor{\urlcolor}{#1}} %\def\TextCcaption#1{\textcolor{\captioncolor}{{\large #1}}} %----------------------------------------------------------------------- % THEOREM ENVIRONMENTS \newtheorem{theorem}{Theorem} \newtheorem{definition}{Definition} \newtheorem{lemma}{Lemma}[section] \newtheorem{proposition}{Proposition}[section] \newtheorem{corrollary}{Corollary}[section] %----------------------------------------------------------------------- % MACROS %----------------------------- % DRAFT & VERSION DATE \def\SetVersionDate#1{\gdef\@SetVersionDate{#1}} \def\@SetVersionDate{\@latex@error{No \noexpand\SetVersionDate given}\@ehc} \SetVersionDate{\today} \gdef\VersionDate{\@SetVersionDate} %----------------------------- %\newif\ifdraftflag@ %\draftflag@false %\def\mars@draft{% % \global\draftflag@true % \message{Draft Mode Activated}% % \logosInFooter{{\tiny Version: % \VersionDate; Typeset on \today - \hhmm}}% %} \def\Draft{\mars@draft}% \def\logosInFooter#1{% \def\@oddfoot{\small\upshape{% \LeftLogo \hfill \textcolor{\footertextcolor}{#1}% \hfill \RightLogo}}% \def\@evenfoot{\small\upshape{% \LeftLogo \hfill \textcolor{\footertextcolor}{#1}% \hfill \RightLogo}}% } %----------------------------- % TIME \def\hhmm{\count1=\time % current time in minutes after 00:00 \count2=\count1 % count2 contains time in minutes \divide \count1 by 60 % count1 contains hh in hours \count3=\count1 % count3 contains hh in hours \multiply \count1 by 60 % count1 contains hh in minutes \advance\count2 by -\count1 % count2 contains mm in minutes % do NOT put a space after<\advance> \number\count3 :% % print hours \ifnum\count2>9 \else 0\fi \number\count2 % print minutes } %----------------------------- \def\intprod{\mathbin{\hbox to 12pt{% \vrule height0.8pt width10pt depth0pt \kern-.4pt \vrule height12pt width0.8pt depth0pt\hss}}} \def\thinspace{\,} %----------------------------- % FIGURES \def\fps@figure{h, t} \def\fnum@figure{\Large{\sc Figure~}\thefigure} %----------------------------- % ATTRIBUTIONS % This macro sometimes causes font overloads % with lucrotis.sty and typsetting stops with the message; % ! Font T1/pr1/m/it/12=prori8t at 12.0pt not loaded: % Not enough room left. % However, with cm fonts, typesetting continues without a warning % and a pause in the TeX Log file % but \textsc{} is lost anyway!! % -------------- \def\texattribs{% \typeout{*****Printing texattribs} \vfill \begin{center} \parbox{0.8\textwidth}{%\sf% \begin{tiny} \textsc{Typesetting Software:\ } \TeX, \textit{Textures}, \LaTeX, \texttt{\upshape hyperref}, \texttt{\upshape texpower}, \textrm{Adobe Acrobat 4.05}% \ifmoreattribs@ \\ \moreattribs@\endgraf \fi \end{tiny} }% \end{center} } \def\onlytexattribs{\moreattribs@false} %----------------------------- \newif\ifmoreattribs@ \moreattribs@true \def\WARMattribs{\textsc{{\LaTeX} Slide Macro Packages:} Wendy McKay, Ross Moore} \def\illusattribs{% \textsc{Illustrations:} {\textit{Adobe Illustrator 8.1}\\ \WARMattribs}\endgraf }% \def\moreattribs@{\illusattribs} \long\def\moreattribs#1{% \moreattribs@true \def\moreattribs@{#1\\ \WARMattribs}% } %----------------------------- % HYPERREF Load hyperref Version 2000/05/08 v6.70f or later % removes the outline on hyperlinks in the PDF file % and sets the color of the text for the hyperlink % \providecommand{\urlcolor}{blue} \providecommand{\linkcolor}{\urlcolor} \providecommand{\filecolor}{\urlcolor} \providecommand{\anchorcolor}{black} %% ... in case these haven't already been set \@ifundefined{hypersetup}% {\def\marshypercfg#1{\usepackage[#1]{hyperref}}}% {\def\marshypercfg{\hypersetup}} \marshypercfg{colorlinks ,linkcolor=\linkcolor ,urlcolor=\urlcolor ,filecolor=\filecolor ,anchorcolor=\anchorcolor} %----------------------------- % TEXPOWER % include TeXPower macros for \stepwise effects \ifwithTeXpower \usepackage[display,fixcolorstack]{texpower} \else \ifx\withTeXpowertrue\relax \let\pause\relax \else\usepackage{texpower} \fi \fi % Redefine "Color definitions for white background" in texpower.sty % There are other (dimmed/enhanced) color definitions in texpower. % added 2000-09-27, modified last line 2000-10-01 \AtBeginDocument{\@ifundefined{whitebackground}{}{% \definecolor{pagecolor@whitebg}{rgb}{1,1,1}% \definecolor{textcolor@whitebg}{rgb}{0,0,0.0}% \definecolor{emcolor@whitebg}{rgb}{0,0,0.8}% \definecolor{altemcolor@whitebg}{rgb}{0,0.5,0.8}% \definecolor{mathcolor@whitebg}{rgb}{0,0.5,0}% \definecolor{codecolor@whitebg}{rgb}{0,0.5,0}% \definecolor{underlcolor@whitebg}{rgb}{0.7,0,0.3}% \definecolor{conceptcolor@whitebg}{rgb}{0.6,0,0}% \definecolor{inactivecolor@whitebg}{rgb}{0.7,0.7,0.7}% \definecolor{presentcolor@whitebg}{rgb}{1,1,0.9}% \definecolor{highlightcolor@whitebg}{rgb}{1,1,0.8}% \whitebackground\color{textcolor}% \let\default@color\current@color}} %----------------------------- \def\ps@empty{% \let\@mkboth\@gobbletwo\let\@oddhead\@empty\let\@oddfoot\@empty \let\@evenhead\@empty\let\@evenfoot\@empty} %----------------------------- \def\ps@plain{\let\@mkboth\@gobbletwo \let\@oddhead=\banneronly \let\@oddfoot\@empty \let\@evenhead\@oddhead \let\@evenfoot\@oddfoot} \newcommand{\markbanner}[1]{\gdef\thisbannertext{#1}% \markboth{\hbox to \textwidth{#1\hss}}{}} \markbanner{} % some parameters related to the banners: \providecommand{\bannerlevel}{3} \providecommand{\bannerprefix}{slide} \providecommand{\bannerheight}{60pt} \providecommand{\bannerdepth}{24pt} \providecommand{\banneronlyheight}{84pt} \def\banner@anchor{% % Hyperlink anchor and bookmark \hyper@@anchor{slide.\thepage}{\relax}% \Hy@writebookmark {\thepage}% {\thisbannertext}% {\bannerprefix.\thepage}% {\bannerlevel}% {toc}% % end of Hyperlink target } %----------------------------- % LAST PAGE TeXpower, PRINTS `The End' , Endlogos, % and TeX attributes and moreattribs \def\LastPageTeXpower{% \ifwithTeXpower %\newpage \pagestyle{plain} \markbanner{} \null\vfill \begin{center} \textcolor{\titlecolor}{\huge The End} \end{center} % Rotis causes page rotation with one line of text. % \ifwithcm \pause\else\relax\fi \texattribs \else \LastPagePlain \texattribs \pagestyle{plain} \fi } %----------------------------- % LAST PAGE PLAIN PRINTS `The End', (Endlogos), \def\LastPagePlain{% \color{\bannercolor}% %\clearpage\newpage \pagestyle{plain} \markbanner{} \null\vfill \begin{center} \textcolor{\titlecolor}{\huge The End}\\ \ifplainfooterflag@ \relax \else \fi \end{center} \pagestyle{plain} } %----------------------------- % LAST PAGE \providecommand{\LastPage}[1][]{{% \def\tmp{#1}\def\tp{texpower}% \ifx\tp\tmp\aftergroup\LastPageTeXpower \else \aftergroup\LastPagePlain \fi }} \makeatother %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%