BookmarkSubscribeRSS Feed
craig_dickstein
Calcite | Level 5

A little help please ---  The environ is ODS PDF, PROC REPORT, WIN10, SAS 9.4

 

I successfully define and use a format for NE and SE arrows that visually describe a trend (up or down).

 

PROC FORMAT;
    value $arrow 
        'NE' = '^{unicode 2197}' 
        'SE' = '^{unicode 2198}'
      other = ' '                               ;

 

I successfully color code the arrows conditionally with a call define.

 

if  orig_var in('pct_OCCUP'     'pct_MCAID_occ'     )                    
                  then call define(_col_,"style","style={color=darkgreen font_weight=EXTRA_BOLD}");

                 

The question is - how can I enlarge or make bolder the Unicode character?  I have found some other arrows in the Unicode library, but they do not display as expected.  The FONT_WEIGHT= or FONT_SIZE= attribute does not have any effect.  I simply need it to be larger / more visible in the printed tabular report.

 

Thoughts?

 

-craig

6 REPLIES 6
Jagadishkatam
Amethyst | Level 16

did you try fontsize=xxpt instead of font_size=xxpt

Thanks,
Jag
craig_dickstein
Calcite | Level 5

yes, FONTSIZE=  does enlarge the font, but it increases the default cell height which which is not desired.  thanks for the thought.  -craig

Jagadishkatam
Amethyst | Level 16
Could you please try to control the cell height for the column using the style(header)={cellheight=1.5in}
style(column)={cellheight=1.5in} in the define statement of that specific variable.

e.g.

define orig_var / style(header)={cellheight=1.5in} style(column)={cellheight=1.5in} ;
Thanks,
Jag
craig_dickstein
Calcite | Level 5

Jag -- this does not seem to help … if the cell height does not have room for the FONTSIZE value then the height seems to override the fontsize.  -craig

Ksharp
Super User

Make page size be smaller ?

 

options papersize=(10cm 10cm);
craig_dickstein
Calcite | Level 5

Not sure what changing the paper size would accomplish besides the obvious.  I believe you are saying that all of the exhibits will shrink but the Unicode character will stay the same size.  thanks for the thought.  -craig

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 save with the early bird rate—just $795!

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