X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/aac46b416facaccdfe37448b632c1f871c2d70f5..c8ee8fbc8d11c0e7b4960b37e3c4b473118fe9e2:/extra/pdf.xsl diff --git a/extra/pdf.xsl b/extra/pdf.xsl index dad297e..10aaa5e 100644 --- a/extra/pdf.xsl +++ b/extra/pdf.xsl @@ -9,8 +9,8 @@ - 8.5in - 11in + 6in + 9in 1.5in 1.5in @@ -29,6 +29,35 @@ example + + + + linktocpage,colorlinks,linkcolor=black,urlcolor=black,pdfstartview=FitH + + + +% Trick to avoid many words sticking out of the right margin of the text. +% Note, only one latex.begindocument can be active. +\sloppy + +\usepackage{titlesec} + +\titleformat{\chapter}[display] + {\raggedright\Huge} + {} + {0pt} + {\thechapter.\ } + +\titleformat{name=\chapter,numberless}[display] + {\raggedright\Huge} + {} + {0pt} + {} + +\begin{document} + + + + + + + + \\ \quad \hfill - } + + + + + + + + + + + \chapter*{ + + } + \addcontentsline{toc}{chapter}{ + + } + + + + + + + + + + + + + + + + +