%\input heading
\documentclass{article}
\usepackage{verbatim,url}
\usepackage{amssymb,boxdims,multicol}
%\usepackage{pstricks}
%\usepackage{tikz}
\input mode
\usepackage{ifpdf}
%\usepackage[pagebackref=true,colorlinks=true]{hyperref}
%\usepackage{natbib}
\usepackage{bookmark}
\usepackage{pdfcomment}
%\usepackage[colorlinks=true,citecolor=purple]{hyperref}
\addtolength{\textwidth}{3cm}
\addtolength{\hoffset}{-1.5cm}
\addtolength{\textheight}{4cm}
\addtolength{\voffset}{-1in}
\setcounter{topnumber}{3}

% Exdented captions
\makeatletter
\long\def\@makecaption#1#2{%
  \vskip\abovecaptionskip
  \sbox\@tempboxa{\hskip-3em{\bf #1:} #2}%
  \ifdim \wd\@tempboxa >\hsize
    \hskip-3em{\bf #1:} #2\par
  \else
    \global \@minipagefalse
    \hb@xt@\hsize{\box\@tempboxa\hfil}%
  \fi
  \vskip\belowcaptionskip}

%%\@startsection {NAME}{LEVEL}{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE}
%%            optional * [ALTHEADING]{HEADING}

\renewcommand\section{\@startsection {section}{1}{\z@}%
                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
                                   {2.3ex \@plus.2ex}%
                                   {\normalfont\Large\bfseries%
\let\@@tmp\@svsec\def\@svsec{\llap{\@@tmp}}%
}}
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\normalfont\large\bfseries%
\let\@@tmp\@svsec\def\@svsec{\llap{\@@tmp}}%
}}
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\normalfont\normalsize\bfseries%
\let\@@tmp\@svsec\def\@svsec{\llap{\@@tmp}}%
}}

\makeatother

\hypersetup{
 pdflang=English,
 unicode=true,
 colorlinks=true,
 citecolor=purple}

\begin{document}
\title{M4 Macros for Electric Circuit Diagrams in \LaTeX\ Documents}
\author{Dwight Aplevich}
\date{%
\input Version
\vspace*{-\baselineskip}
}
\maketitle

\input body

\pdfbookmark[section]{\refname}{refs}
\bibliographystyle{plain}
\bibliography{CMman}
   \end{document}
