Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Centering and evenly distributing a multiple-line title using LaTex

1,251 views
Skip to first unread message

Ray

unread,
Dec 10, 2010, 9:33:24 AM12/10/10
to
Hello,

I would like to center the title

{\Large {\textbf {\centerline {Mapping genes {\textit {his, thr, and
lac}} via their transfer onto the bacterial chromosome of {\textit {E.
coli}} cells through interrupted mating of Hfr and F- strains}}}}

using LaTex. However, the program typesets the title on one line only
and as a result, the title over-extends into the side margins. Is
there a way to have LaTex typeset the title with it distributed evenly
over multiple lines?

Thank you,

Ray L.

Scott Pakin

unread,
Dec 10, 2010, 3:41:01 PM12/10/10
to

Do you mean something like this?

\begin{center}
\Large\bfseries


Mapping genes \textit{his, thr, and lac} via their transfer onto the
bacterial chromosome of \textit{E. coli} cells through interrupted
mating of Hfr and F- strains

\end{center}

-- Scott

P.S. Unlike \itshape (and the now-obsolete \it), \textit takes an
argument and therefore doesn't require an extra set of curly braces.
That is, use \textit{...} or {\itshape ...} for italics.

P.P.S. I'd write "\textit{his}, \textit{thr}, and \textit{lac}", as
only the gene names should be italicized, not the commas or
conjunction.

Dan Luecking

unread,
Dec 10, 2010, 4:41:33 PM12/10/10
to
On Fri, 10 Dec 2010 06:33:24 -0800 (PST), Ray <rr4...@gmail.com>
wrote:

\centerline creates (by its design) a single line.
You probably want:

\begin{center} \Large \bfseries


Mapping genes \textit {his, thr, and lac} via their
transfer onto the bacterial chromosome of \textit {E. coli}
cells through interrupted mating of Hfr and F- strains

\end{center}

The center environment produces a paragraph with centered
lines.

By the way, \textit takes an argument and italicizes it. It
is not necessary to wrap the result in braces: \textit{word}
need not be {\textit{word}}. On the other hand, my \bfseries
above is a switch, and needs grouping to contain it. That is
provided by the center environment.


Dan
To reply by email, change LookInSig to luecking

0 new messages