%sw20exm4 {Exam: TCI exam style #3}{12pt}{article} %Copyright (C) 1994-95 TCI Software Research \typeout{TCI Document Style `sw20exm4' <1 July 1994>.} \typeout{NOTICE: This macro file is NOT proprietary and may be freely copied and distributed.} % \input thmsupp.tex % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Exam style created for Pat Steer % Title is 1" from top centered with Description, Subject, and Date % below the title. % Description, Subject, and Date and page number are printed at the % top right of all other pages. % Textheight is 9", Textwidth is 6.5" % This style will call a file called fancyhea.sty, which will format % the Fancy headings. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % TITLE % % with % % DESCRIPTION % % and % % SUBJECT % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \def\maketitle{\par \begingroup \def\thefootnote{\fnsymbol{footnote}}% \def\@makefnmark{\hbox to\z@{$\m@th^{\@thefnmark}$\hss}}% \if@twocolumn \twocolumn[\@maketitle]% \else \newpage \global\@topnum\z@ \@maketitle \fi\thispagestyle{empty}\@thanks \endgroup \setcounter{footnote}{0}% \let\maketitle\relax \let\@maketitle\relax \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax} % \def\@maketitle{\newpage \null \vskip 2em \vskip -1.5in \vskip 0em \begin{center}% {\bf \LARGE \@title \par}% \vskip 1.5em {\large \lineskip .5em} \@ifundefined{Description}{}{{\bf \Description}\par}% \lineskip 1.5em \@ifundefined{Subject}{}{{\bf \Subject}\par}% \lineskip .5em {\bf \@date}% \end{center}% \par \vskip 1.5em} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % Setting up the page size % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setlength{\topmargin}{-.75in} \setlength{\headsep}{1.0in} \setlength{\textheight}{9.0in} \setlength{\oddsidemargin}{0.25in} \setlength{\evensidemargin}{0.0in} \setlength{\textwidth}{6.5in} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % Calling Fancyhead.sty % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \input{fancyhea.sty} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % Setting up the page heading % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \rhead{\@ifundefined{Description}{}{{\bf \Description}\\} \@ifundefined{Subject}{}{{\bf \Subject}\\} \@date { page }\thepage} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % Taking out the underline in the heading % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\headrule{} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % Def the page style % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\ps@fancy{ \let\@mkboth\markboth \def\@oddhead{\@fancyhead\relax\@olhead\@ochead\@orhead\hss} \def\@oddfoot{\@fancyfoot\relax\@olfoot\@ocfoot\@orfoot\hss} \def\@evenhead{\@fancyhead\hss\@elhead\@echead\@erhead\relax} \def\@evenfoot{\@fancyfoot\hss\@elfoot\@ecfoot\@erfoot\relax} \headwidth\textwidth} \def\ps@fancyplain{\ps@fancy \let\ps@plain\ps@plain@fancy} \def\ps@plain@fancy{\@fancyplaintrue\ps@fancy} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % Calling the page style % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \pagestyle{fancy}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Do not reset outermost enumerate counter \def\enumerate{% \ifnum\@enumdepth>3\@toodeep \else \advance\@enumdepth\@ne \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list {\csname label\@enumctr\endcsname}{% \ifnum\@enumdepth>1 \usecounter{\@enumctr} \else % (gp) What \usecounter does except reset the counter \@nmbrlisttrue\def\@listctr{\@enumctr} \fi \def\makelabel##1{\hss\llap{##1}}} \fi}