- 阅读权限
- 255
- 威望
- 0 级
- 论坛币
- 1764 个
- 通用积分
- 4.2602
- 学术水平
- 9 点
- 热心指数
- 12 点
- 信用等级
- 3 点
- 经验
- 4853 点
- 帖子
- 129
- 精华
- 0
- 在线时间
- 419 小时
- 注册时间
- 2013-11-30
- 最后登录
- 2025-6-27
|
孤单的我们 发表于 2017-6-26 16:39 
请贴出你的代码 - %macro RTftemp1(_headingFont="宋体",_docFont="宋体",_TitleFont="宋体",
- _textfont="宋体",_textsize=9.1pt,/*字体字号的设置*/
- _bottommargin=15mm,_topmargin=10mm,
- _rightmargin=15mm,_leftmargin=20mm,/* 页边距的设置 */
- rules=group,frame=hsides /* 表格边框的设置 */
- );
- Options NoDate NoCenter NoNumber NoMPrint NoMLogic NoSource NONOTES NOSOURCE2;
- /*============================================================================*/
- ODS PATH work.templat(update) sasuser.templat(update) sashelp.tmplmst(read);
- proc template;
- define style styles.SAR_Style;
- parent =
- /* styles.default;*/
- styles.sasdocprinter;
- %*styles.statdoc;
- replace fonts /
- 'TitleFont' = (&_TitleFont.,9.1pt, ROMAN)
- 'TitleFont2' = (&_TitleFont.,9.1pt, ROMAN)
- 'headingFont' = (&_headingFont.,10pt, BOLD ROMAN)
- 'docFont' = (&_docFont.,10pt)
- 'footFont' = (&_TitleFont.,9.1pt)
- 'StrongFont' = ("ITC Bookman, Times Roman",10pt,Bold)
- 'EmphasisFont' = ("ITC Bookman, Times Roman",10pt,Italic)
- 'FixedEmphasisFont' = ("Courier",9pt,Italic)
- 'FixedStrongFont' = ("Courier",9pt,Bold)
- 'FixedHeadingFont' = ("Courier",9pt,Bold)
- 'BatchFixedFont' = ("SAS Monospace, Courier",7pt)
- 'FixedFont' = ("Courier",9pt)
- 'headingEmphasisFont' = ("ITC Bookman, Times Roman",10pt,Bold Italic)
- ;
- **表格;
- replace table from output /
- frame = &frame
- rules = &rules
- borderwidth = 3
- vjust = middle
- outputwidth = 100%
- protectspecialchars = off
- ;
- **主体文件;
- replace body from document /
- bottommargin = &_bottommargin.
- topmargin = &_topmargin.
- rightmargin = &_rightmargin.
- leftmargin = &_leftmargin.
- ;
- **text;
- replace usertext from Note/
- font_face=&_textfont.
- just=l
- font_size=&_textsize.
- vjust=middle;
- style SysTitleAndFooterContainer from Container
- "Controls container for system page title and system page footer." /
- rules = NONE
- frame =
- below
- /* void*/
- vjust=BOTTOM
- OUTPUTHEIGHT=1
- outputwidth = 100%
- cellpadding = 0
- cellspacing = 0
- borderwidth = 1;
- end;
- run;
- %exit:
- %mend RTftemp1;
复制代码
|
|