Search Locate Previous Next Contents

How to Mark Text as Bold or Italic

When emphasis is required in a table or as part of a paragraph, you can mark the appropriate elements with the HTML-style tags <b> for bold and <i> for italics. Another tag you can use is <sup> for superscript which adjusts the baseline and font size appropriately.

<b>Here is some Bold Text</b>
<i>This will be in italics</i>
<sup>This is a footnote reference (small superscript)</sup>

Typically this would be used to emphasise a name or address in a form letter such as ...

leaf.Flow 'Dear Mr ',‘name
leaf.Flow 'What a surprise to see the <i>',‘prize,' </i> at ...'

... and so on.

Similarly, you could use ‘Item<sup>1</sup>’ to make a footnote reference from within a table. Note that it is good practice to ‘escape’ the characters < and > as &lt; and &gt; when they occur within bold or italic sections. Otherwise there is a possibility that these characters will be misinterpreted as closing tags, and will not show in your output.

See also ...
leaf.Flow – flow text into frames


Continue to: How to Format a Table
© Copyright Causeway Graphical Systems Ltd 2001