[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: caption formalpara indentation
Hi All, I have tested many combinations of start-indent and text-indent in my template-match=caption, but can not get the first line of my <caption> <formalpara> to be aligned with the left margin. Despite various combinations of start-indent and text-indent, the first line is indented (which I do not want). The start-indent parameter properly controls the indenting of the entire block lines, but the text-indent does not appear to have any effect. Could someone with expertise in fo formatting, please comment. *** Here is the XML ** <caption align="left"> <formalpara> <title>figure title</title> <para>text for figure caption.</para> </formalpara> </caption> I have the following customization : <xsl:attribute-set name="normal.para.spacing"> <xsl:attribute name="space-before.optimum">1em</xsl:attribute> <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> <xsl:attribute name="text-indent">24pt</xsl:attribute> </xsl:attribute-set> and <xsl:template match="caption"> <fo:block font-size="75%" start-indent="0in" text-indent="0in"> <xsl:attribute name="text-align"> <xsl:choose> <xsl:when test="@align != ''"> <xsl:value-of select="@align"/> </xsl:when> <xsl:otherwise>left</xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:apply-templates/> </fo:block> </xsl:template> Cheers, Tristan --- Tristan J. Fiedler Postdoctoral Fellow - Stein Lab Cold Spring Harbor Laboratory
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]