summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-01-21 22:32:47 +0000
committerKarl Berry <karl@freefriends.org>2018-01-21 22:32:47 +0000
commit11ff1f72434e2ded98872518df951f532d601b14 (patch)
tree58d18f0ed2ac08ce855b3c902427ddb247dab807 /Master
parent2a62cd27f234355f6c9e46be9409cc1e36c430ca (diff)
thesis-gwu (21jan18)
git-svn-id: svn://tug.org/texlive/trunk@46403 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/thesis-gwu/README.md28
-rw-r--r--Master/texmf-dist/doc/latex/thesis-gwu/thesis-sample.pdfbin407527 -> 407392 bytes
-rw-r--r--Master/texmf-dist/tex/latex/thesis-gwu/thesis-gwu.cls73
3 files changed, 71 insertions, 30 deletions
diff --git a/Master/texmf-dist/doc/latex/thesis-gwu/README.md b/Master/texmf-dist/doc/latex/thesis-gwu/README.md
index d863fbae0bb..fc67f8e5163 100644
--- a/Master/texmf-dist/doc/latex/thesis-gwu/README.md
+++ b/Master/texmf-dist/doc/latex/thesis-gwu/README.md
@@ -1,25 +1,45 @@
-| Build Status | Latest Release | Version | Last Commit | Activity |
-| :--------------------------------------: | :--------------------------: | :----: | :------: | :------: |
-| [![Travis][travis_shield]][travis] | [![Github Release][release_shield]][github_release] | [![Github Version][version_shield]][github_version] | [![Github Last Commit][last_commit_shield]][github_last_commit] | [![Github commit activity][activity_shield]][github_activity] |
-
+| Build Status | Latest Release | Version | Last Commit | Activity | CTAN |
+| :--------------------------------------: | :--------------------------: | :----: | :------: | :------: | :----: |
+| [![Travis][travis_shield]][travis] | [![Github Release][release_shield]][github_release] | [![Github Version][version_shield]][github_version] | [![Github Last Commit][last_commit_shield]][github_last_commit] | [![Github commit activity][activity_shield]][github_activity] | [![CTAN][ctan_shield]][ctan] |
[travis_shield]: https://travis-ci.org/skulumani/thesis-gwu.svg?branch=master
[release_shield]: https://img.shields.io/github/release/skulumani/thesis-gwu.svg
[version_shield]: https://badge.fury.io/gh/skulumani%2Fthesis-gwu.svg
[last_commit_shield]: https://img.shields.io/github/last-commit/skulumani/thesis-gwu.svg
[activity_shield]: https://img.shields.io/github/commit-activity/y/skulumani/thesis-gwu.svg
+[ctan_shield]: https://img.shields.io/ctan/v/tex.svg
[travis]: https://travis-ci.org/skulumani/thesis-gwu
[github_release]: https://github.com/skulumani/thesis-gwu/releases/latest
[github_version]: https://github.com/skulumani/thesis-gwu/releases/latest
[github_last_commit]: https://github.com/skulumani/thesis-gwu/commits/master
[github_activity]: https://github.com/skulumani/thesis-gwu/graphs/commit-activity
+[ctan]: https://ctan.org/pkg/thesis-gwu
## [GWU Thesis](https://skulumani.github.io/2016/10/thesis-gwu)
This is a GWU SEAS thesis template.
It complies with the requirements as laid out by the [ETD](http://library.gwu.edu/etd/formatting-content).
+### Installing
+
+You can install this thesis class in one of two ways:
+
+1. Clone/Download this repo onto your computer, and use
+
+~~~
+\documentclass[path/to/thesis-gwu]
+~~~
+
+2. Install thesis-gwu from CTAN
+
+~~~
+tlmgr install thesis-gwu
+~~~
+
+Which will download this class file to your computer and install it appropriately.
+Any document on your machine can then use `thesis-gwu`
+
### Building the PDF
To build the document, it is easiest to use the great [`latexmk`](http://mg.readthedocs.io/latexmk.html) by simply running:
diff --git a/Master/texmf-dist/doc/latex/thesis-gwu/thesis-sample.pdf b/Master/texmf-dist/doc/latex/thesis-gwu/thesis-sample.pdf
index 15ac9c0cf40..6cdcb30a4fe 100644
--- a/Master/texmf-dist/doc/latex/thesis-gwu/thesis-sample.pdf
+++ b/Master/texmf-dist/doc/latex/thesis-gwu/thesis-sample.pdf
Binary files differ
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.