<xsl:param name="preface.tocdepth">1</xsl:param>
- <xsl:param name="toc.section.depth">1</xsl:param>
+ <xsl:param name="toc.section.depth">0</xsl:param>
<!-- do not list figures -->
<xsl:param name="doc.lot.show">example</xsl:param>
\setlength{\parskip}{0.5em} %
\setlength{\parindent}{0pt} %
}{}
+
+\usepackage{titlesec}
+\titleformat{\chapter}{\huge}{\chaptertitlename\ \thechapter}{20pt}{\Huge}
+\titleformat{\section}{\Large}{\thesection}{1em}{}
+\titleformat{\subsection}{\large}{\thesubsection}{1em}{}
+%% \titleformat{\paragraph}{\normalsize}{\theparagraph}{1em}{}
+%% \titleformat{\subparagraph}{\normalsize}{\thesubparagraph}{1em}{}
+
+\usepackage{titletoc}
+
+% indented subsection (in toc)
+\titlecontents{part}
+[0.0cm] % left margin
+{\vskip 0.5em} % above code
+{% % numbered format
+{\Large\thecontentslabel\quad}%
+}%
+{\Large} % unnumbered format
+{\hfill \contentspage \vskip 0.2em} % filler-page-format, e.g dots
+
+
+% indented subsection (in toc)
+\titlecontents{chapter}
+[0.0cm] % left margin
+{} % above code
+{% % numbered format
+{\large\thecontentslabel.\quad}%
+}%
+{\large} % unnumbered format
+{\hfill \contentspage} % filler-page-format, e.g dots