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

How to squeeze up cventry's sub-sections?

Open Dentrax opened this issue 5 years ago • 2 comments

Regarding to this issue, i want to do simple different thing. The problem is space range created by cventry.

In this picture:

mRiYZy

I can change the blue space but i can't change the red one.

I can't figure it out exactly how to change it manually.

\newcommand*{\cventry}[5]{%
  \vspace{-4.0mm}
  \setlength\tabcolsep{0pt}
  \setlength{\extrarowheight}{0pt}
  \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}
    \ifempty{#2#3}
      {\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
      {\entrytitlestyle{#2} & \entrylocationstyle{#3} \\
      \entrypositionstyle{#1} & \entrydatestyle{#4} \\}
    \multicolumn{2}{L{\textwidth}}{\descriptionstyle{#5}}
  \end{tabular*}%
}

My code:

\begin{cventries}
%---------------------------------------------------------
  \cventry
    {My Title} % Job title
    {Info} % Organization
    {\href{https://github.com/Dentrax}{Link} % Location
    {C [2019]}
    {
    }
...

How can i change the space (red line) between title and sub-title?

Dentrax avatar Mar 23 '19 17:03 Dentrax

In the tex file for the relevant section append \vspace{-4.0mm} to the end of the line you want to reduce the white space after. As an example in education.tex you could do this:

%--------------------------------------------------------- \cventry {Juris Doctor} % Degree {University of Marsl\vspace{-4.0mm}} % Institution {Olympus Mons, Mars} % Location {Sep. 2016 - May 2019} % Date(s) { \begin{cvitems} % Description(s) bullet points \item {Civil Rights Moot Court} \end{cvitems} }

I just tested it and it builds for me. -4 moves it up a bit for far, so you might end up preferring -3 or -2.

dcsim avatar Jun 14 '19 18:06 dcsim

Obvious follow up here: if there is another item on the same line (location, date, etc.) you'll also need to append \vspace{-4.0mm} to the end of that. So in education for example you would append it to % Institution and % Location

dcsim avatar Jun 14 '19 18:06 dcsim