Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!sunova!sscux1!damrau From: damrau@sscux1.ssc.gov (Jackie Damrau) Newsgroups: comp.text.tex Subject: LaTeX: Changing \section Keywords: Special use of \section Message-ID: <1991Apr12.133956.6479@sunova.ssc.gov> Date: 12 Apr 91 13:39:56 GMT Sender: usenet@sunova.ssc.gov Organization: Superconducting Super Collider Laboratory Lines: 18 Originator: damrau@sscux1 Nntp-Posting-Host: sscux1 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