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

alignment of skills is not correct #444

Closed kanishkaverma closed 1 year ago

kanishkaverma commented 1 year ago

Hey, I just had a quick question as to how I can fix the alignment of some of the skills. It currently looks like this :

Screenshot from 2022-11-03 19-44-10

and I would like the skill headers to be properly left aligned. This is what my correct awesome-cv.cls looks like:


% Define an environment for cvskill
\newenvironment{cvskills}{%
    \vspace{\acvSectionContentTopSkip}
    \vspace{-2.0mm}
    \begin{center}
        \setlength\tabcolsep{1ex}
        \setlength{\extrarowheight}{0pt}
        \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} r L{\textwidth * \real{0.9}}}
            }{%
        \end{tabular*}
    \end{center}
}
% Define a line of cv information(skill)
% Usage: \cvskill{<type>}{<skillset>}
\newcommand*{\cvskill}[2]{%
    \skilltypestyle{#1} & \skillsetstyle{#2} \\
}

Thank you so much for your help. warmest regards, Kanishka

github-actions[bot] commented 1 year 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. 😄

oskarryn commented 1 year ago

Hi,

Left-alignment of "skilltypestyle" (1st column in cvskills) can be achieved by simply changing r L to l L in the table spec in cvskills env.

Unless you meant something different?

OJFord commented 1 year ago

It's not clear to me what the problem is here, but if the snippet you posted addresses something you think should need fixed please open a PR.