BookmarkSubscribeRSS Feed
SASdevAnneMarie
Barite | Level 11

Hello experts,

 

Do you know please how to justify the text (I would like to have the same margins at right and at left) like in attached picture.

I know the option Just=L/C/R but it is alignment.

 

 

Thank you very much!

Marie

6 REPLIES 6
SASdevAnneMarie
Barite | Level 11
Thank you!
As I understood there is no SAS solution to do the FULL Justification...
ballardw
Super User

Justify what? A single cell in a report table? A column in a report table? A report table? and entire report?

Any specific procedure?

In what type of output document (i.e. ODS destination)?

ballardw
Super User

@SASdevAnneMarie wrote:
Hello,
I have the same text problem as Jowinniejo
here https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-ODS-TEXT-do-justified-alignment/td-p/57667...
Thank you

Note that a possible solution in that link depends on the ODS destination. Which you have not specified. If you need this for a specific file type, you need to tell us.

To a certain amount, the procedure creating output also would require different approaches, which you have not specified.

 

SASdevAnneMarie
Barite | Level 11
Thank you for your answer.
I have the same approche as Jowinniejo:
ods escapechar="^";

ods pdf file="….\test.pdf" ;

ods layout start X=0in y=0in ;

ods region x=0.8in y=1.3in;

/**********/

ods layout end;

ods pdf close;

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register 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
  • 6 replies
  • 1809 views
  • 1 like
  • 3 in conversation