LaTeX table too wide. How to make it fit?

Posted by Erik B on Stack Overflow See other posts from Stack Overflow or by Erik B
Published on 2010-05-08T15:50:50Z Indexed on 2010/05/08 15:58 UTC
Read the original article Hit count: 363

Filed under:
|
|

I just started to learn latex and now I'm trying to create a table. This is my code:

\begin{table}
\caption{Top Scorers}
\begin{tabular}{ l l }
    \hline
    \bf Goals & \bf Players\\
    \hline
    4 & First Last, First Last, First Last, First Last\\
    3 & First Last\\
    2 & First Last\\
    1 & First Last, First Last, First Last, First Last, First Last, First Last, First Last, First Last, First Last, First Last, First Last, First Last, First Last\\
    \hline
\end{tabular}
\end{table}

The problem is that the table is wider than the page. I was hoping that it would automatically fit to the page like normal text does, but it didn't. How do I tell latex to make the table fit to the page?

© Stack Overflow or respective owner

Related posts about latex

Related posts about table