Every now and then I get this error and I don't know how to solve it. From what I understand reading other posts, it's because LaTeX doesn't know how to hyphenate some sentences and finds no good way to break the line.
In my case I have the following line:
\section{Estimating the odds ratio in a case-control study}
And the following error:
Overfull \hbox (7.52351pt too wide) in paragraph at lines 64--64
I've tried using \-
to no avail. Interestingly enough if used as an item instead of a section title there's no error.
Thanks
Edit:
The log error:
Overfull \hbox (7.52351pt too wide) in paragraph at lines 64--64
[]\T1/cmr/bx/n/14.4 Estimating the odds ra-tio in a case-control study
[]
\usepackage{sectsty}\allsectionsfont{\raggedright}
in the preamble might fix your issue with overfull hboxes in sectioning headers.\documentclass{article}
. If I use a quick minimal example everything works fine... I don't understand