楼主: frackdeng
2902 1

[问答] RTF 表格:footnote前空行字体如何调整 [推广有奖]

  • 0关注
  • 0粉丝

本科生

80%

还不是VIP/贵宾

-

威望
0
论坛币
109 个
通用积分
0
学术水平
4 点
热心指数
3 点
信用等级
3 点
经验
1254 点
帖子
50
精华
0
在线时间
178 小时
注册时间
2009-12-29
最后登录
2020-11-26

楼主
frackdeng 发表于 2017-1-4 21:34:23 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
现在表格中footnote前面空白行字体为12pt, 现在需要调整为9pt。 请问如何用sas实现。

表格截图:


程序部分:
%let line="@R/RTF'\fs0\brdrb\brdrs\brdrw30";

proc template;
  define style styles.kltnr_9_uk;
  parent=styles.rtf;
replace fonts/
  'TitleFont'= ("Courier New", 9pt)
  'TitleFont2'= ("Courier New", 9pt, Bold)
  'FixedFont'= ("Courier New", 9pt, Bold)
  'StrongFont'= ("Courier New", 9pt, Bold)
  'docFont'= ("Courier New", 9pt)
   'footFont'= ("Courier New", 9pt)

  'EmphasisFont' = ("Courier New", 9pt,normal)
  'headingFont' = ("Courier New", 9pt)

   'headingEmphasisFont' = ("Courier New", 9pt)
   'FixedEmphasisFont' = ("Courier New", 9pt)
   'FixedStrongFont' = ("Courier New", 9pt)
   'FixedHeadingFont' = ("Courier New", 9pt)
   'BatchFixedFont' = ("Courier New", 9pt);

replace color_list /
  'link' = blue
  'bgH' = white
  'fg' = black
  'bg' = white;

replace body from Document/
  bottommargin=1.26in
  topmargin=1.26in
  rightmargin=1in
  leftmargin=1in;

replace table from output/
  frame = box
  rules = all
  cellpadding = 0
  cellspacing=0
  borderwidth=0;
  end;
run;

data class;
    set sashelp.class;
    page=ceil(_n_/10);
    heightc=catx(' - ',put(height,best.),put(weight,best.));
run;

options papersize=letter orientation=landscape nodate nonumber nobyline center missing=" ";
options formchar="|----|+|---+=|-/\<>*";
ods escapechar="@";
ods listing close;

title 'title title';
footnote 'footnote footnotefootnotefootnotefootnotefootnotefootnotefootnotefootnotefootnote';

ods rtf file="G:\Projects\SST6006\007-01\csr\user\dxh\Footnote\footnote.rtf" style=kltnr_9_uk ;

proc report data=class split='~' missing nocenter nowd headline headskip;

    column page name sex age heightc weight;

    define page  /order noprint;
    define name  /display "Name" &line. style(header)=[just=left asis=on] style(column)=[cellwidth=2.9in just=left asis=on];
    define sex   /display "Sex" &line. style(header)=[just=center asis=on] style(column)=[cellwidth=1.5in just=center asis=on];
    define age   /display "Age" &line. style(header)=[just=center asis=on] style(column)=[cellwidth=1.5in just=center asis=on];
    define heightc   /display "Height" &line. style(header)=[just=center asis=on] style(column)=[cellwidth=1.5in just=d asis=on];
    define weight   /display "Weight" &line. style(header)=[just=center asis=on] style(column)=[cellwidth=1.5in just=center asis=on];
   

    compute before _page_ ;
        line &line.;
    endcomp;

/*    break after page/page;*/

    compute after _page_ ;
        line &line.;
    endcomp;
run;


ods rtf close;
ods listing;
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:footnote note foot not FOO replace parent style 如何 程序

沙发
frackdeng 发表于 2017-1-5 14:03:03

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-3 00:17