Using Pre-Defined Styles
It may come as a surprise to you that SAS comes with over 50 style definitions that are ready to use. The only thing that you have to do to apply one to your ODS reports is to use the style= option. An example of using a pre-defined style with ODS HTML output is shown below.
ODS HTML STYLE = styles.seaside; PROC PRINT DATA = sashelp.class(OBS = 8); RUN; ODS HTML CLOSE;
Here is another example using a style with PDF output.
ODS PDF STYLE = styles.journal; PROC PRINT DATA = sashelp.class(OBS = 8); RUN; ODS PDF CLOSE;
Where Are These Styles Coming from?
You might be wondering where the styles styles.seaside and styles.journal ...