I'm designing a questionnaire. I would like to do two things in particular in this design. I'm asking about both things in one question since I believe they are related:
First, I would like to have a random order for the items of the questionnaire. This part, I naively called \randomize in my WME (it's not actually working).
Second, I would like to call different names from my pool of names for the entire questionnaire. I don't know where to begin putting this into code.
Any randomising code I have looked at so far doesn't seems to be doing what I need. One of the more prominent reasons is that I would like to have maximum flexibility and be able to add sentences (and names) as I please.
Any help will be much appreciated – thanks a lot in advance.
\documentclass{article}
\newcommand{\NAMEi}{Sally}
\newcommand{\NAMEii}{Harry}
\newcommand{\NAMEiii}{Anne}
\newcommand{\NAMEiv}{Rob}
\newcommand{\SENTi}{When did \NAMEii \ meet \NAMEi ?}
\newcommand{\SENTii}{What did \NAMEiii \ call \NAMEi ?}
\newcommand{\SENTiii}{Does \NAMEiv \ like haning out with \NAMEi ?}
\begin{document}
\randomize{
\SENTi,\SENTii,\SENTiii
}
\end{document}
\@romanto convert. – John Kormylo May 18 '18 at 15:51