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 % 3rd party packages
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Needed to make fixed length table % Needed to make fixed length table
\RequirePackage{array} \RequirePackage{tabularx}
% Needed to handle list environment % Needed to handle list environment
\RequirePackage{enumitem} \RequirePackage{enumitem}
% Needed to handle text alignment % Needed to handle text alignment
@ -592,18 +592,16 @@
\newenvironment{cvskills}{% \newenvironment{cvskills}{%
\vspace{\acvSectionContentTopSkip} \vspace{\acvSectionContentTopSkip}
\vspace{-2.0mm} \vspace{-2.0mm}
\begin{center}
\setlength\tabcolsep{1ex} \setlength\tabcolsep{1ex}
\setlength{\extrarowheight}{0pt} \setlength{\extrarowheight}{0pt}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} r L{\textwidth * \real{0.9}}} \tabularx{\textwidth}{rX}
}{% }{%
\end{tabular*} \endtabularx
\end{center}
} }
% Define a line of cv information(skill) % Define a line of cv information(skill)
% Usage: \cvskill{<type>}{<skillset>} % Usage: \cvskill{<type>}{<skillset>}
\newcommand*{\cvskill}[2]{% \newcommand*{\cvskill}[2]{%
\skilltypestyle{#1} & \skillsetstyle{#2} \\ \skilltypestyle{#1} & \leavevmode\skillsetstyle{#2} \\
} }
% Define an environment for cvitems(for cventry) % Define an environment for cvitems(for cventry)