posquit0 / Awesome-CV

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

Where is paragraph spacing (for cvletter) set? #415

Open DaniBodor opened 2 years ago

DaniBodor commented 2 years ago

I would like to change the paragraph spacing for my cover letter.
Using this trick \verb|\parskip|:\the\parskip\ and \verb|\parindent|:\the\parindent (from https://tex.stackexchange.com/a/375896/262286) I could find out what the current setting is. I know I can just override it with a new number, but am still wondering where it's set in the first place, given that it does not appear to be the default.

github-actions[bot] commented 2 years ago

:wave: Welcome! Looks like this is your first issue.

Hey, thanks for your contribution! Please give us a bit of time to review it. 😄

dcsim commented 1 year ago

Add \setlength{\parskip}{1.4em} to the cvletter environment.

{1.4em} as show in the example below sets the spacing between paragraphs to the baseline height of letterstyletext.

Change {1.4em} to whatever spacing you want.

%-------------------------------------------------------------------------------
%                Commands for elements of Cover Letter
%-------------------------------------------------------------------------------
% Define an environment for cvletter
\newenvironment{cvletter}{%
  \setlength{\parskip}{1.4em}
  \lettertextstyle
}{%
}

@OJFord: Can I nominate this to be closed?