posquit0 / Awesome-CV

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

skill section different alignment #325

Closed segalinc closed 2 years ago

segalinc commented 4 years ago

I would like to change the skill session so that the type is on the right and the skill entry is on the left and so that the left columns is aligned to the left and the type aligned to the very right like in the picture

Screen Shot 2020-04-10 at 5 24 07 PM

I almost managed to do it but as you see the right column gets squished and some works return in a new line

I changed this line in the skill class \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} l R {0.1\textwidth}}

how can I change it so that the type stays in one line ?

segalinc commented 4 years ago

almost there but if the left line is too long it goes out of the sheet

\newenvironment{cvskills}{% \vspace{\acvSectionContentTopSkip} \vspace{-2.0mm} \begin{flushleft} \setlength\tabcolsep{1ex} \setlength{\extrarowheight}{0pt} \begin{tabular}{.9\textwidth}{@{\extracolsep{\fill}} l R {.2\textwidth}} }{% \end{tabular} \end{flushleft} }

dcsim commented 2 years ago

Screenshot_20211222_214111

These are the necessary changes to make in awesome-cv.cls:

% 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}} L{\textwidth -{4.5cm}} r} %Changed this
}{%
    \end{tabular*}
  \end{center}
}
% Define a line of cv information(skill)
% Usage: \cvskill{<type>}{<skillset>}
\newcommand*{\cvskill}[2]{%
  \skillsetstyle{#2} & \skilltypestyle{#1} \\ %Changed this
}

@OJFord - I think this can be marked closed.

OJFord commented 2 years ago

Thanks @dcsim!