mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-11-25 23:48:36 +00:00
Order \cventry, fix #5
This commit is contained in:
parent
cb3ac31c1e
commit
98a5c6bd87
1 changed files with 7 additions and 4 deletions
|
@ -533,17 +533,20 @@
|
|||
}{%
|
||||
\end{center}
|
||||
}
|
||||
|
||||
% Define an entry of cv information
|
||||
% Usage: \cventry{<position>}{<title>}{<location>}{<date>}{<description>}
|
||||
% This command formats with <position> above <title> on the left and <location> above <date>
|
||||
% on the right with <description> below both
|
||||
\newcommand*{\cventry}[5]{%
|
||||
\vspace{-2.0mm}
|
||||
\setlength\tabcolsep{0pt}
|
||||
\setlength{\extrarowheight}{0pt}
|
||||
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}
|
||||
\ifempty{#2#3}
|
||||
{\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
|
||||
{\entrytitlestyle{#2} & \entrylocationstyle{#3} \\
|
||||
\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
|
||||
\ifempty{#1#3}
|
||||
{\entrypositionstyle{#2} & \entrydatestyle{#4} \\}
|
||||
{\entrytitlestyle{#1} & \entrylocationstyle{#3} \\
|
||||
\entrypositionstyle{#2} & \entrydatestyle{#4} \\}
|
||||
\multicolumn{2}{L{\textwidth}}{\descriptionstyle{#5}}
|
||||
\end{tabular*}%
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue