About the Tasks That You Will Perform

Once you have specified the ODS statements that you need to generate the appropriate output type, you can add options to those statements to customize the presentation of your output. The quickest way to make a change to all of your output at once is to specify the STYLE= option in the ODS destination statement.
You can view all styles that are provided by SAS in the Templates window. To open the Templates window, do one of the following:
  • Select Results in the Results window, and then select Viewthen selectTemplates from the taskbar.
  • Right-click Results in the Results window, and then select Templates.
  • Issue the following command on the command line in the SAS windowing environment:
    odstemplates
To view the styles provided by SAS, select Templatesthen selectSashelp.Tmplmstthen selectStyles.
SAS Styles
SAS Styles
By default (for the SAS windowing environment), ODS uses the following styles for each output destination:
Table of Default Styles
Output Destination
Default Style
RTF
RTF
HTML
HTMLBlue
PDF
Pearl
EPUB
Daisy
POWERPOINT
PowerPointLight
EXCEL
Default
The default style for each ODS destination can be viewed in the SAS Registry Editor. For the following examples, the Science style is used to ensure that the look of the presentation is consistent. To view the source of the Science style in the Template Browser window, do one of the following:
  • Double-click the Science style.
  • Right-click Science, and then select Open.
Source of Science Style Viewed in the Template Browser Window
Source of Science Style Viewed in the Template Browser Window
You can customize specific areas of some procedure output by specifying the STYLE= option in specific procedure statements. With the STYLE= option, you can change the attributes of cells. Changes include aligning text, adding URLs, changing rules, and changing the size, width, and color of a font.
The STYLE= option is specified in slightly different ways for individual procedure statements. However, the general form of the STYLE= option for a procedure statement is:
STYLE=<style-attribute-name=style-attribute-value>
The procedures that allow direct style control are PROC PRINT, PROC REPORT, and PROC TABULATE. For documentation on these procedures, see Base SAS Procedures Guide. For information about using ODS and the SAS Registry Editor, see Changing SAS Registry Settings for ODS in SAS Output Delivery System: User’s Guide.