BookmarkSubscribeRSS Feed
fja
Lapis Lazuli | Level 10 fja
Lapis Lazuli | Level 10

Dear community, 

 

in SAS we can provide a footnote statement to provide such a piece of text and we can include formatting instructions.

... but how to do this in EG? You certainly go Options->Titles in the modify task dialog ... but then? How would you format 

"A Test" (last word bold)? 

The problem is, that all text entered are quoted in the generated code ... 

 

Cheers fja 

 

PS: I am interested in a solution using the dialogs in EG ... I know how to do that using plain SAS programming ...

4 REPLIES 4
pink_poodle
Barite | Level 11
I would format them in the output. What file are you outputting them to - Word?
fja
Lapis Lazuli | Level 10 fja
Lapis Lazuli | Level 10

Hello!
Thank you very much for your reply! No I use the SAS Report format as output.
... I am just wondering if something like is possible in a straight fashion
Cheers
fja

pink_poodle
Barite | Level 11
Why not bold the "A" as well?:

data a;
a = "cat";
run;

footnote bold "A Test";

proc print data = a;
run;
Tom
Super User Tom
Super User

Make sure you have set an ODS ESCAPECHAR

ods escapechar='^';

Then use that to add style FONTWEIGHT=bold to your string.

A ^{style [fontweight=bold] Test}

Example:

data a;
  a = "cat";
run;

ods escapechar='^';
footnote "A ^{style [fontweight=bold] Test}";

proc print data = a;
run;

Tom_0-1683404533078.png

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 4 replies
  • 852 views
  • 4 likes
  • 3 in conversation