TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wonder if there is a conflict between the align environment and the exam class. I have the following and it gives an error for \begin{align*}


\date{ }   


Please submit the answers by placing hard copy solutions in the assignment boxes.

\qformat{\textbf{Question~\thequestion.} \hfill} 

\question Given the following histories:

H_{1} = & \{W_{2}(x), W_{1}(x), R_{3}(x), R_{1}(x), W_{2}(y), R_{3}(y), R_{3}(z), R_{2}(x)\} \\
H_{2} = & \{R_{3}(z), R_{3}(y), W_{2}(y), R_{2}(z), W_{1}(x), R_{3}(x), W_{2}(x), R_{1}(x)\} \\
H_{3} = & \{R_{3}(z), W_{2}(x), W_{2}(y), R_{1}(x), R_{3}(x), R_{2}(z), R_{3}(y), W_{1}(x)\} \\
H_{4} = & \{R_{2}(z), W_{2}(x), W_{2}(y), W_{1}(x), R_{1}(x), R_{3}(x), R_{3}(z), R_{3}(y)\}

\part Which of the above histories are conflict equivalent and why?
\part Which of the above histories are serializable and why?
share|improve this question

closed as too localized by clemens, Kurt, Stefan Kottwitz Nov 17 '12 at 0:23

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

You're aware you're not loading amsmath (which you need), are you? – clemens Nov 16 '12 at 20:11
Real red face -- no, I had totally missed that straightforward issue. Thanks much. – ozsu Nov 16 '12 at 20:13
don't worry, it happens to all of us :) except egreg :) – cmhughes Nov 16 '12 at 20:14
@cgnieder: Started typing my answer before your comment (+1 for it) but was too slow. Well, should this be closed as too localized now? – Stephen Nov 16 '12 at 20:24
@Stephen probably, @ ozso: never mind :) – clemens Nov 16 '12 at 20:35

The align (and align*) environment is defined by the amsmath package. Thus you need to add \usepackage{amsmath} to your preamble. I would place it immediately before \usepackage{amssymb}, thus that the AMS packages are loaded one after the other.

share|improve this answer

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