Graphics, Figures & Tables ⇒ Indent Tables
Indent Tables
How can I indent tables?
Last edited by Moruk on Sat Sep 17, 2011 12:45 pm, edited 1 time in total.
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Indent Tables
For example by \hspace or \hspace* before the table, or any other horizontal spacing command. Very often tables are centered though.Moruk wrote:How can I indent tables?
Stefan
LaTeX.org admin
Indent Tables
Code: Select all
\hspace*{5cm}
\begin{tabular}{ l c r }
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9 \\
\end{tabular}
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Indent Tables
It does not work because you made a paragraph break between the \hspace and the table. So the table starts at the beginning at the following line. Remove the empty line which causes the paragraph break.
Stefan
Stefan
LaTeX.org admin