i get an error message liks this

Overfull \hbox (2.37161pt too wide) in paragraph at lines 137--138


Underfull \hbox (badness 10000) in paragraph at lines 136--147

My code

\subcaption{Filterkurve eines typischen Kurzpassfilters\footnotemark}
\subcaption{Filterkurve eines typischen Langpassfilters\footnotemark}
\caption{\subref{fig:kurzpass} shows Figure1 and\subref{fig:langpass} shows Figure.}

i do not get it


1 Answer 1


Those are warning messages, not error messages. Overfull \hboxes refer to having content that is too wide to fit within the text block width. In your case, you're placing twosubfigures next to one another - the % on the blank line between the two subfigures set them in the same line - each of which has a width of .7\textwidth. That results in something that is wider than \textwidth (1.4\textwidth to be exact) and results in the overfull \hbox warning.

For placing two subfigures next to one another, you're better off using .5\linewidth blocks, with the width of the internal images no more than \linewidth itself; \linewidth adjusts with the block it's placed in. \centering would also ensure that the content is horizontally centered.

Underfull \hbox warnings fall in a similar class in that there's not enough content to spread it across the text block sufficiently.

You must log in to answer this question.

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