Document ClassesLine break in amsart title?

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
TravisW
Posts: 1
Joined: Sun Jan 03, 2010 12:45 am

Line break in amsart title?

Post by TravisW »

Hi,

I'm using the amsart documentclass and want to insert a line break in the title for aesthetic reasons. Using a new paragraph command inline, namely

Code: Select all

\title{foo1 \\ foo2}
...
\maketitle
produces a title with the desired line-break behavior. However, the appearances of the title in the header on the second and subsequent pages have an unusually wide space between the substrings foo1 and foo2, and (worse) this spacing is different on even- and odd-numbered pages. How can I insert a line break in the title without inducing this header spacing issue?

Thanks much,
Travis

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Line break in amsart title?

Post by gmedina »

Hi,

use the optional argument of the title command; i.e., use something like the following:

Code: Select all

\title[foo1 foo2]{foo1 \\ foo2}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply