BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
dyan
Calcite | Level 5

Hi I am creating a footnote like this " note:

Capture.PNG

but I do not know how to make V epsilon , italic. in sas coding , anyone can help?

my code is here

footnote j=L " Note: Definitions of variance components: V^{sub s} refers to the variance for th random effect of sites; V^{sub^{unicode 03B5}} is the residual variance pooled across all entries and all sites.";

1 ACCEPTED SOLUTION

Accepted Solutions
art297
Opal | Level 21

Wouldn't something like the following achieve the desired output?:

ods escapechar="^";

title "Demographics";

footnote j=L " Note: Definitions of variance components:

^S={font_style=italic}V^{sub s}^S={} refers to the variance for th random effect

of sites; ^S={font_style=italic}V^{sub^{unicode 03B5}}^S={} is the residual

variance pooled across all entries and all sites.";

ods rtf file='c:\art\demog.rtf' style=minimal;

proc report data=sashelp.class nowindows

style=[rule=group frame=void];

column sex age height weight;

define sex/group;

define age/mean;

define height/mean;

define weight/mena;

run;

ods rtf close;

View solution in original post

6 REPLIES 6
ballardw
Super User

If you have a font with the desired characters you can specify the font for sections of text just as you are doing with the justification. Look in the on-line help for "enhancing titles" for an example.

dyan
Calcite | Level 5

Could you give me a link/or paper about this, thanks

Cynthia_sas
Diamond | Level 26

Also, (thanks for providing your FOOTNOTE statement) you do not indicate what your desired ODS destination is: ODS PDF, ODS RTF, ODS HTML? And, you do not indicate your version of SAS, although by your use of the UNICODE function, I assume it is 9.2 or higher?

cynthia

dyan
Calcite | Level 5

My ods destination is ODS rtf, and I am using sas 9.2( 9.3 is also available).

thanks.

art297
Opal | Level 21

Wouldn't something like the following achieve the desired output?:

ods escapechar="^";

title "Demographics";

footnote j=L " Note: Definitions of variance components:

^S={font_style=italic}V^{sub s}^S={} refers to the variance for th random effect

of sites; ^S={font_style=italic}V^{sub^{unicode 03B5}}^S={} is the residual

variance pooled across all entries and all sites.";

ods rtf file='c:\art\demog.rtf' style=minimal;

proc report data=sashelp.class nowindows

style=[rule=group frame=void];

column sex age height weight;

define sex/group;

define age/mean;

define height/mean;

define weight/mena;

run;

ods rtf close;

dyan
Calcite | Level 5

Thanks, that works!

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

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
  • 6 replies
  • 2349 views
  • 0 likes
  • 4 in conversation