楼主: MissGoldenWeek
2572 4

请教个title statement的小问题 [推广有奖]

  • 0关注
  • 0粉丝

已卖:327份资源

高中生

85%

还不是VIP/贵宾

-

威望
0
论坛币
3153 个
通用积分
2.2400
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
1328 点
帖子
18
精华
0
在线时间
52 小时
注册时间
2009-12-28
最后登录
2022-11-29

楼主
MissGoldenWeek 发表于 2010-9-18 02:14:59 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
如果想将title的内容居中,是不是用justify=center这个option?
e.g. TITLE3  '(3b) Resorted by LN, Last Name'  justify=center;

我试了好多遍都是left justified呢,是不是和版本有关呢?(我用的是9.1.3)
很小的问题但就是解决不了,真急人。先在此谢谢各位了!
二维码

扫码加我 拉你入群

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

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

关键词:statement Statemen Statem Title State 请教 statement Title

沙发
jingju11 发表于 2010-9-18 11:17:35
MissGoldenWeek 发表于 2010-9-18 02:14
如果想将title的内容居中,是不是用justify=center这个option?
e.g. TITLE3  '(3b) Resorted by LN, Last Name'  justify=center;

我试了好多遍都是left justified呢,是不是和版本有关呢?(我用的是9.1.3)
很小的问题但就是解决不了,真急人。先在此谢谢各位了!
Justification in TITLE statement specifies formatting options for the ODS HTML, RTF, and PRINTER destinations. It is nothing to do with your SAS version.

藤椅
MissGoldenWeek 发表于 2010-9-18 22:04:41
谢ls, 那如果我想title在.lst文件中居中,有没有什么方法?
BTW, 我说的title居中是指相对下面输出的内容居中,不是options center让整个内容居中的那种。

板凳
bobguy 发表于 2010-9-19 11:54:49
MissGoldenWeek 发表于 2010-9-18 22:04
谢ls, 那如果我想title在.lst文件中居中,有没有什么方法?
BTW, 我说的title居中是指相对下面输出的内容居中,不是options center让整个内容居中的那种。
Yes! you have to code it yourself.

Here is the idea,
1) get the linsize value from system option setting.
2) Calculate the center position or start point and padding other with nonprintable characters.

You can use a lot of building in features in ODS/rtf without doing any programmings. Nice isn't it?

报纸
MissGoldenWeek 发表于 2010-9-20 02:02:27
谢ls!
没想到还是有点麻烦的,我以为会有某个option直接可以解决呢

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-9 06:01