posquit0 / Awesome-CV

:page_facing_up: Awesome CV is LaTeX template for your outstanding job application
LaTeX Project Public License v1.3c
23.03k stars 4.79k forks source link

Adding multiple \cventry to Education causes "Overfull \hbox" and breaks formatting #266

Open Jachimo opened 5 years ago

Jachimo commented 5 years ago

Adding a second \cventry to the Education section immediately causes an "Overfull \hbox" error and causes the second entry to be indented and out of alignment with the first. This basically breaks the template if the user wants to add more than one Education line (e.g. if they have a graduate degree).

You can test this by copying and pasting the single \cventry in the example resume so there are two identical \cventry blocks, and compiling. Using Overleaf, I get Overfull \hbox (2.92001pt too wide) in paragraph at lines 13--24. More critically though, the alignment of the second \cventry is off from the first. image

I could not find an easy solution to the problem, meaning that the template is basically unusable for me, since I need to be able to have two Education entries.

The contents of the education.tex file (renamed to .txt to get around Github hating .tex files) is attached. education.tex.txt

Jachimo commented 5 years ago

So after some more investigation I think this is related to one of the template versions on Overleaf.com — I couldn't replicate it using the GitHub version. Not quite sure what's wrong with it, but if anyone gets the same issue I'd recommend cloning the GH version or making sure you're using the original template, and not someone else's version. There are several versions in the Overleaf template list.

dominikethomas commented 5 years ago

I cloned the GH a couple of days ago and am having the same issue. I've tried reformatting the template myself but this just breaks more things down the line.

godfrey-cw commented 5 years ago

Same issue here, although it's really, really inconsistent. Like sometimes I just delete a cventry and rewrite it and the issue goes away ... Bizarre. Almost makes me think it has to do with encoding, i.e. UTF8 type stuff? It really acts up when I copy-paste from other sources e.g. word documents.

EDIT: Looking at other issues it appears that we just need to leave a blank line after each cventry

lapster88 commented 4 years ago

I had this issue too, and adding a blank line (a comment does not work, must be blank) also fixed this issue for me.

kursatsmsek commented 6 months ago

If someone get this issue and not understand something from upper comments, it should be like photo below. Comment does not work. Just click the enter and have a blank line !

Screen Shot 2024-03-27 at 21 30 10