Access Keys:
Skip to content (Access Key - 0)

How can I center text?

To center portions of text, you use the "center" environment. Double backslashes (\ \ ) are used to break up lines within the environment. Here's an example:

	This is a line of centered text.\\
	Here's another one.\\
	LaTeX is really useful.

This would produce:

		      This is a line of centered text.
			    Here's another one.
			  LaTeX is really useful.

You can also center inside of other environments, by using the \centering
declaration at the beginning of the environment:

	This is a quotation\\
	whose lines\\
	are centered.

IS&T Contributions

Documentation and information provided by IS&T staff members

Last Modified:

February 11, 2009

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
olc-formatting olc-formatting Delete
center center Delete
text text Delete
latex latex Delete
format format Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
This product/service is:
Easy to use
Difficult to use

This article is:
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki