| Search Locate Previous Next | Contents |
NewLeaf is supplied with a small set of built-in styles for major and minor headings, body text, and APL listings. To list these ...
nlGallery © lists current styles
You can add new styles, or over-write any of the existing set at any time. Probably it would be best to put all your style definitions together at the top of your report like this:
'h1=Major Heading' nlDefineStyle ('font' 'Tib,18')('align' 'cen')
'h2=subhead' nlDefineStyle ('font' 'tib,13')('minafter' 72)
'body=body text' nlDefineStyle ('font' 'he,9/11')('keep' 3)
Then set the base style to body text with:
nlStyle 'body'
... so that it becomes the base style for your document.
Note that you must give the style name in full here (but matches are case-insensitive) but that it is OK to abbreviate the property names down to the initial 2 characters. If you run nlGallery again, it will show the properties with their full names.
Styles are reset to shipped defaults whenever you run nlInit or nlClose. To make your changes permanent, set:
nldefgallerynlgallery
... and save the workspace. Remember to re-apply the changes whenever you upgrade your copy of NewLeaf.