Fixes the \ddmod and \ddlevel appearance #180

Merged
vky merged 1 commits from fix/ddmod into review 2024-06-20 10:49:15 +02:00
1 changed files with 3 additions and 2 deletions

View File

@ -26,8 +26,9 @@
\def \ddzero{\includegraphics[height=\fontcharht\font`\B]{Ico/emptystar.png}} % icone : zero difficulty
\def \reload{$\circlearrowleft$} % icone : reload weapon
\newcommand{\ddmod}[2]{$#1\forLoop{1}{#2}{ct}{\star}$} % Modular difficulty modifier command
\newcommand{\ddlvl}[1]{$\forLoop{1}{#1}{ct}{\star}$} % Modular difficulty command
% \newcommand{\ddmod}[2]{$\texttt{#1}\forLoop{1}{#2}{ct}{\star}$} % Modular difficulty modifier command
\newcommand{\ddmod}[2]{\raisebox{0.4\height}{\scalebox{0.59}{$#1$}}\ddlvl{#2}} % Modular difficulty modifier command
\newcommand{\ddlvl}[1]{\forLoop{1}{#1}{ct}{\scalebox{1.4}{$\star$}}} % Modular difficulty command
\newcommand{\ddlevel}[1]{\errmessage{The command ddlevel has been deprecated, use ddlvl or ddmod instead}} % Modular difficulty command