resume/tex/view/radio.tex

8 lines
372 B
TeX

\newcommand{\radio}[1]{%
\ifnum#1>0{\sicon{radio_checked}}\else{\sicon{radio_unchecked}}\fi
\ifnum#1>1{\sicon{radio_checked}}\else{\sicon{radio_unchecked}}\fi
\ifnum#1>2{\sicon{radio_checked}}\else{\sicon{radio_unchecked}}\fi
\ifnum#1>3{\sicon{radio_checked}}\else{\sicon{radio_unchecked}}\fi
\ifnum#1>4{\sicon{radio_checked}}\else{\sicon{radio_unchecked}}\fi
}