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

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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