I'm new to the ODS functionality, and am trying to modify an existing report code for a report I'm printing, and am running into problems with getting the title to print correctly. Here's the code:
title1 j=l font=arial "^{style[fontweight=bold fontsize=16pt vjust=bottom width=9.5in]%upcase(Commercial)}^{NEWLINE 1}"
"^{style[fontweight=bold fontsize=16pt vjust=bottom cellwidth=9in]Plan:&&plan&i}^{NEWLINE 1}" /* chnaged*/
"^{style[fontweight=bold fontsize=16pt]Therapeutic Area: ASTHMA }^{NEWLINE 1}"
"^{style[fontsize=16pt fontweight=bold]Measures: }"
"^{style[fontsize=16pt fontstyle=italic ] Medication Management for People With Asthma (MMA) and Asthma Medication}^{NEWLINE 1}"
"^{style[fontsize=16pt fontstyle=italic ] Ratio (AMR) - Combined Ages}"
j=r "^{style[fontsize=.5pt padding=0pt borderspacing=0pt preimage=hqcimg}";
Because I've placed a right-justified logo in the title, the left-justified text in the title appears to be breaking into a new line by itself in the middle of the page. Can anybody tell me how to prevent it from doing that?
I'm not sure what host environment the code is written for, but I'm trying to run it in Windows 10. Everything else seems to work fine.
The two attached pictures show the example I received vs. my result 😞
Honestly, I'd probably work around it by making an image that contained both the logo and the title text I wanted in the way I wanted it presented and use that.
Thanks for that suggestion. I suppose I can resort to that if I can't find a programming solution, but that means I'll have to create a ton of custom titles... 😞
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.