🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #673

LaTeX: Centering chapter headings

#673
From: Alan R. Heyd
Date: Sun, 02 Aug 1992 20:17
27 lines
1191 bytes
I'm having the worst time trying to center chapter headings that are
split over two lines.  The style file I'm using for my thesis has the
following definitions for chapter headings:


\def\@makechapterhead#1{{ \parindent 0pt
 \ifnum \c@secnumdepth >\m@ne
 \centerline{\large\bf \@chapapp{} \thechapter}
 \par
 \vskip 20pt \fi \centerline{\Large \bf #1}\par
 \nobreak \vskip 40pt } }

\def\@makeschapterhead#1{{ \parindent 0pt
 \centerline{\Large\bf #1}\par
 \nobreak \vskip 40pt } }


The problem is that the \centerline{} doesn't split lines.  I've tried
replacing \centerline{...} with {\centering ...}.  This will center the
the first line, however, the second line is left justified.  HELP!
There has got to be a way to center long chapter headings.  I would be
happy to summarize the responses that I recieve if people would like.

Thank you

Alan Heyd
ia8@psuvm.psu.edu
Technical Details
Message-ID: <92215.161724IA8@psuvm.psu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!psuvax1!psuvm!ia8

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!psuvax1!psuvm!ia8
Organization: Penn State University
Date: Sun, 2 Aug 1992 16:17:24 EDT
From: Alan R. Heyd <IA8@psuvm.psu.edu>
Message-ID: <92215.161724IA8@psuvm.psu.edu>
Newsgroups: comp.text.tex
Subject: LaTeX: Centering chapter headings
Lines: 27