BookmarkSubscribeRSS Feed
Brian844
Fluorite | Level 6

Good day fellow programmers,

 

I have been searching a solution to this problem the entire day and I am not able to find a solution to my problem :).

 

The problem that I am having is in the footer section of the RTF file the section break size is 12pt and I want it to be 9pt. for some reason the header section is fine and coming as 9pt. its only the footer section where I am having this problem.

 

I am using Proc Template and all my fontsizes are define as 9pt in there. 

 

I am using the following code to generate my RTF files. 

 

ods rtf file="C:\myfolder\myfilename.rtf" bookmark = "xyz.mrk" style = mystyle;
ods tagsets.default file=outxml(url=none) gpath="output path";

 

Proc template code:

REPLACE FONTS / 'titlefont2' = ("Times New Roman", 9pt)
'titlefont' = ("Times New Roman", 9pt)
'Strongfont' = ("Times New Roman", 9pt)
'EmphasisFont' = ("Times New Roman", 9pt)
'FixedEmphasisFont' = ("Times New Roman", 2pt)
'FixedStrongFont' = ("Times New Roman", 2pt)
'FixedHeadingFont' = ("Times New Roman", 2pt)
'BatchFixedFont' = ("SAS Monospace,Times New Roman", 2pt)
'FixedFont' = ("Times New Roman", 2pt)
'headingEmphasisFont' = ("Times New Roman", 9pt)
'headingFont' = ("Times New Roman", 9pt)
'docFont' = ("Times New Roman", 9pt)
'footFont' = ("Times New Roman", 9pt);

 

 Any help will be much appreciated.

 

I have attached a screenshot of the section breaks I am talking about.

Screenshot 2021-09-02 212556.png

Cheers Brian.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 0 replies
  • 382 views
  • 0 likes
  • 1 in conversation