X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/09716550cdf80f9c5f33d8390a1af64192a43af4..c7d456aa92992ff6ae23a9c0b2abb2bdbd0dfe20:/extra/pdf.xsl diff --git a/extra/pdf.xsl b/extra/pdf.xsl index c7d5268..10aaa5e 100644 --- a/extra/pdf.xsl +++ b/extra/pdf.xsl @@ -1,4 +1,4 @@ - + myclass @@ -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}{ + + } + + + + + + + + + + + + + + + + +