ods pdf file='e:\temp.pdf';
%let ls=130;
%let ps=60;
option mprint pageno=1 nodate ls=&ls ps=&ps FORMCHAR="|_---|+|---+=|-/\<>*" ;
%global LINE BLANK;
data _null_;
call symput('LINE',repeat('-',&ls));
call symput('BLANK',repeat(' ',&ls));
run;
title1 "&blank";
title2 'SAS' ;
footnote1 'The Power To Know';
footnote2 "&blank";
data _null_;
file print titles linesleft = ll pagesize =&ps linesize = &ls;
put
"SAS"/
"&line"/
"Statistical Analysis System"/
"&blank"/
"SPSS"/
"&line"/
"Statistical Product and Service Solutions"/
"&blank"/;
run;
ods pdf close;
大家先运行一下一上的代码。
1.我设置输出的linesize的数值已经和我建立的横线宏变量数值是对应的,为什么横线还是超出了?
2.如何把title靠左?
3.怎样改变内容的字体?
(1)我想把PUT语句里的内容的字体变成'Arial',
(2)'SAS'和'SPSS'字体变大加粗,对应的那行加上阴影
(3)"Statistical Analysis System"与"Statistical Product and Service Solutions"改成红色字体。
各位大侠帮帮忙~感激不尽