BookmarkSubscribeRSS Feed
lizhang
Fluorite | Level 6

Hi,

 

I have generate the ODS PDF file with titles and footnotes. I set up my leftmargin = .1 in options, but my titles and footnotes always lay at the very beginning or end of the page, not follow the margin I set up as follow. Can anyone help me find a way to move the title1 a little right and footnote a little left ?

 

Thanks

 

Title1 ( justify=l)

                                                 Title2 (justify=c)

                         ----------------------------------------------------------

                         |             Table                                              |

                         |                                                                    |

                         ----------------------------------------------------------

                                                                                                 Footnote1(justify=r)

 

3 REPLIES 3
ballardw
Super User

If you are using Justify Left then the that is where the title will go. How much you want to "move" the text might select methods. One might be to put a TAB character at the start of the Title text. Another approach might be to replace titles (and footnotes) entirely and use ODS TEXT with Escapechar you may get a bit more control of justification as you can include raw PDF codes.

lizhang
Fluorite | Level 6

Thanks for response.

Can you show me how to "put a TAB character at the start of the Title text"?

I added the blank space in front of my text, It didn't work.

 

lizhang
Fluorite | Level 6

I figure it out!

 

Use ods escapechar = '^'  after ODS PDF, and   ^{NBSPACE n} infront of the title TEXT.

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
  • 3 replies
  • 3320 views
  • 3 likes
  • 2 in conversation