<xsl:template match="article">
\documentclass[a4paper]{article}
+\usepackage{xcolor}
\usepackage{graphics}
\usepackage{latexsym}
\usepackage{marvosym}
<xsl:template match="book">
\documentclass[a4paper]{book}
+\usepackage{xcolor}
\usepackage{graphics}
\usepackage{latexsym}
\usepackage{marvosym}
<xsl:template match="report">
\documentclass[a4paper]{report}
+\usepackage{xcolor}
\usepackage{graphics}
\usepackage{latexsym}
\usepackage{marvosym}
\end{verbatim}
</xsl:template>
+<xsl:template match="example">
+\begin{verbatim}
+ <xsl:apply-templates/>
+\end{verbatim}
+</xsl:template>
+
<xsl:template match="itemize">
\begin{itemize}
<xsl:apply-templates/>
<xsl:template match="sub">$_{<xsl:apply-templates/>}$</xsl:template>
<xsl:template match="sup">$^{<xsl:apply-templates/>}$</xsl:template>
+<xsl:template match="color">\textcolor{<xsl:value-of select="@colorname"/>}{<xsl:apply-templates/>}</xsl:template>
+
+<xsl:template match="big">\large{<xsl:apply-templates/>}</xsl:template>
+<xsl:template match="small">\small{<xsl:apply-templates/>}</xsl:template>
+
<xsl:template match="newline">\\</xsl:template>
<xsl:template match="newpage">\newpage</xsl:template>