个人资料
文章分类
归档
正文

How to change font size for sas ods output file

(2006-08-03 19:43:39) 下一个
PROC Template;

    DEFINE style MYSTYLE;  * create a new custom style named MYSTYLE;
    PARENT=styles.rtf; * copy default style template definition for RTF; 
  
    * override the font definition of the parent ;
    replace fonts / 
       ' TitleFont' = ("Comic Sans MS",16pt,Bold )
       'TitleFont2' = ("Comic Sans MS",16pt,Bold )
       'docFont' = ("Arial",8pt)
       'StrongFont' = ("Arial",10pt,Bold Italic)
       'FixedStrongFont' = ("Courier",8pt,Bold)
       'EmphasisFont' = ("Arial",8pt,Italic)
       'FixedEmphasisFont' = ("Courier",8pt,Italic)
       'headingFont' = ("Arial",12pt,Bold)
       'headingEmphasisFont' = ("Arial",12pt,Bold Italic) 
       'FixedHeadingFont' = ("Courier",12pt,Bold)
       'BatchFixedFont' = ("Courier",8pt) 
       'FixedFont' = ("Courier",8pt);
     end;
run;

ods rtf file='./ex1.rtf' style=MYSTYLE;
[ 打印 ]
阅读 ()评论 (0)
评论
目前还没有任何评论
登录后才可评论.