Automatically adding a caption to an image or table

This forum is for all Flare related Tips and Tricks.
Have a tip or trick you use while working in Flare? Share it here.
Post Reply
BenS
Jr. Propeller Head
Posts: 3
Joined: Wed Sep 07, 2016 11:01 pm

Automatically adding a caption to an image or table

Post by BenS »

Hi all,
Is it possible to automatically add a caption to an image or table? The best scenario is this:
When I insert an image or table to a topic, a caption with a predefined style (e.g. p.caption or p.tablecaption) is automatically inserted above the image/table. I will then type the name of the image or table.
The end result should be something like this:

Figure 1.2: Image name (style=p.caption)
Image (style=img)

Table 1.4 Table name (style=p.tablecaption)
Table (table style=blue_table)

Ideas?
M_Mercer2015
Propeller Head
Posts: 22
Joined: Fri Jan 22, 2016 8:57 am

Re: Automatically adding a caption to an image or table

Post by M_Mercer2015 »

For tables, go into the table properties. You can select whether you want the caption to appear above or below the table. For images we created a style for image paragraphs and for captions. This allowed me to have the caption appear immediately below the image. I'm still pretty new, I don't know if there is another way to do this.
ClanMoffat
Jr. Propeller Head
Posts: 8
Joined: Thu Jun 22, 2023 2:34 am

Re: Automatically adding a caption to an image or table

Post by ClanMoffat »

If you import a table, for example from Excel, the table gets cleared each time, so setting the table properties manually is pointless...
Ideally there would be a nice, clean way to add the caption and table count into CSS...
I've tried, but no joy as yet...
Post Reply