- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Yes, your solution is correct. I found that the following HTML5 formats give me the minor increase in font with too much more "style" added: Snow, Sapphire, Netdraw, MonochomePrinter & Journal 1a/2a/3a
My favorites are: HTMLEncore, Minimal & Daisy
Is this behavior because the fonts are embedded in the HTML5 styles? Thus the scaling of the fonts is not a simple matter...
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
There is no just a single option in SAS Studio that increases the font size in the Results viewer window, here are a couple of options for you...
SAS Studio uses the ODS HTML destination by default to display HTML output in the Results viewer window. It uses a default style we call HTMLBLUE. One option is to change the default style to something other than HTMLBLUE (ie, a style that produces larger text by default). To do this, in the upper right hand corner of SAS Studio (just to the right of the "Sign Out" button), click the down arrow in the "more application options" button and choose PREFERENCES and then RESULTS. Here, you can change the default style. For example, the DEFAULT style uses a larger font size than HTMLBLUE.
Another option is to use specific options in the code to increase the font size used in the Results viewer window. Here is an example of how to do this with PROC PRINT:
proc print data=sashelp.class
style(data header n obs obsheader table)={fontsize=14pt};
run;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Yes, your solution is correct. I found that the following HTML5 formats give me the minor increase in font with too much more "style" added: Snow, Sapphire, Netdraw, MonochomePrinter & Journal 1a/2a/3a
My favorites are: HTMLEncore, Minimal & Daisy
Is this behavior because the fonts are embedded in the HTML5 styles? Thus the scaling of the fonts is not a simple matter...
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Styles in general contain a lot of information, font face, size and weight are just some of them.
You can use proc template to modify an existing (or for the truly optimistic create a style from scratch) to make a customized version.
This is an example of getting the listing of a style. Replace Meadow with the style of interest.
proc template; source styles.meadow; run;
By default the listing of the description will appear in the log.
You would use something similar to:
proc template; define style mymeadow; parent style.meadow; style BodyText from NormalText / fontsize = 19pt fontfamily = "<sans-serif>, <MTsans-serif>, sans-serif" color = black; end; run;
to replace the fontsize of bodytext to size 19 from the default 9 (in the case of the meadow style as installed on my computer).
Find the blocks of text in your style with font sizes and copy them to code as above and then change as desired.
Your style may have the specific font inherited from another style which would appear in a Parent= statement in the generated source.
You may need to look in that style as well and copy the style block(s) of interest.
Or use style overrides in Proc Print, Report or Tabulate.
Changing a style will affect any output using that style and you could make it the default style for your system if desired.