List objects in libreoffice which are separated by text

I want to number the figures I use in the text. For example:

Some text
(here a drawing)
“Figure 1”

More text
(here another drawing)
“Figure 2”

More text
(here another drawing)
“Figure 3” …

I can write “Figure 1” and “Figure 2” manually but if later I want to insert another figure between Figure 1 and Figure 2 (which obviously will be named Figure 2) then I have to rename the old Figure 2 to Figure 3, then rename figure 3 to figure 4 and so on. I would like that to be automatic like in a numbered list in which if I want to put an element in between two numbers Libreoffice automatically renumbers all the other objects.

By doing it manually I lose a lot of time because I also need to rename all the references in the text: all the references which said “like in figure 3” now should say “like in figure 4” and so on and on. So if for example I have 50 figures and I put some new figure as figure 2 then I need to rename all the other 49 figures manually which is insane, I just need libreoffice to increment all the other numbers in one.

I advised you to watch this video tutorial - in 6 minutes you will know enough to deal with your problem.

2 Likes

Thanks JohnSun, your video has the solution I needed. :slight_smile:

  1. Insert a figure and click on it to select it (or click on an existing one)
  2. Insert>Caption
  3. Choose the Category or create your own one
  4. Add the caption
  5. OK

I recommend you erase your manual captions before applying this procedure otherwise your existing captions won’t be included in the automatic list.

Since the numbers are known by Writer (because they are internally managed), you can also cross-reference them across the document (with Insert>Cross-reference) so that the reference is automatically updated whenever you add or remove figures.

This procedure offers also the possibility to automatically build a list (index or table) of figures.

1 Like

Excelent, great your idea about the creating the table