Skip to main content

Section 38.9 Justified Text

We employ the package, microtype 1  to enhance 's algorithms for spacing text. See Section 28.2 for some explanation. The package admits a great deal of fine-tuning, and we make it easy to pass in options via a template included as part of the styling.

ctan.org/pkg/microtype

If you were using pdflatex you might include in your styling:

<xsl:template name="microtype-options">
    <xsl:text>protrusion=true,expansion</xsl:text>
</xsl:template>

This would have the effect of putting

\usepackage[protrusion=true,expansion]{microtype}

into your output file. Study the microtype documentation for possibilities.