Changing font size in SAS

6

When making a new piece of code, I like to use the smallest font I can read.  This lets me fit more text on the screen at once. When presenting code to others, especially in a classroom setting, I like to make the font large enough to see from the back of the room. Here’s how I do this in SAS’ three programming interfaces.

SAS Studio 3.6

Open the “more application options” menu, and select “Preferences.”

Font size in SAS

A new box will appear on your screen.  Choose “Editor” from the list on the left, then look for a dropdown menu labeled “Font Size.”  Use it to select your desired font size.  Click “Save” to apply the change.  The following screenshot has “Font Size” circled for visibility.

Enterprise Guide 7.1

Select “Program” from the tool bar, then click “Editor Options…”

A new box will appear on your screen.  Choose the “Appearance” tab, then use the “Size” dropdown to select your font size.  Click “OK” to save the change.  The following screenshot has “Appearance” and “Size” circled for visibility.

Windowing Environment

Note: sometimes people call this SAS 9.4, because it is labeled that on desktop icons.

First click in the enhanced editor window to make it the active window.  Don’t click any other windows until after the font size is changed.  Select “Tools” from the toolbar, and click “Options” then “Enhanced Editor…”  If “Enhanced Editor…” does not appear, double check that the enhanced editor window is active.

A new box will appear on your screen.  Choose the “Appearance” tab, then use the “Size” dropdown to select your font size.  Click “OK” to save the change.  The following screenshot has “Appearance” and “Size” circled for visibility.

I hope you found this blog helpful.

More information

Learn more about the SAS Programming Learning Path from SAS Education. Build a strong SAS programming foundation to manipulate your data, perform complex queries and simple analyses, and generate reports or gain the knowledge needed to become certified as a Base SAS programmer or Advanced SAS programmer with this courses from SAS.

Share

About Author

Allison Saito

Senior Associate Technical Training Consultant

As a technical training consultant, Allison expands the potential of SAS programmers. Her favorite teaching moments are when students realize, "This will make X so much easier!" and "O! That's what my coworker's code means!". Before joining SAS, she earned a master's of economics from Duke University and a bachelor's of math from NC State.

Related Posts

6 Comments

  1. Very useful tip, thanks ! By default, SAS Studio comes with a 16 font-size which is noticeably larger than the 11 or 12 default font size of MS Office. Of course, the ideal font size will vary upon one's taste, usage and visual acuteness. However, coding within a terminal editor with fonts larger than 14 looks a little bit 'cramped' or oversized to me. Having to present the same code to an audience is quite another matter, of course.

  2. It is indeed useful for classroom courses.
    Though, is it there an explanation why in Enterprise Guide the menu's boxes and the text inside are not always completely visible? This makes difficult to see which are the options and which selection to make. I work on a laptop with Windows 10 Enterprise and I tried to change the font size, in the menus a.s.o., but I couldn't figure it out. Thanks !

    • Allison Saito
      Allison Saito on

      I'm sorry to hear about that. I've never heard of it happening before. Have you contacted Tech Support about this? They're awesomely helpful and have seen almost everything

Back to Top