2

I am working with the exam class, and need to align some solutions. However, I would like to move the align environment up, so that it is on the same line as the question/part number. Is this possible? Thanks

4

You could use the aligned environment instead. It produces aligned multicolumn formulas in inline math mode, so it doesn't begin a new paragraph. Use aligned within \( ... \) or $ ... $ following the question/part number.

  • If you want the first line of the aligned environment to line up with the line of the question, you should use $\begin{aligned][t] (i.e., the optional argument [t] says to align the first line of the environment with the surrounding line). – Phil Hirschhorn Apr 24 '11 at 17:45
  • Thank you both very much! That is exactly what I was after! – user5073 Apr 25 '11 at 1:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.