Skip to content

Commit

Permalink
refactor: 📦 sync with upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokai committed May 25, 2024
1 parent 4f70af2 commit 1c01b01
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions resume.cls
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%%
%% Copyright (c) 2020-2023 SUN Kai
%% Copyright (c) 2018-2023 Weitian LI
%% Copyright (c) 2020-2024 SUN Kai
%% Copyright (c) 2018-2024 Weitian LI
%% Copyright (c) 2016 Christophe Roger
%% The LaTeX Project Public License (LPPL) Version 1.3c
%%
Expand All @@ -13,7 +13,7 @@
%% https://www.latextemplates.com/template/plasmati-graduate-cv
%%

\ProvidesClass{resume}[2023/02/03 v2.5.1 Resume Class]
\ProvidesClass{resume}[2024/03/13 v2.5.3 Resume Class]
\LoadClass{article}

%%
Expand Down Expand Up @@ -392,11 +392,12 @@
%%

% \begin{competences}[width]
\NewDocumentEnvironment{competences}{o}{
\NewDocumentEnvironment{competences}{o}{%
\IfValueTF{#1}{%
\begin{tabular}{R{#1} L{\dimexpr \textwidth - #1 - 4\tabcolsep}}
}{%
\begin{tabular}{R{\leftcolwidth} L{\rightcolwidth}}}
\begin{tabular}{R{\leftcolwidth} L{\rightcolwidth}}
}
}{%
\end{tabular}
}
Expand Down

0 comments on commit 1c01b01

Please sign in to comment.