Being as stubborn as I am, I use Microsoft Word 2010 to write a long, technical (mathematical) document.
I want to number my theorems, and I also want to make them referenceable later on. I tried

but this doesn't entirely work. Quite unexpectedly, the second theorem becomes theorem 3:

What is wrong with my fields?