Awesome-CV icon indicating copy to clipboard operation
Awesome-CV copied to clipboard

Overfull \hbox

Open phillez opened this issue 8 years ago • 5 comments

When i compile your example i get the following warning: Overfull \hbox (1.46pt too wide) in paragraph at lines 81--81

When i add a summary using \cvsection{Summary} \begin{cvparagraph} Your Summary \end{cvparagraph}

it lookes like this: billede

phillez avatar Jan 23 '17 19:01 phillez

I also receive this warning when compiling. I haven't edited resume.tex at all, but still get this error referencing the line /makecvheader[C] I'm using TexLive and TeXworks on Windows 7.

drumbold avatar Jan 26 '17 17:01 drumbold

According to the last commit of the awesome-cv.cls file, the warnings:

  • Overfull \hbox (1.46pt too wide) in paragraph at lines 78--79
  • Underfull \hbox (badness 10000) in paragraph at lines 78--79

seem to be generated by the lines 428 -- 430:

\begin{minipage}[c]{\headerphotowidth}%
    \ifthenelse{\equal{\@photoalign}{left}}{\raggedright\drawphoto}{}
\end{minipage}`

and the lines 517 -- 519:

\begin{minipage}[c]{\headerphotowidth}%
    \ifthenelse{\equal{\@photoalign}{right}}{\raggedleft\drawphoto}{}
\end{minipage}

present in the command definition makecvheader. If your CV/Résumé does not require a photo profile within the header section, you can comment the above lines in the awesome-cv.cls file to suppress the warnings above-mentioned.

Compilation executed using the last commit and the ShareLaTeX platform.

rotiroti avatar Apr 14 '17 11:04 rotiroti

I am having this same issue. My CV was succesfully created a few times but now it is broken for some reason and I cannot figure out why. I have also tried using the original awesome-cv.cls and cv.tex but still the same issue.

jwwikstrom avatar Aug 15 '19 19:08 jwwikstrom

As @rotiroti mentioned, has resolved my problem.

And lines 454-465 should also be commented.

  \begin{minipage}[c]{\headerphotowidth}%
    \ifthenelse{\equal{\@photoalign}{left}}{\raggedright\drawphoto}{}
  \end{minipage}

yayapao avatar Jun 13 '22 08:06 yayapao

PR very welcome for this, but it needs not to break it for those that do want a photo.

OJFord avatar Jun 13 '22 15:06 OJFord