posquit0 / Awesome-CV

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

Two lines instead of one - fill blank space in cventry #350

Closed StevenSalazarM closed 3 years ago

StevenSalazarM commented 3 years ago

Hello, since the last 5 days I have been trying to understand how to modify the alignments of cventry but I had no success. I would be really grateful if someone know how to solve this:

Screenshot_111

I would like to have 'Details' in the same line of [certificate] since there is enough space for it.

eosti commented 3 years ago

In awesome-cv.cls, go to the \cventry definition (line 602-ish), and look at this line:

\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}

To make the title wider, reduce the first 4.5cm value, and to make sure that the title won't collide with the location and dates, adjust the second 4.5cm value to match the first. Note that this will change every cventry to have these widths, so if this will cause problems you may want to just manually create the tabular environment for that one entry within the subfile instead of using the \cventry macro.

StevenSalazarM commented 3 years ago

In awesome-cv.cls, go to the \cventry definition (line 602-ish), and look at this line:

\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}

To make the title wider, reduce the first 4.5cm value, and to make sure that the title won't collide with the location and dates, adjust the second 4.5cm value to match the first. Note that this will change every cventry to have these widths, so if this will cause problems you may want to just manually create the tabular environment for that one entry within the subfile instead of using the \cventry macro.

Yes, it worked (4cm was the right value for me). Thank you!