BookmarkSubscribeRSS Feed
mmohotsi
Quartz | Level 8

How can I assign a unicode the same font and and style as the title statement for a pdf report.

 

I have this code to try the procedure. I need the UNICODE to have the same style font and color to the text in the title statement.

 

My code is as below

 

Data tsets;
input name $;
cards;
Carbon
Copper
Lithium
Arsenic
;
run;


ods escapechar='^';
%let home = 'C:\Users\mmohotsi\OneDrive - Rand Water\Desktop\Deleted';

%let home = '<path>';


ods pdf file="&home\report..pdf";

 

title 'Improving special characters like ^{unicode 03C7} and ^{unicode 03BC}g/l and ^{unicode 03B3}';

proc report data=tsets;
run;

1 REPLY 1
Ksharp
Super User
Data tsets;
input name $;
cards;
Carbon
Copper
Lithium
Arsenic
;
run;


ods escapechar='^';
%let home = c:\temp ;

ods pdf file="&home\report.pdf";

title 'Improving special characters like ^{style [fontfamily=calibri fontweight=bold color=red] ^{unicode 03C7}} and ^{unicode 03BC}g/l and ^{unicode 03B3}';

proc report data=tsets;
run;
ods pdf close;

Ksharp_0-1769072558620.png

 

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