BookmarkSubscribeRSS Feed
RajasekharReddy
Fluorite | Level 6

Dear All,

I am new to leaning ODS style , want RTF file out put as mentioned below criteria  by using proc report can any suggest best way to understand ods styles outputs


Table : Layout Specifications

Orientation : Landscape

Paper Size : Letter

MarginsTop: 3.05 cm

Bottom: 2.2 cm
Left: 1.9 cm
Right: 1.9 cm

Font

Table text: Times new Roman  9 or 10 pts
Table title: Times new Roman 12 pts
Table legend: Times new Roman 10 pts

Table text: Times new Roman 8, 9 or 10 pts
Table title: Times new Roman 12 pts
Table legend: Times new Roman 9 or 10 pts


Regards,

Rajasekhar Reddy


1 REPLY 1
Cynthia_sas
Diamond | Level 26

Hi:

There are a couple of different ways you could do this. One way is to create a custom style template. The other way is to use statement level style specifications in the TITLE statement or the PROC REPORT statements. It really depends on whether you need to do this for multiple reports or whether you need it for an ad-hoc type report.

  There are several papers about style templates such as this one http://support.sas.com/resources/papers/proceedings10/033-2010.pdf and several papers about using PROC REPORT and statement level style overrides like these:

http://support.sas.com/resources/papers/proceedings13/366-2013.pdf

http://www2.sas.com/proceedings/sugi30/244-30.pdf

  I'd recommend starting with the style override method first and then work on style templates once you get the hang of style elements and attributes and what has an impact on what piece of the report.

cynthia

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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