Adding More Complex Text

To generate a more complicated report, just add more procedures and more TEXT= options. The following code generates Figure 4.38. Since we showed ODS TEXT= in the previous example, we show the other version of the TEXT= option in this example. This version of the TEXT= option writes only to the RTF destination, as opposed to the previous statement, which writes to ALL open destinations.

ODS ESCAPECHAR='^'; ODS SELECT PearsonCorr; ODS RTF FILE='c:\temp\ReportWithText_4_38.rtf' STARTPAGE=OFF; ODS RTF TEXT='^{style[font_style=italic just=c fontweight=bold fontsize=14pt]This bold, italicized text in 14pt introduces the table. This introductory text will automatically wrap.}'; proc corr data=clips nosimple; var mentions; ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.