ODS STYLE

Here I collect my study notes on SAS, including tips, sample codes, links, papers, ......
打印 被阅读次数

Two ways to get a list of styles:

(1) proc template;
             list styles / store = sashelp.tmplmst;
      run;

(2) Type odstemplate in the SAS command area, double-click on the folders for SASHELP.TMPLMST and STYLES.


Templates in styles folder:

Analysis       Education        Normal           Theme
Astronomy   Electronics      Printer             Torn
Banker         Festival           Rsvp               Watercolor
BarrettsBlue Gears              RTF                BlockPrinter
Beige           Journal            SasWeb           FancyPrinter
Brick           Magnify           Science            SansPrinter
Brown         Meadow          SeaSide          SASdocPrinter
Curve          Minimal           Sketch             SerifPrinter
D3d             Money                                    StatDoc
Default         NoFontDefault                        Statistical

Ocean (new in 9.2, similar with Analysis)
Harvest (new in 9.2, similar with Statistical)


Style elements and style attributes:
style(header)={font_face='Courier New'
                       font_size=4
                       background=blue
                       foreground=light yellow
                       just=left}
style(column)={........}
style(summary)={....
                           font_weight=bold
                           font_style=roman
                           cellheight=50
                           Vjust=B}
style(report)={bordercolor=black
                       borderwidth=2
                       backgroud=red
                       cellspacing=0
                       cellpadding=5
                       rules=rows
                       frame=box}


* PROC PRINT, PROC REPORT, AND PROC TABULATE provide a syntax method to overide styhle elements
comput before _page_ / Center 
            style={preimage='Confidential.jpg'......}



登录后才可评论.