proc template;
define style global.table;
parent = styles.journal;
style fonts from fonts /
'TitleFont' = ("Times New Roman")
'headingFont' = ("Times New Roman")
'docFont' = ("Times New Roman")
'FootFont' = ("Times New Roman")
;
style SystemTitle from SystemTitle /
backgroundcolor = none
fontsize= 10 pt
fontweight=bold
;
style SystemFooter from SystemFooter /
backgroundcolor = none
fontsize= 9 pt
fontweight=medium
fontstyle=italic
;
style Header from Header /
backgroundcolor = none
fontsize= 10 pt
fontweight=medium
cellspacing=0
vjust=b
pretext = "~R/RTF'\sb0\sa0\ "
;
style RowHeader from RowHeader /
backgroundcolor = none
;
style Data from Data /
backgroundcolor = none
font = ("Times New Roman", 9 pt, medium)
fontweight=medium
pretext = "~R/RTF'\sb0\sa0\ "
;
style Table from Table /
font = ("Times New Roman", 9 pt, medium)
backgroundcolor = none
frame = void
rules = none
;
style Body from Body /
bottommargin = 1.0 in
topmargin = 1.0 in
rightmargin = 1.0 in
leftmargin = 1.0 in
;
end;
run;
~R'\fi-86\li86 'Race, n (%)
~R'\fi-86\li266 'White
In order to assist you, we need the data and the reports code used to create the output.
Please post the data as self-contained data step with datalines.
Sorry, Kurt, I cannot share my code here, if I delete the option keepn, the result is different with symbol on title and footnote line:
It looks to me in the screen shot that I can see the carriage returns at the end of each line. I am wondering whether Show/Hide characters on the Word ribbon is toggled on. Otherwise, if that doesn't work, I'd recommend opening a track with Tech Support.
Cynthia
Thanks @Cynthia_sas , update the word display option , this kind of symbol can be hided.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.