Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have many pictures in a document and I reference them very often in text. I don't want to lose the order so I am using Insert -> Cross-reference. This opens the cross-reference dialog where I can set Reference type to Picture.

For "Insert reference to", there are 5 choices:

- Entire caption
- Only label and number
- Only caption text
- Page number
- Above/below

What I need is a reference that would be inserted like this: [4], and not like this: [Picture 4]; None of these options enable me to do it.

Is there any way to make Word 2007 insert a reference to only Caption Number?

Note: The document is written in Croatian language which has 7 declension cases, so using "Picture 4" would not be valid in all cases. Actually caption label Picture is set to croatian word "Slika" and when I need to say say "in the picture" I can't because it would be "na Slici 5." and not "na Slika 5." (like Word would make me do). That's why I need to reference only the caption number. Is that possible in Word 2007?

share|improve this question

3 Answers 3

I had the same problem - luckily the solution (found here) is very simple!

  1. Insert the reference as you normally would
  2. Right click the reference (the gray field)
  3. Select "Toggle field codes"

    You should see something like this:

    { REF _Ref218925266 \h }
    
  4. Simply change this to:

    { REF _Ref218925266 \# 0 \h }
    

Voila! Now Word persistently only shows the number.

(Right click to "Toggle field codes" once again, to get back to normal text display.)

share|improve this answer
    
I've been looking for this for a long time! Thanks! –  Avinash Bhat Jun 13 '13 at 21:01
    
This is simple but unfortunately it won't work if your numbering includes chapter number like "Figure 2.1". There is a solution for this case too but I can only post it as a comment because I have too little reputation earned :( So the solution is to select "Figure ", go to Format settings and check the "hidden" tick. For this to be preserved after update you should add \* MERGEFORMAT to the field code. –  lapis Nov 11 '13 at 1:17
    
Actually I found out that Word is smart enough to add \* MERGEFORMAT automatically when you change the formatting, so the method is really not too fiddly. –  lapis Nov 11 '13 at 2:08

Once you have created a cross-reference, you can change it at anytime.

If you want to change the cross-reference text, you can directly edit the text in the document, as you would change any other text, without destroying the cross-reference.

share|improve this answer
    
This is true, but when updating references (F9) it will rever to original reference label. Therefore, this won't work. –  Kornelije Petak Jun 10 '10 at 9:00
    
@kornelijepetak: A convoluted solution would be to give these a special style, so that after F9 one could use find-and-replace with wildcards within that style to put the text back in order. I hope someone can come up with a better solution. –  harrymc Jun 10 '10 at 9:30

"Picture" is the Label and "4" is the Number.

I don't think there's an option to only cross-ref the number.

However, when inserting a caption there is an option to "Exclude label from caption". Selecting this will make the cross-ref type "Label and Number" do what you want, but this will mean the caption on the pictures will be "4 - description" and not "Picture 4 - description", which obviously might be another problem for you.

share|improve this answer
    
Too bad. I've tried to exclude the label from caption and then add "Picture" manually in front of the caption. No good. Whatever is written manually in front of the caption number is still considered as a label, so it doesn't work. –  Kornelije Petak Jun 10 '10 at 9:06

protected by slhck Jul 26 '12 at 17:03

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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