From 8970752072fe12f3b40ae406af871d2baa3e6b78 Mon Sep 17 00:00:00 2001 From: Marius Krusen Date: Thu, 6 Feb 2020 15:04:56 +0100 Subject: [PATCH] Replace fragile ifthenelse commands with more robust ifx commands --- awesome-cv.cls | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/awesome-cv.cls b/awesome-cv.cls index bbd0447..91f2ba6 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -623,12 +623,14 @@ \setlength\leftskip{0.2cm} \subentrytitlestyle{#2} & \ifthenelse{\equal{#1}{}} {\subentrydatestyle{#3}}{} \\ - \ifthenelse{\equal{#1}{}} - {} - {\subentrypositionstyle{#1} & \subentrydatestyle{#3} \\} - \ifthenelse{\equal{#4}{}} - {} - {\multicolumn{2}{L{17.0cm}}{\subdescriptionstyle{#4}} \\} + \ifx\relax#1\relax + \else + \subentrypositionstyle{#1} & \subentrydatestyle{#3} \\ + \fi + \ifx\relax#4\relax + \else + \multicolumn{2}{L{17.0cm}}{\subdescriptionstyle{#4}} \\ + \fi \end{tabular*} }