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;
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;
Sounds like you need to find a FONT that has both the normal letters and also Greek mu and gamma.
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.
Ready to level-up your skills? Choose your own adventure.