SAS ODS Styles
When you output information to a SAS ODS format, the tables, graphs and text are defined with default colors and fonts. There are several built-in ODS styles that you can select. Each style is based on some theme or purpose. For example the Journal style formats your output in a black and white that is appropriate for inclusion in a journal article. The option to specify a style is
STYLE=styletype;
This option appears in the ODS statement. For example
ODS RTF STYLE=JOURNAL;
...some procedures
ODS RTF CLOSE;
To see a listing of the available SAS styles available, use the code:
Proc template; liSt styles; RUN
This output was created using the program (the FERT dataset is the same as in the MEANS tutorial):
ODS RTF;
ODS RTF STYLE=ANALYSIS;
DATA TMP; SET FERT;
WT_IN_ANALYSIS_STYLE=WT;
PROC MEANS MAXDEC=2;
VAR WT_IN_ANALYSIS_STYLE;
CLASS FEEDTYPE;
RUN;
ODS RTF CLOSE;
The following example can help you select which style you want to use. Notice that the style name is in the Analysis Variable designation. For example the variable WT_IN_Analysis_Style means that tha style used was "Analysis."












