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;

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1682 views
  • 1 like
  • 3 in conversation