The SAS Output Delivery System and reporting techniques

How to align titles and footnotes in ODS PDF

Reply
New Contributor
Posts: 3

How to align titles and footnotes in ODS PDF

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)

 

Super User
Posts: 11,343

Re: How to align titles and footnotes in ODS PDF

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.

New Contributor
Posts: 3

Re: How to align titles and footnotes in ODS PDF

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.

 

New Contributor
Posts: 3

Re: How to align titles and footnotes in ODS PDF

I figure it out!

 

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

Ask a Question
Discussion stats
  • 3 replies
  • 327 views
  • 2 likes
  • 2 in conversation