BookmarkSubscribeRSS Feed
deleted_user
Not applicable
ods rtf text = "^S={font_size=14pt font_face='Times Roman' font_weight=bold just=l background=#FFFFFF}OR Time";

The top margin is quite wide. What code do I use to adjust this top margin?

Thanks,
S
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
If you are using SAS 9.1.3 or SAS 9.2, then (per this Tech Support note) you should be able to use the System Options to alter the RTF margins starting in SAS 9.1:
[pre]
options topmargin=.5in bottommargin=.5in;
[/pre]

http://support.sas.com/kb/5/468.html (the note is reporting that a problem with using options did not work in SAS 8.2, but was fixed in SAS 9.1)

If you are using SAS 8.2 or want to use a custom style template for changing margins, then this Tech Support note outlines the methods that you would use via style template:
http://support.sas.com/kb/24/033.html

Do remember that ODS RTF creates RTF control strings that are designed to work best with Microsoft Word. So if you are creating RTF output and using some other RTF viewer (OpenOffice, ClarisWorks, etc), then you may have to work with Tech Support if the RTF control strings for margins are not respected by those viewers.

cynthia

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 612 views
  • 0 likes
  • 2 in conversation