%  customization for ATLAS Technical Proposal
% choose page style
 
\pagestyle{headings}
% typeset caption contents in small
\long\def\@makecaption#1#2{%
   \vskip 10\p@
   \setbox\@tempboxa\hbox{#1: {\small #2}}%
   \ifdim \wd\@tempboxa >\hsize
       #1: {\small #2}\par
     \else
       \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
   \fi}
% -------- Figure and Table Numbering per chapter -------------
\def\thefigure{\thesection.\arabic{figure}}
\def\thetable{\thesection.\arabic{table}}
\@addtoreset{figure}{section}
\@addtoreset{table}{section}
 
\def\Section#1{%
   \twocolumn[%
       \begin{minipage}{\textwidth}%
            \section{#1}%
            \vspace*{-5mm}%
            \rule{\textwidth}{0.4pt}%
            \vspace*{+5mm}%
       \end{minipage}%
   ]%
}
\def\@ptsize{0}
\@twosidetrue\@mparswitchtrue
\@twocolumntrue
 
\setcounter{secnumdepth}{4}
% allows 4 levels of sections, e.g. '5.3.2.1 The Blablabla'
% sequence: \section \subsection \subsubsection \paragraph
%
\input{a4.sty}
\input{epsfig.sty}
\input{chapterb.sty}
\input{rotating.sty}
%\input{subfigure.sty}
\input{here.sty}
%\input{amssymb.sty}
 
\def\ps@headings{\let\@mkboth\markboth
  \def\@oddfoot{}\def\@evenfoot{}%       No feet.
  \def\@evenhead{\rm \thepage\hfil \sl \leftmark}%        Left heading.
  \def\@oddhead{{\sl \rightmark}\hfil \rm\thepage}% Right heading.
  \def\sectionmark##1{\markboth {\uppercase{%
    \thesection\hskip 1em\relax ##1}}{}}%
  \def\subsectionmark##1{\markright {%
          \thesubsection\hskip 1em\relax ##1}}}
 
 
\ps@headings
\pagenumbering{arabic}
\@@input twocolumn.sty
 
\setlength{\oddsidemargin}{15mm}
\setlength{\evensidemargin}{10mm}
\setlength{\textwidth}{165mm}
\setlength{\textheight}{225mm}
 
\endinput
