個人資料
文章分類
歸檔
正文

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)
評論
目前還沒有任何評論
登錄後才可評論.