[OS X TeX] Multiple lines in a tex section command

Herb Schulz herbs at wideopenwest.com
Fri Apr 16 20:52:43 EDT 2004

On 4/16/04 7:25 PM, "David Oliver" <daoliver at swva.net> wrote:

> Does anyone know a simple way to get more than one line of text in a
> \section command short of rewriting the command?
> Thanks,
> David Oliver


How about \section[Short Name]{Line One\\Line Two}. Of course you've got to
make your own line breaks using this method.

Or \section[Short Name]{A Very Long Section Title That Wraps Auto-magically
and Looks OK with Wraps at the Right Place!}.

In both cases make sure to use the optional argument: Short Name will appear
in the Table of Contents.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.

More information about the MacOSX-TeX mailing list