cv_print.xsl
branchstyles
changeset 5 20b41b986ac6
parent 0 08de8d15f932
child 7 c169cc563fe2
--- a/cv_print.xsl	Mon Jul 17 13:43:22 2006 -0400
+++ b/cv_print.xsl	Thu Aug 10 16:53:42 2006 -0400
@@ -27,7 +27,7 @@
 <xsl:attribute-set name="section-title-font" xsl:use-attribute-sets="verylarge-title-font">
   <xsl:attribute name="font-size">12pt</xsl:attribute>
   <xsl:attribute name="font-weight">bold</xsl:attribute>
-  <xsl:attribute name="space-after">4pt</xsl:attribute>
+  <xsl:attribute name="space-after">8pt</xsl:attribute>
   <xsl:attribute name="text-decoration">underline</xsl:attribute>
   <xsl:attribute name="score-spaces">true</xsl:attribute>
   <xsl:attribute name="keep-with-next.within-page">always</xsl:attribute>
@@ -42,8 +42,8 @@
 <xsl:attribute-set name="work-title-font" xsl:use-attribute-sets="large-title-font">
   <xsl:attribute name="font-size">14pt</xsl:attribute>
   <xsl:attribute name="font-weight">bold</xsl:attribute>
-  <xsl:attribute name="space-after">8pt</xsl:attribute>
-  <xsl:attribute name="space-before">12pt</xsl:attribute>
+  <xsl:attribute name="space-after">4pt</xsl:attribute>
+  <xsl:attribute name="space-before">4pt</xsl:attribute>
   <xsl:attribute name="font-variant">small-caps</xsl:attribute>
 </xsl:attribute-set>
 <xsl:attribute-set name="work-short-font" xsl:use-attribute-sets="large-title-font">
@@ -75,7 +75,7 @@
   <!-- <xsl:attribute name="border-before-style">solid</xsl:attribute> -->
   <!-- <xsl:attribute name="border-after-style">solid</xsl:attribute> -->
   <!-- <xsl:attribute name="padding-before">5mm</xsl:attribute> -->
-  <xsl:attribute name="space-before">10mm</xsl:attribute>
+  <xsl:attribute name="space-before">22pt</xsl:attribute>
   <xsl:attribute name="space-before.conditionality">discard</xsl:attribute>
 </xsl:attribute-set>
 <!-- cv -->
@@ -290,7 +290,7 @@
 
 <!-- work -->
 <xsl:template match="work">
-  <block keep-together="always">
+  <block space-before="5pt" keep-together="always">
     <xsl:apply-templates/>
   </block>
 </xsl:template>
@@ -324,8 +324,8 @@
 
 <!-- post -->
 <xsl:template match="post">
-  <block keep-together.within-page="always">
-    <table width="100%" table-layout="fixed" space-after="6pt">
+  <block keep-together.within-page="always" space-before="6pt">
+    <table width="100%" table-layout="fixed">
       <table-column column-width="proportional-column-width(1)"/>
       <table-column column-width="proportional-column-width(1)"/>
       <table-body>
@@ -339,7 +339,7 @@
         </table-row>
       </table-body>
     </table>
-    <block margin-left="24pt">
+    <block margin-left="24pt" space-before="5pt">
       <xsl:apply-templates/>
     </block>
   </block>