0

I get an error when compiling a tabular* environment.

The error I get is:

Underfull \hbox (badness 10000) in alignment at lines 3--5
[]

Overfull \hbox (17.62482pt too wide) in paragraph at lines 3--6
[][] 

I was able to isolate it to the following MWE:

\documentclass[12pt,a4paper]{article}
\begin{document}
\begin{tabular*}{\textwidth}{l}
2\\
\end{tabular*}
\end{document}

Anyone can help on this?

2
  • 2
    you have specified that the table be stretched but given no way to stretch it, you need \extracolsep{\fill} but with only one column there really isn't anywhere useful that can stretch. Mar 4, 2020 at 10:53
  • Cheers thanks. Solved.
    – Morzen
    Mar 4, 2020 at 10:55

1 Answer 1

2

You have specified that the table be stretched but given no way to stretch it, you need \extracolsep{\fill} but with only one column there really isn't anywhere useful that can stretch.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .