I've got an expansion issue with the following code:
\def\sizes{huge, LARGE, Large, large, normalsize, small, footnotesize, scriptsize, tiny}
\forcsvlist\sampletext{\sizes}
My problem is that \sizes
should be expanded before being passed to \forcsvlist
, otherwise \sampletext
will simply receive the list and not know how to parse it.
How can I make it so that \sizes
is expanded?
Note: Putting the list hardcoded in the \sampletext
call works, but I don't want to do that because I might override \sizes
with other values.