I know that \captionsetup{format=hang}
will give me a figure caption like this:
Figure 1.3: Example: This is an example that is shown here. Look at the details of this
picture!
But how can I have something like this:
Figure 1.3: Example: This is an example that is shown here. Look at the details of this
picture!
Best Answer
The following declares a new option
addlabel
for thecaption
package to set an additional text for the label and a new caption label format (alsoaddlabel
to be used withlabelformat
), which uses this text. With this a text like Example: can be made part of the label, andhang
includes it.The code: