Hi: I see the line feed/carriage return you are referring to. I do not believe the style template will "touch" that line feed before the title. When I change the PARSKIP element in a style template, the space between the TABLES changes, but not the line before the title. I have turned on paragraph marks in Word for the attached screenshot so you could see the difference when setting PARSKIP to 1 pt. See the difference between #1 (with PARSKIP set to 1 pt) and #2 with the default value for PARSKIP. This is probably a question for Tech Support, because either 1) you can't get rid of the line feed before the title or 2) the way to change it may be a template change, but it would mean changing the TAGSET template for TAGSETS.RTF (not the style template), which means you would have to know what event at the SAS end was causing the line feed or carriage return before the title. Here's the snippet of RTF that ODS is writing for the #1 title. My guess is that whatever piece of code writes this section is putting an extra line feed into the RTF output file: {\*\bkmkstart IDX}{\*\bkmkend IDX} {\pard\par} \trowd\trkeep\trqc\trgaph0 \pard\plain\intbl\sb10\sa10\sl-299\fs26\cf1\qc\i\f1\b{1) listing - why empty line before this title?\cell} But I don't know enough about RTF control strings or how the template logic works to suggest a change. cynthia ods path work.tmp(update) sasuser.templat(update) sashelp.tmplmst(read); proc template; define style test2; parent=styles.rtf; style parskip / fontsize = 1pt; end; run; ods listing close; options nodate nonumber; ods tagsets.rtf file="c:\temp\line.rtf" style=test2 startpage=no options(doc='Help'); title '1) listing - why empty line before this title?'; proc report data=sashelp.class(obs=3) nowd; run; proc report data=sashelp.shoes(obs=2) nowd; run; ods tagsets.rtf close; ods listing close; options nodate nonumber; ods tagsets.rtf file="c:\temp\default.rtf" style=rtf startpage=no options(doc='Help') ; title '2) Default Skip'; proc report data=sashelp.class(obs=3) nowd; run; proc report data=sashelp.shoes(obs=2) nowd; run; ods tagsets.rtf close;
... View more