%% %% Webplain.sty package, by D. P. Story, The University of Akron %% dpstory@uakron.edu %% \ProvidesPackage{webplain}[1999/05/01 v1.00 webplain.sty package (dps)] \NeedsTeXFormat{LaTeX2e}[1998/06/01] \RequirePackage{color} % % Set Dimensions of text area % \setlength{\textheight}{3in} %\setlength{\textheight}{3.166in} %\setlength{\textheight}{8.9in} \setlength{\textwidth}{4.166in} \setlength{\oddsidemargin}{0pt} \setlength{\evensidemargin}{0pt} \setlength{\headsep}{14pt} \setlength{\marginparwidth}{0pt} % % \pagestyle{webheadings} % \newcommand{\ps@webheadings} {\renewcommand{\@oddhead}{\normalfont\small\rightmark\hfil\thepage} \renewcommand{\@evenhead}{\@oddhead} \renewcommand{\@oddfoot}{\hfil} \renewcommand{\@evenfoot}{\@oddfoot}} \renewcommand{\sectionmark}[1] {\markright{Section\ \thesection: #1}} \pagestyle{webheadings} \renewcommand{\section}{% \renewcommand{\@seccntformat}[1]{\csname the##1\endcsname.\enspace}% \@startsection{section}{1}{\z@}% {-3.5ex\@plus -1ex \@minus-.2ex}% {6pt\@plus .2ex}% {\normalfont\Large\noindent\color{blue}}}% \renewcommand\subsection{% \renewcommand{\@seccntformat}[1]{\csname the##1\endcsname.\enspace}% \@startsection{subsection}{2}{\z@}% {-3.25ex\@plus -1ex \@minus -.2ex}% {1.5ex \@plus .2ex}% {\normalfont\large\bfseries\noindent\color{blue}}} \renewcommand\subsubsection{% \renewcommand{\@seccntformat}[1]{\color{blue}\large$\bullet$\enspace} \@startsection{subsubsection}{3}{\z@}% {-2.25ex\@plus -1ex \@minus -.2ex}% {.5ex \@plus .2ex}% {\normalfont\normalsize\bfseries}} % % Some Useful Colors % \definecolor{webgreen}{rgb}{0,.5,0} \definecolor{webbrown}{rgb}{.6,0,0} \definecolor{webyellow}{rgb}{0.98,0.92,0.73} \definecolor{webgray}{rgb}{.753,.753,.753} \definecolor{webblue}{rgb}{0,0,.8} \def\mytableofcontents{\begingroup % % Sample line from .aux % \contentsline {section}{\numberline {1}Introduction}{4}{section.1} % \parindent20pt \def\contentsname{} \def\numberline##1{\llap{##1\enspace}}% \def\contentsline##1##2##3##4{\csname dps##1\endcsname{##2}{##3}{##4}}% \def\dpsparse##1##2##3\\{\def\dpstitle{##3}\def\numberline{##2}}% \def\dpssection##1##2##3{\dpsparse##1\\\par\mbox{}\textbf{% \llap{\hyperlink{##3}{\numberline.}\space}\dpstitle}\endgraf}% \def\dpssubsection##1##2##3{\dpsparse##1\\\par\penalty-50 \hspace{20pt}\mbox{}% \textbf{\llap{\hbox to20pt{\hyperlink{##3}{\numberline.}\hfil}}\dpstitle}\endgraf}% \def\dpssubsubsection##1##2##3{\dpsparse##1\\\def\numberline{\strut$\bullet$}% \leftskip40pt\noindent\unskip\mbox{}\hyperlink{##3}{\space\numberline}\space\dpstitle\ }% \hypertarget{TOC}{}% \def\par{\endgraf\leftskip=0pt}% %\tableofcontents \@starttoc{toc}% \leftskip40pt \par\endgroup} \endinput