summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/thesis-gwu/thesis-gwu.cls73
1 files changed, 47 insertions, 26 deletions
diff --git a/Master/texmf-dist/tex/latex/thesis-gwu/thesis-gwu.cls b/Master/texmf-dist/tex/latex/thesis-gwu/thesis-gwu.cls
index 6a1672bcc3c..a7a22e6cf17 100644
--- a/Master/texmf-dist/tex/latex/thesis-gwu/thesis-gwu.cls
+++ b/Master/texmf-dist/tex/latex/thesis-gwu/thesis-gwu.cls
@@ -49,14 +49,14 @@
%% abstract that prints at the end.
%% 2011.04.09 @Derek Dalle : Convert rac.sty --> thesis.umich.cls
%% 2016.09.24 @Shankar Kulumani : First attempt to modify for GWU
-%%
+%% 2018.01.20 @Shankar Kulumani : Setup titlesec for modifying headings
%% ---- HEADERS --------------------------------------------------------
% This prevents the compiler from running on old versions of LaTeX.
\NeedsTeXFormat{LaTeX2e}
% This command gives the name of the class.
-\ProvidesClass{thesis-gwu}[2016/09/24 GWU Thesis template]
+\ProvidesClass{thesis-gwu}[2018/01/20 v1.2.7 GWU Thesis template]
%% ---- OPTIONS PROCESSING ---------------------------------------------
% Define three switches for the the thesis format types.
@@ -170,6 +170,9 @@
\RequirePackage{microtype}
\RequirePackage{bm}
+% Add package for managing section headings
+\RequirePackage[]{titlesec}
+
% This is useful for complex figures.
\RequirePackage{subcaption}
@@ -1403,31 +1406,49 @@
\@tex@bibliography{#1} %
}
-%% ---- CHAPTER HEADINGS -----------------------------------------------
+%% ---- CHAPTER/SECTION HEADINGS -----------------------------------------------
% Change the chapter headings to uppercase.
-\renewcommand{\@chapapp}{CHAPTER}
-
-% Change the formatting of the first page of each chapter.
-\renewcommand{\@makechapterhead}[1]{%
- % Insert an extra top margin.
- \begin{minipage}{0.8\textwidth} \vspace{1in} \end{minipage} \\ %
- % Insert the text
- { %
- % Ensure proper alignment.
- \parindent 0pt \raggedright %
- % Check for chapter overflow.
- \ifnum \c@secnumdepth >\m@ne %
- % CHAPTER and number
- \begin{center}{\Large\textbf{ \@chapapp{} \thechapter }} \end{center} \par%
- % Vertical space
- \vskip 0.3in \fi %
- % Insert the title of the chapter.
- \begin{center} \LARGE \textbf{ #1} \end{center} %
- % Vertical space after the title
- \nobreak \vskip 0.3in %
- } %
-}
-
+% \renewcommand{\@chapapp}{CHAPTER}
+
+% % Change the formatting of the first page of each chapter.
+% \renewcommand{\@makechapterhead}[1]{%
+% % Insert an extra top margin.
+% % \begin{minipage}{0.8\textwidth} \vspace{1in} \end{minipage} \\ %
+% % Insert the text
+% { %
+% % Ensure proper alignment.
+% \parindent 0pt \raggedright %
+% % Check for chapter overflow.
+% \ifnum \c@secnumdepth >\m@ne %
+% % CHAPTER and number
+% \begin{center}{\Large\textbf{ \@chapapp{} \thechapter }} \end{center} \par%
+% % Vertical space
+% \vskip 0.3in \fi %
+% % Insert the title of the chapter.
+% \begin{center} \LARGE \textbf{ #1} \end{center} %
+% % Vertical space after the title
+% \nobreak \vskip 0.3in %
+% } %
+% }
+\titleformat{\chapter}[hang]
+{\normalfont\normalsize\bfseries\centering}{\chaptertitlename\ \thechapter:}{20pt}{\normalsize}
+\titleformat{\section}
+{\normalfont\normalsize\bfseries}{\thesection}{1em}{\normalsize}
+\titleformat{\subsection}
+{\normalfont\normalsize\bfseries}{\thesubsection}{1em}{\normalsize}
+\titleformat{\subsubsection}
+{\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{}
+\titleformat{\paragraph}[runin]
+{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
+\titleformat{\subparagraph}[runin]
+{\normalfont\normalsize\bfseries}{\thesubparagraph}{1em}{}
+
+\titlespacing*{\chapter} {0pt}{*0}{*4}
+\titlespacing*{\section} {0pt}{3.5ex plus 1ex minus .2ex}{2.3ex plus .2ex}
+\titlespacing*{\subsection} {0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
+\titlespacing*{\subsubsection}{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
+\titlespacing*{\paragraph} {0pt}{3.25ex plus 1ex minus .2ex}{1em}
+\titlespacing*{\subparagraph} {\parindent}{3.25ex plus 1ex minus .2ex}{1em}
%% ---- SPACING --------------------------------------------------------
% This fixes the spacing below captions, which by default can be small.