diff options
-rw-r--r-- | montgomery.cls | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/montgomery.cls b/montgomery.cls index 71d74df..3d87e56 100644 --- a/montgomery.cls +++ b/montgomery.cls @@ -106,8 +106,8 @@ \declaretheorem[style=boxedthm,numbered=no]{definition} \declaretheorem[style=boxedthm,numbered=no]{example} -\declaretheorem[style=boxedthm,parent=chapter]{exercise} -\declaretheorem[style=boxedthm,parent=chapter]{theorem} +\declaretheorem[style=boxedthm,parent=section]{exercise} +\declaretheorem[style=boxedthm,parent=section]{theorem} \declaretheorem[style=boxedthm,numbered=no]{suggestion} \setlist[itemize]{itemsep=0pt,topsep=0pt} @@ -131,7 +131,9 @@ Section~\thesection: % }{0pt}{} -\titlespacing*{\section}{0pt}{0pt}{0.5in} +\titleformat{\subsection}[block]{% + \large\itshape\bfseries\center% +}{}{0pt}{} \AtBeginDocument{ \setlength{\parskip}{\topsep} |