Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spacing issue in cls file #322

Open
rikudoukarthik opened this issue Mar 8, 2020 · 1 comment
Open

Spacing issue in cls file #322

rikudoukarthik opened this issue Mar 8, 2020 · 1 comment

Comments

@rikudoukarthik
Copy link

I recently faced an issue when trying to make a CV using the AwesomeCV template. My problem was that it considered regular content and R code content as two different kinds of content, and gave different spacing for each.

When I looked into the cls, I noticed that in addition to \acvSectionContentTopSkip and \acvSectionTopSkip values, there was another \vspace{-3mm} in the %Define a subsection for CV and %Define a paragraph for CV options. I chose to remove the -3mm from here, and also changed \acvSectionContentTopSkip from 2.5mm to 0.5mm. Now things seem much better.

Could you maybe explain why exactly there is \vspace{\acvSectionContentTopSkip} as well as \vspace{-3mm} in the original code?

Awesome-CV/awesome-cv.cls

Lines 561 to 577 in 4be6c21

% Define a section for CV
% Usage: \cvsection{<section-title>}
\newcommand{\cvsection}[1]{%
\vspace{\acvSectionTopSkip}
\sectionstyle{#1}
\phantomsection
\color{gray}\vhrulefill{0.9pt}
}
% Define a subsection for CV
% Usage: \cvsubsection{<subsection-title>}
\newcommand{\cvsubsection}[1]{%
\vspace{\acvSectionContentTopSkip}
\vspace{-3mm}
\subsectionstyle{#1}
\phantomsection
}

@jakec-dev
Copy link

Yep, I have the same issue. My third cventry is squished too closely to my second entry. The fix provided by @rikudoukarthik worked for me. What are the consequences for this fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants