You can override character and paragraph format settings in the configuration sections listed in Table 42-3. For example, to specify new properties for a single paragraph in HTML, you could insert in the paragraph an HTMConfig PI marker with content different from the default:
<?dthtm HTMConfig="[HtmlStyles]Size5 Bold" ?>
In a macro, you would specify:
<$$[HtmlStyles]Size5 Bold>
Most configuration settings for text properties can apply to either a paragraph format or a character format. Temporary overrides lack a key to name the format to be affected; therefore, for a temporary override, where in the text you place the configuration PI marker with respect to paragraph and character formats is critical:
A persistent override affects the next instance of an element to which the paragraph or character format named by the Key in [Section]Key=Value is assigned, or the current instance if the PI marker is placed in an element to which a matching paragraph or character format is assigned; plus all subsequent instances in the same DITA file, unless changed again by a later override.
PI markers in replaced text are ignored
For [StyleCodeReplace], if placement code is already in effect because it was specified in the configuration file, any configuration PI marker in the replaced text is ignored. This means you cannot use a temporary override in a configuration PI marker for the replacement; instead you must use a persistent override that names the format to be replaced, and insert the configuration PI marker before the text to be replaced.
Place overrides to code with care
For [HTMLStyles], temporary overrides to Delete assignments must be inserted before the first text in the affected element to which the paragraph or character is assigned. Persistent overrides should be placed before the affected block or inline element.