BookmarkSubscribeRSS Feed
Takamini
Calcite | Level 5

Does sas studio support font "Times Roman"?

I can not find font list in the below link:

http://documentation.sas.com/?cdcId=vdmmlcdc&cdcVersion=8.11&docsetId=uprint&docsetTarget=n04qo8tw27...

 

And if I want to set up a style that I can use when I want to generate pdf.

How can set up fond, word pt and bold?

 

Thank you all!

 

3 REPLIES 3
WarrenKuhfeld
Rhodochrosite | Level 12

http://go.documentation.sas.com/?docsetId=statug&docsetVersion=14.2&docsetTarget=statug_kaplan_sect0...

 

This will not fully answer your question, but it shows you how to identify and change the graph fonts in a style.

Takamini
Calcite | Level 5

Thank you, but I would like to know how to change font in table.

 

Thank you again!

WarrenKuhfeld
Rhodochrosite | Level 12
proc template;
   source styles.rtf / expand file='style.tmp';
run;

data _null_;
   infile 'style.tmp' pad;
   input line $char80.;
   file print;
   if index(lowcase(line), ' fonts ') then y + 1;
   if y then put line $char80.;
   if y and index(line, ';') then stop;
run;

Take the code from the doc and change 'graphfonts' to 'fonts' and it will show you the fonts.  You can change them, but I don't know all of the possibilities of what you can change them too.  Try this with rtf (above) instead of htmlblue (as in the documentation).  It has some times roman font examples.

 

SAS Output

   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);   

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 3 replies
  • 1092 views
  • 0 likes
  • 2 in conversation