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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 2397 views
  • 3 likes
  • 2 in conversation