adressing tabularwidth issue

This commit is contained in:
Johannes Böttcher 2016-02-29 18:56:28 +01:00
parent 70ea22250c
commit 4f484bc8a7

View file

@ -47,7 +47,7 @@
% 3rd party packages
%-------------------------------------------------------------------------------
% Needed to make fixed length table
\RequirePackage{array}
\RequirePackage{tabularx}
% Needed to handle list environment
\RequirePackage{enumitem}
% Needed to handle text alignment
@ -592,18 +592,16 @@
\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}}}
\tabularx{\textwidth}{rX}
}{%
\end{tabular*}
\end{center}
\endtabularx
}
% Define a line of cv information(skill)
% Usage: \cvskill{<type>}{<skillset>}
\newcommand*{\cvskill}[2]{%
\skilltypestyle{#1} & \skillsetstyle{#2} \\
\skilltypestyle{#1} & \leavevmode\skillsetstyle{#2} \\
}
% Define an environment for cvitems(for cventry)