We are experiencing an issue with PDF output generated using a custom template:
proc template ;
define style
styles.fda_tnr / store = &store.
;
parent = styles.pearl ;
class fonts
/ "TitleFont" = ( "Times New Roman" , 10pt )
"TitleEmphasisFont" = ( "Times New Roman" , 10pt , bold )
"TitleFont2" = ( "Times New Roman" , 10pt )
"StrongFont" = ( "Times New Roman" , 10pt , bold )
"EmphasisFont" = ( "Times New Roman" , 9pt , italic )
"FixedEmphasisFont" = ( "Courier New" , 9pt )
"FixedStrongFont" = ( "Courier New" , 9pt , bold )
"FixedHeadingFont" = ( "Courier New" , 9pt , bold )
"BatchFixedFont" = ( "Courier New" , 9pt )
"FixedFont" = ( "Courier New" , 9pt )
"headingEmphasisFont" = ( "Times New Roman" , 9pt , bold italic )
"headingFont" = ( "Times New Roman" , 9pt , bold )
"docFont" = ( "Times New Roman" , 9pt )
;
class GraphFonts
/ "NodeDetailFont" = ( "Times New Roman" , 7pt )
"NodeInputLabelFont" = ( "Times New Roman" , 9pt )
"NodeLabelFont" = ( "Times New Roman" , 9pt )
"NodeTitleFont" = ( "Times New Roman" , 9pt )
"GraphAnnoFont" = ( "Times New Roman" , 10pt )
"GraphTitle1Font" = ( "Times New Roman" , 12pt , bold )
"GraphTitleFont" = ( "Times New Roman" , 11pt , bold )
"GraphFootnoteFont" = ( "Times New Roman" , 10pt )
"GraphLabelFont" = ( "Times New Roman" , 10pt )
"GraphLabel2Font" = ( "Times New Roman" , 10pt )
"GraphValueFont" = ( "Times New Roman" , 9pt )
"GraphUnicodeFont" = ( "Courier New" , 9pt )
"GraphDataFont" = ( "Times New Roman" , 7pt )
;
end ;
run ;
The subject list from the Class Level Information is overruning the column (see attached). If I recall correctly, this occurred with the MIXED and GLM procedures, but others may also produce similar results.
I would appreciate any suggestions or references.
Thank you,
Kevin
Bari from SAS Technical Support provided the solution:
Please try adding a rightmargin to the DATA element here:
define style styles.fda_tnr ;
parent = styles.pearl ;
class data
/ rightmargin = 0.25 in
;
He added: "I am finding that the CLASS data information must be the FIRST class statement in the PROC TEMPLATE code, which looks to be a separate defect."
Thank you,
Kevin
Hi, I have seen this happen in PDF when the output is not at 100% in the Acrobat Reader viewer, but then when I print or maximize the screen, it looks OK.
However, if you are seeing this behavior of the cell overwriting the grid line even when you print the PDF or maximize to 100% on the screen, then this is probably an issue for Tech Support.
cynthia
Bari from SAS Technical Support provided the solution:
Please try adding a rightmargin to the DATA element here:
define style styles.fda_tnr ;
parent = styles.pearl ;
class data
/ rightmargin = 0.25 in
;
He added: "I am finding that the CLASS data information must be the FIRST class statement in the PROC TEMPLATE code, which looks to be a separate defect."
Thank you,
Kevin
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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 lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.