Super User is a question and answer site for computer enthusiasts and power users. 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

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

Field codes

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

Field results

What is wrong with my fields?

share|improve this question

It looks to me as though inserting the SEQ field inside the SET field is making n increment twice instead of just once.

I got it to work using the following:

Theorem {SEQ theorem \n}

This is the first theorem.

Theorem {SEQ theorem \n}

This is the second theorem.

According to {REF gauss \H!} and {REF stokes\H!},

and then adding the gauss and stokes bookmarks manually (using Insert | Bookmark).

When I toggle the field codes back off, it displays:

Theorem 1

This is the first theorem.

Theorem 2

This is the second theorem.

According to Theorem 1 and Theorem 2,

share|improve this answer
Thank you for your reply. Yes, this is the method I use myself. When I wrote the Q a few years ago I was hoping for a method that does not involve 'invisible' things like GUI-created bookmarks. But they do work just fine. You can also display bookmarks in the text: see the last item in – Andreas Rejbrand Jan 18 '15 at 22:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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