SAS中文论坛

标题: 请教 如何在sas中清除rtf输出中的页眉 [打印本页]

作者: shiyiming    时间: 2008-8-14 07:51
标题: 请教 如何在sas中清除rtf输出中的页眉
[code:n4notfcd]ods rtf file='c:\sample.rtf' bodytitle;
title 'My Sample Title';
footnote 'My Sample Footnote';
proc report data=sashelp.class nowd;
column age height weight;
define age / group;
define height / mean f=8.;
define weight / mean f=8.;
run;
ods rtf close;[/code:n4notfcd]

谢谢!
作者: shiyiming    时间: 2008-8-14 19:32
标题: Re: 请教 如何在sas中清除rtf输出中的页眉
SAS8.2中,nonumber和bodytitle不能同时出现,所以要用number,同时用proc template让页眉中的页码显示白色
[code:1gd0jogh]

options nodate number;

proc template;
define style mystyle;
  parent=styles.rtf;
   style pageno from titlesandfooters /
    foreground=white
    font_size=6pt;
end;
run;

ods rtf file="file.rtf" bodytitle style=mystyle;

[/code:1gd0jogh]

<!-- m --><a class="postlink" href="http://support.sas.com/kb/5/115.html">http://support.sas.com/kb/5/115.html</a><!-- m -->
作者: shiyiming    时间: 2008-8-14 22:46
标题: Re: 请教 如何在sas中清除rtf输出中的页眉
试了一下,页眉还是没有被清除!
作者: shiyiming    时间: 2008-8-19 16:47
标题: Re: 请教 如何在sas中清除rtf输出中的页眉
SAS8.2中,页眉不能被清除,只能把页眉中的文字显示白色,打印出来就看不见了
作者: shiyiming    时间: 2008-8-19 20:20
标题: Re: 请教 如何在sas中清除rtf输出中的页眉
SAS 9.1.3中可以清除页眉吗?




欢迎光临 SAS中文论坛 (https://mysas.net/forum/) Powered by Discuz! X3.2