diff options
author | Benji Dial <benji@benjidial.net> | 2024-12-06 17:35:23 -0500 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-12-06 17:35:23 -0500 |
commit | e3d47b0522e32ece602d2681c1239bfcd9806faf (patch) | |
tree | 17fed4fc712a837f8324c294cad75246f5ce8b33 /montgomery.cls | |
parent | 45536ceff9895065738681188333b9f918920346 (diff) | |
download | latex-classes-e3d47b0522e32ece602d2681c1239bfcd9806faf.tar.gz |
montgomery: section and chapter formatting stuff
Diffstat (limited to 'montgomery.cls')
-rw-r--r-- | montgomery.cls | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/montgomery.cls b/montgomery.cls index e285e79..71d74df 100644 --- a/montgomery.cls +++ b/montgomery.cls @@ -21,6 +21,10 @@ \usepackage[capitalize]{cleveref} \usepackage{rotating} \usepackage{environ} +\usepackage[sorting=nyt,style=authoryear]{biblatex} +\usepackage{imakeidx} +\usepackage{titlesec} +\usepackage{emptypage} \setmainfont{CMU Sans Serif} \setmathfont{Concrete Math} @@ -110,6 +114,25 @@ \setlist[enumerate]{itemsep=0pt,topsep=0pt,label=\alph*)} \setlist[enumerate,2]{label=\roman*)} +\titleformat{\chapter}[display]{% + \thispagestyle{empty}% + \Large\itshape\center% +}{% + \chaptertitlename~\thechapter:% +}{0pt}{% + \Huge\bfseries% +} + +\titleformat{\section}[block]{% + \cleardoublepage% + \thispagestyle{empty}% + \Large\itshape\bfseries\center% +}{% + Section~\thesection: % +}{0pt}{} + +\titlespacing*{\section}{0pt}{0pt}{0.5in} + \AtBeginDocument{ \setlength{\parskip}{\topsep} \setlength{\parindent}{0pt} |