The SAS Output Delivery System and reporting techniques

how to footnote with greek letter, subscipt and italic same time

Accepted Solution Solved
Reply
Contributor
Posts: 20
Accepted Solution

how to footnote with greek letter, subscipt and italic same time

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.";


Accepted Solutions
Solution
‎02-10-2012 10:53 AM
PROC Star
Posts: 7,474

how to footnote with greek letter, subscipt and italic same time

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


All Replies
Super User
Posts: 11,343

how to footnote with greek letter, subscipt and italic same time

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.

Contributor
Posts: 20

how to footnote with greek letter, subscipt and italic same time

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

SAS Super FREQ
Posts: 8,866

how to footnote with greek letter, subscipt and italic same time

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

Contributor
Posts: 20

how to footnote with greek letter, subscipt and italic same time

Posted in reply to Cynthia_sas

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

thanks.

Solution
‎02-10-2012 10:53 AM
PROC Star
Posts: 7,474

how to footnote with greek letter, subscipt and italic same time

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;

Contributor
Posts: 20

how to footnote with greek letter, subscipt and italic same time

Thanks, that works!

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

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