I think I’m missing something obvious, but having spent a couple of hours grappling, I’m posting here …
While writing a technical document, I want to have a numbered figure ‘label’ under each figure. So, I insert Figure <$n:figure:nameofthingy> and apply a defined style of “figure” to the text. Basically, the style centres the text “Figure 1”, changes to a bold font, and slightly smaller text than the body style.
When I compile, all text gets replaced with body styles, so I lose the centre/font/size attributes set for the “Figure 1” text. It becomes left justified and in the same text as the rest of the document.
I can override each of these individual figure labels throughout my document (type in text, apply “figure” style, highlight the text, then go to format->formatting->preserve formatting), but surely there’s something in the compilation output that allows me to specify the centre/font/size for each style I have created on output.
So, for example, if I wanted to change all the “figure” styles from its current sensible format to being in comic sans, underlined and in blue on output, the compiler should do it … the alternative is that I have to go to every figure throughout the document, change the style and then apply a format->formatting->preserve formatting.
… I hope that makes sense.
Basically, I want to know how to create a compiler override on output for the style presets I define. Alternatively how to use the style preset I used in the main document without having to go through the format->formatting->preserve formatting routine each time I add a new figure.
Thanks in advance.