2

so I have a large manuscript with about a dozen figures throughout it. I'm editing it, so the figures end up getting moved around and such. The problem is that I have, many times throughout the text, phrases like "...as shown in figure xyz".

So, when I move these figures around, those figure numbers often refer to the wrong figures. Is there a way to link the number it displays to the actual figure so it will always display the right figure number, even if I change up the order?

Right now I'd basically probably wait till I'm finished and then go through once to make sure they're all right, but I shouldn't have to.

Thank you!

1

Sounds like you need to use cross references as opposed to typing in the figure number by hand.

Firstly make sure your figure exists and you have inserted a caption correctly (right click on picture/figure and select "insert caption". Choose the type of prefix - in your case Figure - the position and other options and then Insert)

When you come to the ""...as shown in figure xyz" bit type the ""...as shown in " part and then insert the cross reference as follows:

  • Choose the 'Reference' tab
  • Choose 'Cross-Reference' (part of the Captions block)
  • Choose reference type 'Figure'
  • Select the caption from the list
  • Choose what part of the caption to reference (in your case you want 'Only Label and number'
  • Choose inset

This sets the cross reference in the form of a field code.

In order to update all the references if stuff is moved around you need to update the fields. To do this, select the whole document (triple click in the left margin) and press F9. A similar effect can be achieved by print previewing the document (as long as the default update fields on printing option is still set). Individual codes can be updated by selecting the code (it will show a grey background), right clicking and then selecting 'Update Field'.

On a related note, setting up captions in this way allows you to have an auto updating Table of Figures and Table of Tables along with the Table of Contents should so desire.

| improve this answer | |
  • Wow thanks! Exactly what I was looking for I think. Just to be clear, if I move the figures around, selecting the whole document and pressing F9 will renumber the figures, right? There's one other little quirk I'm noticing: I was adding my figures in order, and they're all named "Figure x. <caption>" where x is the number. And they were all in order in the caption list (when I click "cross-reference") as I added them, but strangely the one for figure 5 and figure 7 are out of order. – YungHummmma Jul 13 '15 at 20:38

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.