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=)

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
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
  • 4308 views
  • 0 likes
  • 2 in conversation