Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

\center environment centers the whole document in LaTeX

Tags:

I have the following line between my \maketitle and my \begin{abstract}:

\center{ \textsc{Some text here} }  

This seems to cause the ENTIRE DOCUMENT to be formatted as centered. Why is this and how should I get around it?

like image 620
Seamus Avatar asked Mar 20 '10 17:03

Seamus


1 Answers

Try

\begin{center}     \textsc{Some text here} }    \end{center} 

instead. center is an environment, meaning it needs to be used with \begin and \end.

Furthermore there is the \centering command which turns on centered alignment for the rest of the block. I assume \center is a similar command from plain TeX.

like image 104
Joey Avatar answered Oct 19 '22 09:10

Joey