Replace fragile ifthenelse commands with more robust ifx commands

This commit is contained in:
Marius Krusen 2020-02-06 15:04:56 +01:00
parent a5332d3e76
commit 8970752072

View file

@ -623,12 +623,14 @@
\setlength\leftskip{0.2cm} \setlength\leftskip{0.2cm}
\subentrytitlestyle{#2} & \ifthenelse{\equal{#1}{}} \subentrytitlestyle{#2} & \ifthenelse{\equal{#1}{}}
{\subentrydatestyle{#3}}{} \\ {\subentrydatestyle{#3}}{} \\
\ifthenelse{\equal{#1}{}} \ifx\relax#1\relax
{} \else
{\subentrypositionstyle{#1} & \subentrydatestyle{#3} \\} \subentrypositionstyle{#1} & \subentrydatestyle{#3} \\
\ifthenelse{\equal{#4}{}} \fi
{} \ifx\relax#4\relax
{\multicolumn{2}{L{17.0cm}}{\subdescriptionstyle{#4}} \\} \else
\multicolumn{2}{L{17.0cm}}{\subdescriptionstyle{#4}} \\
\fi
\end{tabular*} \end{tabular*}
} }