Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Commit 1cb0c38

Browse files
committed
Fixed latex template
When an option is not specified the default value for cmsbooklet was "None", a more generic "" is used now.
1 parent fefd686 commit 1cb0c38

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python/statements/templates/oii_tex/data/cms-contest.cls

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@
463463
\hfill%
464464
\ifthenelse{\equal{\this@contestday}{}}%
465465
{}{\makebox[0pt][r]{\kw@Day~\this@contestday}}%
466-
\ifthenelse{\equal{\this@syllabuslevel}{None}}%
466+
\ifthenelse{\equal{\this@syllabuslevel}{}}%
467467
{}{\makebox[0pt][r]{\Level{\this@syllabuslevel}}}%
468468
}
469469
\vskip 2.5mm \hrule\vskip 2.5mm%
@@ -498,9 +498,9 @@
498498
\begin{tabular}{l@{\extracolsep{1cm}}l}
499499
%\kw@InputFileName & \texttt{#3} \\
500500
%\kw@OutputFileName & \texttt{#4} \\
501-
\ifnum\pdfstrcmp{#5}{None}=0 \else \kw@TimeLimit & #5~\kw@seconds\\ \fi
502-
\ifnum\pdfstrcmp{#6}{None}=0 \else \kw@MemoryLimit & #6~MiB\\ \fi
503-
\ifnum\pdfstrcmp{#7}{None}=0 \else \kw@Difficulty & #7\\ \fi
501+
\ifnum\pdfstrcmp{#5}{}=0 \else \kw@TimeLimit & #5~\kw@seconds\\ \fi
502+
\ifnum\pdfstrcmp{#6}{}=0 \else \kw@MemoryLimit & #6~MiB\\ \fi
503+
\ifnum\pdfstrcmp{#7}{}=0 \else \kw@Difficulty & #7\\ \fi
504504
\end{tabular}
505505
}
506506
\nopagebreak

0 commit comments

Comments
 (0)