BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SASdevAnneMarie
Barite | Level 11

Hello Experts,

 

Do you know how to indicate the left margin for the footnote ?

 

SASdevAnneMarie_0-1647708262346.png

 

 

 

 

Thank you for your help !

 

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ

Hi:

  You either have to do the style override as an ODS ESCAPECHAR type of override or as a style template override. Depending on the destination, the ODS ESCAPECHAR type of override may or may not work. Also, depending on the destination, the style template may or may not work. Both approaches seem to work with PDF.

Cynthia

ODS ESCAPECHAR:

Cynthia_sas_0-1647800418555.png

 

STYLE TEMPLATE (did not show ODS ESCAPECHAR just to show style template behavior by itself):

Cynthia_sas_1-1647800475602.png

 

View solution in original post

6 REPLIES 6
Cynthia_sas
SAS Super FREQ
Hi:
It depends to a certain extent on your ODS destination. Your screen shot looks like RTF or PDF, but could also be a black and white HTML report. Typically, for "paged" destinations, like RTF and PDF the margins of the document (set with the SAS system options) are used for the margins of the title and footnote (so if you have a leftmargin value of 1 in, and you left justify your footnote or title, then the title or footnote text will start at the left margin of 1in). For HTML based destinations, there's not really a margin on an HTML page because the output is meant to be displayed on a browser screen.
What code have you tried and what ODS destination are you usng? If you are using RTF or PDF, what are your system option settings for the margins. Are you centering the footnote or left justifying the footnote? It's hard to provide constructive suggestions with only a tiny screen shot for reference.
Cynthia
SASdevAnneMarie
Barite | Level 11

Thank you for the help, Cynthia.

 

My code is :

OPTION NODATE NONUMBER;
		OPTIONS PAPERSIZE=A4;
		options orientation=portrait;
		OPTIONS TOPMARGIN=.001 in BOTTOMMARGIN=.001 in LEFTMARGIN=.001 in RIGHTMARGIN=.001 in;
		ODS NORESULTS;
		ODS PDF FILE = "&Publipostage.\&Code..pdf" dpi=1800;
		ODS ESCAPECHAR = "^";

        footnote1 J=left font =Arial HEIGHT=8 pt  "XXXX"; 
        footnote2 J=left font =Arial HEIGHT=8 pt  "XXXX"; 
	

Cynthia_sas
SAS Super FREQ

Hi: That's a very, very tiny left margin. So, by default, your footnote is going to be place nearly at the left side of the page. You could try indent= or leftmargin= as style overrides on your footnote statement, but the easiest thing to do would be to change your system option value for the left margin.

 

Cynthia

SASdevAnneMarie
Barite | Level 11
Thank you Cynthia,

How to indicate the leftmargin in style overrides please? When I do this : footnote1 J=left leftmargin=2cm font =Arial HEIGHT=8 pt "XXX", the world leftmargin=2cm is printed on the file.
Cynthia_sas
SAS Super FREQ

Hi:

  You either have to do the style override as an ODS ESCAPECHAR type of override or as a style template override. Depending on the destination, the ODS ESCAPECHAR type of override may or may not work. Also, depending on the destination, the style template may or may not work. Both approaches seem to work with PDF.

Cynthia

ODS ESCAPECHAR:

Cynthia_sas_0-1647800418555.png

 

STYLE TEMPLATE (did not show ODS ESCAPECHAR just to show style template behavior by itself):

Cynthia_sas_1-1647800475602.png

 

SASdevAnneMarie
Barite | Level 11
Thank you very much, Cynthia!

That works !

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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