开发者

\center environment centers the whole document in LaTeX

开发者 https://www.devze.com 2022-12-23 19:53 出处:网络
I have the following line between my \\maketitle and my \\begin{abstract}: \\center{ \\textsc{Some text here} }

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开发者_JAVA技巧 is this and how should I get around it?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号