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

I am trying to create a custom style template based on the RTF style.  I want FOOTNOTES  to have different default attributes from TITLES.  As far as I can tell footnotes use these style attributes 'TitleFont' = ("<serif>, Times Roman",13pt,bold italic)

Is there a way to create a 'FootFont' = ("<serif>, Times Roman",13pt,bold italic) that will be used by footnotes by default.

define style Styles.Rtf;
   parent = styles.printer;
   style fonts /
      'TitleFont2' = ("<serif>, Times Roman",12pt,bold italic)
      'TitleFont' = ("<serif>, Times Roman",13pt,bold italic)
      'StrongFont' = ("<serif>, Times Roman",10pt,bold)
      'EmphasisFont' = ("<serif>, Times Roman",10pt,italic)
      'FixedEmphasisFont' = ("<monospace>, Courier",9pt,italic)
      'FixedStrongFont' = ("<monospace>, Courier",9pt,bold)
      'FixedHeadingFont' = ("<monospace>, Courier",9pt,bold)
      'BatchFixedFont' = ("SAS Monospace, <monospace>, Courier",6.7pt)
      'FixedFont' = ("<monospace>, Courier",9pt)
      'headingEmphasisFont' = ("<serif>, Times Roman",11pt,bold italic)
      'headingFont' = ("<serif>, Times Roman",11pt,bold)
      'docFont' = ("<serif>, Times Roman",10pt);

 

EDIT:  I think I figured it.

      class SystemFooter /
         font = Fonts('FootnoteFont');

 

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
Diamond | Level 26
Hi: You found the systemfooter class/element. I think you'll see it in Styles.default, which is what styles.rtf inherits from (ultimately). You can either do indirect reference back to the abstract FONTS element. or you can just specify the individual style attributes for fonts in that CLASS statement.
Cynthia

View solution in original post

1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi: You found the systemfooter class/element. I think you'll see it in Styles.default, which is what styles.rtf inherits from (ultimately). You can either do indirect reference back to the abstract FONTS element. or you can just specify the individual style attributes for fonts in that CLASS statement.
Cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Update

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
  • 1 reply
  • 832 views
  • 0 likes
  • 2 in conversation