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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 0 replies
  • 741 views
  • 0 likes
  • 1 in conversation