Did you know that you can improve the look of your
SAS-generated reports by adding a little color
to the titles?
You can use the Output Delivery System (ODS) ESCAPECHAR
statement and inline formatting to add and change colors within your report
titles. Here is an example:
ods escapechar
= "^";
ods pdf
file="example2.pdf";
title1 "^S={color=blue}Though
this title started off blue ^S={color=red}it changed to red";
title2 "^S={color=green}This
title was green ^S={}before changing to black";
proc print
data=sashelp.class;
run;
ods
_all_ close;
---MMMMIIIIKKKKEEEE
(aka Michael A. Raithel)
Author of the new cult classic for computer programmers: It Only Hurts When I Hit <ENTER>
Print edition: http://tinyurl.com/z8bzx2e
Kindle edition: http://tinyurl.com/zypgqa7
The hack above is an excerpt from the book: Did You Know That? Essential Hacks for Clever SAS Programmers
Print edition: http://tinyurl.com/z8bzx2e
Kindle edition: http://tinyurl.com/zypgqa7