0

我想在 pdf 文件中输出 SAS 结果。在脚注中,我想在页面的右下角有 2 行:

  • 博士研究
  • 第 1 页,共 10 页

这是一个例子:

options nodate nonumber;
data work.animals;
    input name $ weight;
    datalines;
    monkey 20
    shark 500
    lion 200
    wolf 120
    buffalo 400
    ;
run;

ods pdf file = 'C:\sasdata\animals.pdf';
ods escapechar= '!';
proc print data=work.animals;
    title 'Animals';
    footnote j = r 'Page !{thispage} of !{lastpage}';
run;
ods pdf close;
ods listing;
4

1 回答 1

1

用这个:

footnote j = r "Doc Research !{newline} Page !{thispage} of !{lastpage}";
于 2019-07-11T08:50:44.623 回答