Hi, There:
Could you help me on the proc report with style=journal? I want to change the italic font in the column headers into regular font as shown in the following picture. Many thanks! John
I figured out by adding "style(header)={font_style=roman} " in the proc report... Thank you anyway! Best, John
I would start with the other SAS supplied versions of the Journal style. In my install I see Journal, Journal1A, Journal2, Journal2A, Journal3 and Journal3A. The A versions seem not to have italics in the same places.
You should include examples of the code used because we do not know what overrides you may have already used that may conflict with any suggestions we make.
Thanks, Baallardw. I will give Journal1A version a try and will keep you posted. Best John
Hi, Ballardw:
Here are the codes for my proc report as the following.
***RTF output**;
options nodate nonumber;
ods listing close;
ods rtf file= "C:\global\CFT7455\CFT7455-1101\tfl\T14.1.1-Disp.rtf" style=Journal3a;
ods escapechar='^';
title3 font="Courier New" height=9.5pt j=c "Subject Dispositions";
footnote1 font="Courier New" height=9.5pt j=l "C:\global\CFT7455\CFT7455-1101\sas_program\tfl\T14.1.1-Disp.sas" j=r "Run Date/Time: &date. &time." ;
proc report data=final nofs ls=256 style(Report)={width=100%} missing split='~' ;
column ord term ("ARM B1~ R/R MM SINGLE AGENT~ ^R/RTF'\brdrb\brdrs\li100\ri100'" col3 col4 col5 col6 col7 col8 ) ;
define ord / order order=internal noprint;
define term / " " style(header)= [just = l asis = on] style(column)=[just = l asis = on];
define col3 /display "ARM B1 Cohort 1~ 25 ug MWF 14/14 ~ (N=%cmpres(&trt3.)) " style(header)= [just = c asis = on] style(column)=[just = c asis = on];
define col4 /display "ARM B1 Cohort 2~ 50 ug MWF 14/14 ~ (N=%cmpres(&trt4.)) " style(header)= [just = c asis = on] style(column)=[just = c asis = on];
define col5 /display "ARM B1 Cohort 3~ 75 ug MWF 14/14 ~ (N=%cmpres(&trt5.)) " style(header)= [just = c asis = on] style(column)=[just = c asis = on];
define col6 /display "ARM B1 Cohort 4~ 50 ug QD 14/14 ~ (N=%cmpres(&trt6.)) " style(header)= [just = c asis = on] style(column)=[just = c asis = on];
define col7 /display "ARM B1 Cohort 5~ 75 ug QD 14/14 ~ (N=%cmpres(&trt7.)) " style(header)= [just = c asis = on] style(column)=[just = c asis = on];
define col8 /display "ARM B1 Total ~ (N=%cmpres(&trt8.)) " style(header)= [just = c asis = on] style(column)=[just = c asis = on];
run;
proc report data=final nofs ls=256 style(Report)={width=100%} missing split='~' ;
column ord term ("ARM A~ R/R MM SINGLE AGENT~ ^R/RTF'\brdrb\brdrs\li100\ri100'" col1)
("ARM B2~ R/R MM COMBINATION TREATMENT with DEX~ ^R/RTF'\brdrb\brdrs\li100\ri100'" col9 col10 col11) col12;
define ord / order order=internal noprint;
define term / " " style(header)= [just = l asis = on] style(column)=[just = l asis = on];
define col1 /display "Cohort1~ 25/50 ug QD 21/7 ~ (N=%cmpres(&trt1.)) " style(header)= [just = c asis = on] style(column)=[just = c asis = on];
define col9 /display "ARM B2 Cohort 1~ 50 ug MWF 14/14 +Dex ~ (N=%cmpres(&trt9.)) " style(header)= [just = c asis = on] style(column)=[just = c asis = on];
define col10 /display "ARM B2 Cohort 2~ 37.5 ug QD 14/14 +DEX ~ (N=%cmpres(&trt10.)) " style(header)= [just = c asis = on] style(column)=[just = c asis = on];
define col11 /display "Arm B2 Total~ (N=%cmpres(&trt11.))~ n (%)" style(header)= [just = c asis = on] style(column)=[just = c asis = on];
define col12 / " Overall Total~ (N=%cmpres(&trt12.))~ n (%)" style(header)= [just = c asis = on] style(column)=[just = c asis = on];
run;
title1 "";
title2 "";
title3 "";
footnote1 "";
ods rtf close;
I have tried A version but the Col headers are Bold with a large font, which is not what I want. Could you suggest other solutions? Thanks, John
I figured out by adding "style(header)={font_style=roman} " in the proc report... Thank you anyway! Best, John
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.