« Return to Thread: Howto generate index contents

Re: Howto generate index contents

by 61Sniper :: Rate this Message:

Reply to Author | View in Thread

Hi,

I`m not looking for changing style in the TOC. I would like change the font-size of the chapter (title) and sect1 (title).
My font-size is to big. I think it is 30pt.

I have tried it with the following command:

<xsl:param name="sect1.title.font.size">18</xsl:param>




Assume, you are looking for changing style in the TOC.

I use this for styling chapter, preface and appendix:

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

  </xsl:attribute-set>

You may want to try for sect1. (you will need to use 'font-size' instead of 'font-weight')

~spr

61Sniper wrote:
Thank you very much. Your Link helped me. Just I have got another problem. How can I change the font size of the Title of sect1 Element?

 « Return to Thread: Howto generate index contents