06-21-2018 10:54 AM
I need to create a report with spanning headers over the columns, then a line below the spanning headers, then the "main" headers, and then another line:
Using HEADLINE gives me the bottom line, of course, but is there a fast and easy way to create the first line, besides literally typing in a bunch of underscores?
06-21-2018 11:46 AM
What code are you currently using and which ODS Style?
Typing underscores is likely to be unrewarding as changes to font size, font face, bold/italic, length of other text will mean things don't line up very well and depending on other factors may actually allow individual underscores to be see.
06-21-2018 02:32 PM - edited 06-21-2018 03:08 PM
Without code, it's hard to speculate. It will make a difference about how you do it, depending on what your destination is and what initial style you're using. You have 2 approaches -- using a TEXTDECORATION style override or changing the bordertop... or borderbottom... style overrides. HEADLINE and HEADSKIP are LISTING only options, so they would NOT be giving your anything in ODS output. Your output looks like JOURNAL style, which has RULES=GROUPS turned on that might put the bottom line under the column headers.
This forum posting https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-write-ods-latex-template/m-p/471278#M21... showed the use of border controls with PROC REPORT and ODS RTF to put an extra line into spanning headers. That person was using ACROSS items, so your use case might be different.