Changing Specific Style Elements

The previous section described abstract style elements and how other elements inherit attributes from abstract style elements. You can also change a specific style element as well as the abstract element from which it inherits attributes. For example, the PROC TEMPLATE code that follows defines style DIFFHDRS, which is based on Styles.Default, and changes both the abstract style element Header and the style element RowHeader.

PROC TEMPLATE; DEFINE STYLE styles.diffhdrs; PARENT=styles.default; CLASS Header / font = ("Arial, Helvetica, sans-serif",5,Bold) background=black foreground=white just=center; CLASS RowHeader / font = ("Courier New, SAS Monospace",4,Bold) background=white foreground=black just=right; END; ...

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.