I want to make a handout, which contains a lot of questions.
I want a output of this:
Another output is like this:
The 3rd output is like this:
-
Calculate 1+2
-
Calculate 1+2+3
-
Calculate 1+2+3+4
-
Calculate 1+2+3+4+5
-
Calculate 1+2+3+4+5+6
The problem here is just my example, I have thousands of middle school examination questions. Who can teach me to use only one TEX file output of three kinds of PDF files, thank you very much!
Best Answer
In addition to what erik said, I've found that for many classes I wanted the text of all the questions followed by each question with space to fill. I've extended the exam class to do this automatically, with just typing the questions once and a couple of passes of the compiler.
Here's a MWE showing how to use it. It will create another file and on a second pass, copy the questions on the top.