Search Locate Previous Next Contents

Text within a Paragraph

HTML tags
Normally, NewLeaf handles a complete paragraph as a unit, and assumes that there is no variation of typestyle, size or line-spacing within it. However a small number of HTML-style tags are supported if you need to add emphasis or footnote references within a table or the body text. These are:

<b>Here is some Bold Text</b>
<i>This will be in italics</i>
<code>Code is fixed-pitch courier</code>
<sup>This is a footnote reference (small superscript)</sup>
<sub>This is small and sub-scripted</sup>
<font face=symbol>This would be in Symbol font</font>

Bookmark references
You can refer to a bookmark with an XML-style tag such as <pageref “mybookmark” /> which will be resolved to the page-number where the bookmark is located. If the report is completed and the bookmark has not been defined, the string “ERR” is shown in-place of the page number. This may be used to refer to other topics in the document by page-number, or to build a simple Table of Contents at the beginning.

Hyphenation
NewLeaf does not attempt any automatic hyphenation, however the ‘tilde’ character is taken by default as a ‘soft hyphen’ so you can include it in long words such as super~cali~frag~ilistic as many times as you like. If necessary, NewLeaf will take one of these as a line-break opportunity and then eliminate the remaining tildes from the broken word. This applies wherever text is wrapped, for example in paragraphs output by leaf.Flow, in table cells formatted by leaf.table.Spread and in table column headings.

See also – leaf.SoftHyphen


Continue to: Preview and Printing
© Copyright Causeway Graphical Systems Ltd 2003