Graphics, Figures & TablesDiferent alignments in tables

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
tdcpina
Posts: 39
Joined: Wed Apr 15, 2009 4:22 pm

Diferent alignments in tables

Post by tdcpina »

Hi guys,

I've centered cells of my table. But I really want diferentiate the aligments in the left column. I remembered a easy way to do that: Insert an additional column and align it to the right while in the left column I leave it in left side.
This is a way to do that. But I would like to know if there is any specific command to align cells as we want.

Thank you in advance
Tiago

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Diferent alignments in tables

Post by Stefan Kottwitz »

Hi Tiago,

you could use \multicolumn, like

Code: Select all

\multicolumn{1}{r}{content}
Stefan
LaTeX.org admin
tdcpina
Posts: 39
Joined: Wed Apr 15, 2009 4:22 pm

Re: Diferent alignments in tables

Post by tdcpina »

Hi Stefan,

Thank you. Very simple and very helpful ;)

Best regards,
Tiago
Post Reply