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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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