[comp.text.tex] LaTeX: Changing \section

damrau@sscux1.ssc.gov (Jackie Damrau) (04/12/91)

I need help in rewriting the \section definition in LaTeX.  I will place
the definition that I am working with here.  I have been able to get the
\hrules to work, but I need the \section title centered between the two
lines.  I would appreciate any help for this project.

-------------------------------
\makeatletter
\def\section{\clearpage                     % start ea. sec. on new page
 \@startsection{section}{1}{\z@}{3.5ex plus 1ex minus .2ex}%
   {2.3ex plus .2ex}{\hrule\vskip.2in%
                     \centering\normalsize\bf%
                     \vskip .2in\hrule}}
\makeatother
-- 
Jackie Damrau, SSC Laboratory                 
Computer Operations Group, MS-1011,          
2550 Beckleymeade Avenue, Dallas TX            
Internet: damrau@sscvx1.ssc.gov