Changing the number alignment of numbered lists

Issue

User wants the alignment of the numbers to be right aligned instead of left aligned

Solution

  1. Navigate to your install directory ..\Formats\WebWorks Help 5.0\Transforms\

  2. Copy content.xsl from this directory
  3. Go to View -> Format Override Directory

  4. Add the Transforms directory and paste the content.xsl file
  5. Open this file in a text editor
  6. Around line 1081, you will see the following text:
    <xsl:value-of select="concat('width: ', 0 - $VarTextIndentNumberAsUnits, $VarTextIndentUnits, '; white-space: nowrap;')" />

You will change that to become the following:

  • <xsl:value-of select="concat('width: ', 0 - $VarTextIndentNumberAsUnits, $VarTextIndentUnits, '; white-space: nowrap; text-align: right;')" />

This will force all of those tables emitted in the output to right align the text.

Permalinks/Solutions/Overrides/NumberAlignment (last edited 2010-04-27 22:28:57 by LaurenLever)