Date: Wed, 8 Sep 2004 18:26:29 -0400
Reply-To: "Gerstle, John" <YZG9@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Gerstle, John" <YZG9@CDC.GOV>
Subject: Version 9 - Font_Face defaulting to SAS Monospace
Content-Type: text/plain; charset="us-ascii"
I've a question about version 9 and ODS.
When I ran the code below using version 8.2, the RTF document rendered
the PUT statements in Times New Roman. But when I ran the same code
using version 9.1.2, the title, footnote and the PUT statements were in
SAS Monospace.
/*****/
ods rtf file="T:\Tables.rtf" bodytitle style=minimal;
ods escapechar='^';
title j=c "^S={font_size=3 font_weight=bold}" "Tables";
footnote j=c "^S={font_size=1 }" "%sysfunc(date(), worddate.) at
%sysfunc(time(),timeampm7.)";
data _null_;
file print;
put / @20 "^S={font_size=2 }" "Total Number of Records is
&count." /
@40 "^S={font_size=2 }" "Total Number of Possible
Records is &total." ;
run;
/*****/
I discovered that if I changed the TITLE and FOOTNOTE code to include
FONT_FACE:
title j=c "^S={font_size=3 font_weight=bold font_face='Times New Roman'
}" "Tables";
footnote j=c "^S={font_size=1 font_face='Times New Roman' }"
"%sysfunc(date(), worddate.) at
%sysfunc(time(),timeampm7.)";
I get Times New Roman.
But when trying to apply it to the PUT statements, there's no change -
still SAS Monospace.
What am I missing here? Is there a specific Template I need to modify
to change the default font face for DATA _NULL_?
data _null_;
file print;
put / @20 "^S={font_size=2 font_face=TimesNewRoman }"
"Total Number of Records is &count" /
@40 "^S={font_size=2 font_face=TimesNewRoman }"
"Total Number of Possible Record is
&total." ;
run;
Thanks for any suggestions ideas etc...
John Gerstle
CDC Information Technological Support Contract (CITS)
Biostatistician