SAS,在put语句中更改字体大小
SAS, change font size in the put statement
data _NULL_;
file print;
if e then put 'No observations';
set TableA end=e;
put 'here is the table A';
stop;
run;
如何更改 put 语句中引号的字体大小和颜色?
一般来说,您可能希望在标题声明中使用图形选项。
但是,可以使用通过 escapechar
引入的内联样式指令修改 ODS 输出。
ods pdf file='want.pdf';
ods escapechar = '^';
* standard options for title statement;
title color=white bcolor=blue bold italic height=36pt "Title for want";
data _null_;
file print;
put '^{style [fontsize=24pt color=Red]Hi}'; * inline styling;
run;
ods pdf close;
data _NULL_;
file print;
if e then put 'No observations';
set TableA end=e;
put 'here is the table A';
stop;
run;
如何更改 put 语句中引号的字体大小和颜色?
一般来说,您可能希望在标题声明中使用图形选项。
但是,可以使用通过 escapechar
引入的内联样式指令修改 ODS 输出。
ods pdf file='want.pdf';
ods escapechar = '^';
* standard options for title statement;
title color=white bcolor=blue bold italic height=36pt "Title for want";
data _null_;
file print;
put '^{style [fontsize=24pt color=Red]Hi}'; * inline styling;
run;
ods pdf close;