I've three variable statements :
- Statement1 = You are Great Student.
- Statement2 = You are average Student.
- Statement3 = You Need improvement on list of topics mentioned below.
In the report card for student, I want to show one of this statement based on marks scored by the student [I'm reading marks from external csv file as \markscore]
- If value of
\markscoreis greater than or equal to 90 i want to print Statement1 - If value of
\markscoreis greater than or equal to 80 but less than 90 i want to print Statement2 - Else I want to print Statement3 in the report card.
Can you please suggest latex package to print statements conditionally?
\ifnum. So i, personally, would stick to DCs answer. I guess you aimed at the\ifnumlessmacro by bringingetoolboxinto play. Therewith http://tex.stackexchange.com/questions/36201/placing-many-conditionals-in-a-series/36202#36202 maybe is intereresting here. – Ruben Oct 02 '13 at 07:50? ! Missing number, treated as zero.
? ! Missing = inserted for \ifnum.
? ! Missing number, treated as zero.
?