When writing to a PDF with a modified style, a gap occurs in the horizontal line over the footer. There is no gap if the footer is only on the left, or the center, or the right, or the left and the right. If the footer has a left, center, and right component or a left and center component there is a gap in the horizontal line 1/3 of the way across the page. If the footer has a center and right component there are two gaps in the line, at about 1/3 and 2/3. These gaps do not occur if one writes to an RTF instead The code which modifies the journal2 template to include a horizontal line and all the combinations of footer components is included below. Does anyone know if one can modify the template further to avoid the horizontal line gaps? Thank you. proc template;
define style styles.gap;
parent=styles.journal2;
STYLE SystemFooter/
outputwidth=100%
bordertopcolor=black
bordertopwidth=1pt
font_face="Arial";
end;
run;
title1
justify=left "topLeft"
justify =center "topCenter"
justify=right "topRight"
;
data one;
a=1;output;
run;
footnote
justify=left "bottomLeft"
;
ods pdf file="left.pdf" style=gap;
proc print data=one;
run;
ods pdf close;
footnote
justify=center "bottomCenter"
;
ods pdf file="center.pdf" style=gap;
proc print data=one;
run;
ods pdf close;
footnote
justify=right "bottomRight"
;
ods pdf file="right.pdf" style=gap;
proc print data=one;
run;
ods pdf close;
footnote
justify=left "bottomLeft"
justify=right "bottomRight"
;
ods pdf file="leftright.pdf" style=gap;
proc print data=one;
run;
ods pdf close;
footnote
justify=left "bottomLeft"
justify=center "bottomCenter"
;
ods pdf file="leftcenter.pdf" style=gap;
proc print data=one;
run;
ods pdf close;
footnote
justify=center "bottomCenter"
justify=right "bottomRight"
;
ods pdf file="centerright.pdf" style=gap;
proc print data=one;
run;
ods pdf close;
footnote
justify=left "bottomLeft"
justify=center "bottomCenter"
justify=right "bottomRight"
;
ods pdf file="leftcenterright.pdf" style=gap;
proc print data=one;
run;
ods pdf close;
... View more