BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Dave25
Quartz | Level 8

Tried lots of stuff, but can't figure out why this is center justified, and not left justified?

 

 

ods pdf file = "C:\temp\test.pdf" ;

ods layout gridded columns=1 rows=1;
ods region;
ODS escapechar="^";
ods pdf text ="^S={just = left} Schools";
ods layout end;

ods pdf close;

 

 

thanks,

Dave

1 ACCEPTED SOLUTION

Accepted Solutions
Dave25
Quartz | Level 8

Figured it out - need to remove the "gridded" piece from the ods layout statement (along with the columns= and rows=)

View solution in original post

3 REPLIES 3
Reeza
Super User

That's weird the standard behaviour is for it to appear left by default. 

 

Even in the examples that's how it works:

http://documentation.sas.com/?docsetId=odsug&docsetTarget=p14gx25pepks6dn1q9m7vkq3gfoi.htm&docsetVer...

 

In this case they use PROC TEMPLATE to customize it, not sure that's an option for you. 

Dave25
Quartz | Level 8

thanks for the suggestion - I've got 10+ layouts, with multiple regions, so didn't want to mess with proc template.

Dave

Dave25
Quartz | Level 8

Figured it out - need to remove the "gridded" piece from the ods layout statement (along with the columns= and rows=)

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 3051 views
  • 0 likes
  • 2 in conversation