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
SAS Super FREQ

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!

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 6 replies
  • 1273 views
  • 0 likes
  • 4 in conversation