I created a table and it starts from the left and goes all the way to right, which looks really skewed. So I want to center align the whole table but couldn't figure out how to do it. I'm new to latex so I don't know how to use other plugin or macros, but I suppose there's a command for this basic functionality. Can anyone tell me?
This is my code:
\documentclass[a4paper, 12pt]{article}
\author{My Name}
\setlength\parindent{0pt}
\addtolength{\topmargin}{-1in}
\begin{document}
\begin{table}[h]
\centering
\large{Something:}
\centerline{Table 1:}
\begin{tabular}{c c}
\hline
1 & 2 \\
3 & 4 \\
5 & 6 \\
7 & 8 \\
\end{tabular}
\large{Table 2}
\begin{tabular}{c c}
\hline
1 & 2 \\
\end{tabular}
\end{table}
\end{document}
Note here my numbers from 1 - 8 and 1,2 in table 2 are actually long text, which are long enough that it goes over the right edge of the paper. How can I fix it?
\centering\begin{tabular}{...
But it is hard to be sure – David Carlisle Mar 11 '13 at 23:51Something
large it makes all following text large including the tables, don't do that, set the tables in normal size font. – David Carlisle Mar 11 '13 at 23:57