Hi:
ODS does not have the concept of a "tab" control.
Although the RTF specification DOES have a \TAB instruction -- the issue with the \TAB instruction is that different folks might have different TAB stops set in their word processor -- so that would not necessarily guarantee that the same amount of space was represented by a \TAB control string with RTF. I have seen folks insert a \TAB instruction into their RTF file using ODS -- but I prefer to use LEFTMARGIN or INDENT style attributes (INDENT or TEXTINDENT).
I generally start with INDENT and sometimes use LEFTMARGIN, as shown in Example 1 on page 9 of this paper:
http://www.lexjansen.com/pharmasug/2008/sas/sa08.pdf
created with the following syntax:
[pre]
style={font_weight=medium leftmargin=12pt}
[/pre]
This PROC TABULATE code will do an indent of the class level values for AGE using INDENT= or TEXTINDENT= (which are aliases for each other):
[pre]
ods listing close;
ods html file='c:\temp\tab_indent_use.html' style=sasweb;
ods rtf file='c:\temp\tab_indent_use.rtf';
ods pdf file='c:\temp\tab_indent_use.pdf';
proc tabulate data=sashelp.class;
class age / style={cellwidth=2in};
classlev age /style={cellwidth=2in font_weight=medium indent=20};
var height weight;
table age ,
height*mean weight*median;
run;
ods _all_ close;
[/pre]
For more information on the INDENT= (or TEXTINDENT=) option, look under the documentation topic entitled: "Style Attributes and Their Values".
cynthia