toc.line.properties
Prev | ToC/LoT/Index Generation | Next

## toc.line.properties

toc.line.properties — Properties for lines in ToC and LoTs

## Synopsis

    <xsl:attribute-set name="toc.line.properties">
      <xsl:attribute name="text-align-last">justify</xsl:attribute>
      <xsl:attribute name="text-align">start</xsl:attribute>
      <xsl:attribute name="end-indent"><xsl:value-of select="concat($toc.indent.width, 'pt')"></xsl:value-of></xsl:attribute>
      <xsl:attribute name="last-line-end-indent"><xsl:value-of select="concat('-', $toc.indent.width, 'pt')"></xsl:value-of></xsl:attribute>
    </xsl:attribute-set>

## Description

Properties which are applied to every line in ToC (or LoT). You can modify them in order to change appearance of all, or some lines. For example in order to make lines for chapters in bold specify the following in your customization layer.

    <xsl:attribute-set name="toc.line.properties">
      <xsl:attribute name="font-weight">
        <xsl:when test="self::chapter | self::preface | self::appendix">bold</xsl:when>
        <xsl:otherwise>normal</xsl:otherwise>
      </xsl:attribute>
    </xsl:attribute-set>

Prev | Up | Next
toc.indent.width | Home | toc.margin.properties