BookmarkSubscribeRSS Feed
Doug____
Pyrite | Level 9

I used the PARSKIP functionality as shown in the template below, but it did not affect the spacing between the tables in ODS PDF. Was it applied incorrectly?

 

proc template;
define style styles.BlueK;
	parent=styles.pearl;
	
	class colors /                                                  
		'link2' = cx0000FF
		'link1' = cx800080
		'docbg' = cxFAFBFE
		'contentbg' = cxFAFBFE
		'systitlebg' = cxFAFBFE
		'titlebg' = cxFAFBFE
		'proctitlebg' = cxFFFFFF
		'headerbg' = cxEDF2F9
		'captionbg' = cxFAFBFE
		'captionfg' = cx112277
		'bylinebg' = cxFAFBFE
		'notebg' = cxFAFBFE
		'tablebg' = cxFAFBFE
		'batchbg' = cxFFFFFF
		'systitlefg' = cx112277
		'titlefg' = cx112277
		'proctitlefg' = cx112277
		'bylinefg' = cx112277
		'notefg' = cx112277;
	class Header /
	bordercolor = cxB0B7BB
	backgroundcolor = cxEDF2F9
	color = cx112277;
	class RowHeader /
	bordercolor = cxB0B7BB
	backgroundcolor = cxEDF2F9
	color = cx112277;
	class fonts /
		'TitleFont2' = ("<sans-serif>, <MTsans-serif>, Helvetica, Helv",2, bold)
		'TitleFont' = ("<sans-serif>, <MTsans-serif>, Helvetica, Helv",3,bold)
		'StrongFont' = ("<sans-serif>, <MTsans-serif>, Helvetica, Helv",2, bold)
		'EmphasisFont' = ("<sans-serif>, <MTsans-serif>, Helvetica, Helv",2, italic)
		'FixedFont' = ("<monospace>, Courier",2)
		'BatchFixedFont' = ("SAS Monospace, <monospace>, Courier, monospace",2)
		'FixedHeadingFont' = ("<monospace>, Courier, monospace",2)
		'FixedStrongFont' = ("<monospace>, Courier, monospace",2,bold)
		'FixedEmphasisFont' = ("<monospace>, Courier, monospace",2,italic)
		'headingEmphasisFont' = ("<sans-serif>, <MTsans-serif>, Helvetica, Helv",2,bold italic)
		'headingFont' = ("<sans-serif>, <MTsans-serif>, Helvetica, Helv",2, bold)
		'docFont' = ("<sans-serif>, <MTsans-serif>, Helvetica, Helv",2);
	class Table /
	cellpadding = 2pt;
	style systemfooter from titlesandfooters /
		font_weight=light
		font_size=8pt;
	Style parskip / fontsize=4Pt;
	end;
	run;
2 REPLIES 2
ballardw
Super User

You should also provide the code generating your tables including your ODS PDF statement(s). Best is to provide data so we can duplicate the behavior or provide code using SAS supplied data sets like SASHELP.Class.

Cynthia_sas
SAS Super FREQ

Hi:

  It's always a good idea to check your style attributes to make sure they work the way you want in the destination you want. For example, if you check here in the documentation: https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsadvug/p16od8jghibo9tn187hloazdzt70.htm  you'll see that PARSKIP looks like it is only supported in the RTF destination.

Cynthia_sas_0-1618932443864.png

 

  So if your template is going to be used with ODS PDF, you'll need to investigate what is possible with table spacing with ODS PDF.

 

  You may want to work with Tech Support on this question.

 

Cynthia

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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