X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/fc3df46b45c58b0048e7bdc65b75dfde0cf4efee..c8ee8fbc8d11c0e7b4960b37e3c4b473118fe9e2:/extra/pdf.xsl?ds=sidebyside diff --git a/extra/pdf.xsl b/extra/pdf.xsl index 714f06d..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} + + + + + + + + + + + + + + + + + + +