Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to cross-reference figures in text

When editing content including graphic figures with a caption such as "Figure 9. Statistical Distribution of  Y", I need to refer the figure in the text, for example

"The statistical distribution of Y is shown in Figure 9", where Figure 9 is a cross-reference link which allow the dynamic change of figure number if I modify the text and introduce another figure above the existing figure 9, in such case Figure 9 is automatically renumbered to Figure 10, and the cross-reference link is updated to Figure 10, instead of Figure 9.

Is it possible?

1 answer

1 accepted

0 votes
Answer accepted
Bill Bailey Community Leader Nov 19, 2020

Generally, numbered figures and tables are a print concept, and not recommended in an HTML context.

You could add an anchor in front of your figure (with a unique name, then link to that anchor). You link text can just be figure or you could be more formal as Figure:<figure_title>.

You COULD create a user macro to stylize a figure title (not use the caption function), then write CSS that will auto number the figure titles for you. Alternatively, you could rewrite the CSS for the caption function BUT it would impact all pages in a space.

Either way, It would work as you say, renumbering as you insert new figures. BUT there is no way to dynamically update the link text (without a lot of work)

Thank you Bill, your answer is much appreciated. Perhaps this is also food for thought for the Atlassian development teams, as more and more corporation use Confluence wiki's to document their various processes. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

78 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you