Interaction Between LaTeX \ifcase Primitive and Macro Expansion in Nested Conditionals
The goal is to clarify how the \ifcase primitive processes its argument when that argument is a macro that itself expands to an integer, particularly in nested conditional constructs. During TeX's expansion phase, \ifcase evaluates an integer expression to select a branch; however, the interaction with macro expansion is not fully documented, leaving uncerta