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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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