I am using ODS to write a pdf report. I have some words which need to be underlined. I find when I use in-line formatting to underline the words, ODS is usually but not always inserting 3 or 4 blank spaces before the underlined text. I have similar issues with italics and bold, but it's the underlines which are killing me. The code is specifically stating the font each time because the template is set for the correct font for table cells and I have not had the time to figure out whether body text outside of table cells has a different style format and if so, what. In the process of trying to capture the output to post here, I found this is another example of SAS rendering text twice. This gives dark "bold-ish" double-strike text in the pdf. Once I managed to select and copy it I found the SAS forumns web page won't let me paste it with formatting anyway, so I had to type an approximation of the output. For instance, the 2 lines: ods pdf text="^S={just=left font=('Calibri',12PT)}Major complications and major complications including death are specifically defined in ^S={font('Calibri',12PT)textdecoration=underline just=left}Appendix D^S={font=('Calibri',12PT)}. Patients were excluded from all complications"; ods pdf text="^S={just=left font=('Calibri',12PT)}modeling if they died within two days, if time to death was unknown, or if complications were unknown."; produce output which looks like this (typed by me, since the interface won't let me copy it without messing up the format): Major complications and major complications including death are specifically defined in Appendix D. Patients were excluded from all complications modeling if they dies within two days, if time to death was unknown, or if complications were unknown. Anyone know if there is a way to make an inline font transition without spacing issues? I tried not specifying jurtification, and justification=left to no avail.
... View more