]> pere.pagekite.me Git - text-madewithcc.git/blobdiff - myclass.cls
Copyedited for Tribe of Noise
[text-madewithcc.git] / myclass.cls
index d4167eb2b4597a33a47cb0c3d5b29eadd7cc38cd..7f3694dd094869f882c2d443b97bbb3c267c0434 100644 (file)
@@ -8,6 +8,7 @@
 
 \makeatletter
 
 
 \makeatletter
 
+\usepackage{hyphenat}
 %
 % Customize the titlepage: remove the date, place the publisher name, and
 % load a specific file for the verso page, containing some legal notices
 %
 % Customize the titlepage: remove the date, place the publisher name, and
 % load a specific file for the verso page, containing some legal notices
@@ -59,7 +60,7 @@
 }{}
 
 \usepackage{titlesec}
 }{}
 
 \usepackage{titlesec}
-\titleformat{\chapter}{\huge}{\chaptertitlename\ \thechapter}{20pt}{\Huge}
+\titleformat{\chapter}{\huge}{\thechapter.}{20pt}{\hyphenpenalty=10000 \Huge}
 \titleformat{\section}{\Large}{\thesection}{1em}{}
 \titleformat{\subsection}{\large}{\thesubsection}{1em}{}
 %% \titleformat{\paragraph}{\normalsize}{\theparagraph}{1em}{}
 \titleformat{\section}{\Large}{\thesection}{1em}{}
 \titleformat{\subsection}{\large}{\thesubsection}{1em}{}
 %% \titleformat{\paragraph}{\normalsize}{\theparagraph}{1em}{}