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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 665 views
  • 0 likes
  • 2 in conversation