Modifying the Default Font Sizes for RTF Output

When you want to change the font sizes for RTF output, you need to look at the default style definition for RTF output, which is Styles.RTF. Recall that Styles.RTF is based on Styles.Printer, which in turn is based on Styles.Default.

By running PROC TEMPLATE with a SOURCE statement for Styles.RTF, you can find out how Styles.RTF specifies the attributes in its fonts element. Figure 15.6 shows the fonts element in Styles.RTF.

To modify the fonts used for RTF output, you follow a similar process to that in the previous example by defining a new style that modifies the settings in the fonts element in Styles.RTF.

The following PROC TEMPLATE step creates template RTFSmaller that reduces the font sizes. ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.