1 <?xml version='1.0' encoding="iso-8859-1"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
3 <xsl:param name="latex.class.book">book</xsl:param>
4 <xsl:param name="latex.class.options">a4paper,openright,twoside</xsl:param>
6 <!-- insert a few latex tricks at the top of the .tex document -->
7 <xsl:param name="latex.begindocument">
8 <xsl:text>% start of latex.begindocument
10 % Trick to avoid many words sticking out of the right margin of the text.
13 % The microtype package provides the ability to micromanage your
14 % typography. When invoked without any options it does some nice things
15 % like protruding punctuation over the edge of the right margin to make
16 % the margin appear smoother. Basically it makes your book look more
17 % professional with very little effort. It also has a ton of options if
18 % you want to micromanage even more.
19 \usepackage{microtype}
21 % Make URLs in footnotes smaller to fit the long URLs
24 \renewcommand*{\UrlFont}{\ttfamily\relsize{-2}}
27 % end of latex.begindocument