Hi I am creating a footnote like this " note:
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.";
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;
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.
Could you give me a link/or paper about this, thanks
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
My ods destination is ODS rtf, and I am using sas 9.2( 9.3 is also available).
thanks.
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;
Thanks, that works!
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.