在latex写代码时,if条件的源代码
\If {condition1} \State a=1 \ElsIf {condition2} \State a=2 \Else \State a=3 \EndIf