diff options
author | Karl Berry <karl@freefriends.org> | 2018-07-10 21:07:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-07-10 21:07:37 +0000 |
commit | 954fbf16b3f8480fc5ef45d9d9da76d762de2653 (patch) | |
tree | 89a42ccdd9f4fc5750c3341a949117dca37c2a2e | |
parent | 1060c0ec4ed0c2403d13f6886ff1227c5fd40b5f (diff) |
thesis-gwu (10jul18)
git-svn-id: svn://tug.org/texlive/trunk@48180 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/thesis-gwu/README.md | 26 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/thesis-gwu/tex/manual.tex | 14 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/thesis-gwu/thesis-sample.pdf | bin | 407828 -> 413792 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/thesis-gwu/thesis-sample.tex | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/thesis-gwu/thesis-gwu.cls | 112 |
5 files changed, 105 insertions, 55 deletions
diff --git a/Master/texmf-dist/doc/latex/thesis-gwu/README.md b/Master/texmf-dist/doc/latex/thesis-gwu/README.md index fc67f8e5163..2a61bdbb4c8 100644 --- a/Master/texmf-dist/doc/latex/thesis-gwu/README.md +++ b/Master/texmf-dist/doc/latex/thesis-gwu/README.md @@ -1,6 +1,6 @@ -| 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] | +| Build Status | Latest Release | Version | Last Commit | Activity | CTAN | Citation | +| :--------------------------------------: | :--------------------------: | :----: | :------: | :------: | :----: | :-----: | +| [![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] | [![DOI][ doi_shield ]][ doi ] [travis_shield]: https://travis-ci.org/skulumani/thesis-gwu.svg?branch=master [release_shield]: https://img.shields.io/github/release/skulumani/thesis-gwu.svg @@ -8,6 +8,7 @@ [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 +[doi_shield]: https://zenodo.org/badge/69136100.svg [travis]: https://travis-ci.org/skulumani/thesis-gwu [github_release]: https://github.com/skulumani/thesis-gwu/releases/latest @@ -15,11 +16,13 @@ [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 +[doi]: https://zenodo.org/badge/latestdoi/69136100 ## [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). +This is a [GWU SEAS](https://library.gwu.edu/seas) thesis template, it conforms to the University and SEAS formatting guidelines as of May 21 2018. + +![screenshot](./doc/etd.png) ### Installing @@ -133,6 +136,19 @@ You can add more packages but be aware that all package interactions **HAVE NOT* There is also some demonstration of typical commands, such as equations, figures, cross-referencing. +## Additional Tips + +You can find some additional tips in [`./doc/tips.md`](./doc/tips.md) + +## Dissertation examples + +If you decide to use this template, feel free to send me an [email](mailto:skulumani@gwu.edu) and I can add your name/link below: + +* [Farshad Nasiri](https://www.linkedin.com/in/farshad-nasiri): The Structure of turbulent a boundary layer along a vertical, surface-piercing flat plate +* [Evan Kaufman](https://www.linkedin.com/in/evan-kaufman-7333b81b) +* [Mahdis Bisheban](https://www.linkedin.com/in/mahdisbisheban) +* [Mohammed Reza Najjari](https://www.linkedin.com/in/mohammad-reza-najjari-249b2b79) + ## Contributing Feel free to contribute any comments/suggestions you may have for this thesis. diff --git a/Master/texmf-dist/doc/latex/thesis-gwu/tex/manual.tex b/Master/texmf-dist/doc/latex/thesis-gwu/tex/manual.tex index ade40a72556..2f51caa0c05 100644 --- a/Master/texmf-dist/doc/latex/thesis-gwu/tex/manual.tex +++ b/Master/texmf-dist/doc/latex/thesis-gwu/tex/manual.tex @@ -244,6 +244,20 @@ The magic of \LaTeX automatically figures out that the previous reference points \caption[Damage report!]{Glad to have a thesis class\label{fig:picard}} \end{figure} +Here's another figure that demonstrates the use of \texttt{tikz} and the externalization library. +\begin{figure} + \centering + \begin{tikzpicture} + \begin{axis}[ + xlabel={$x$}, + ylabel={$y$}, + ] + \addplot {x^2}; + \end{axis} + \end{tikzpicture} + \caption{Externalized\label{fig:tikz}} +\end{figure} + \subsection{Tables}\label{ssec:tables} Here's a table in~\cref{tab:table} diff --git a/Master/texmf-dist/doc/latex/thesis-gwu/thesis-sample.pdf b/Master/texmf-dist/doc/latex/thesis-gwu/thesis-sample.pdf Binary files differindex 2f21c973ef9..37164b975fb 100644 --- a/Master/texmf-dist/doc/latex/thesis-gwu/thesis-sample.pdf +++ b/Master/texmf-dist/doc/latex/thesis-gwu/thesis-sample.pdf diff --git a/Master/texmf-dist/doc/latex/thesis-gwu/thesis-sample.tex b/Master/texmf-dist/doc/latex/thesis-gwu/thesis-sample.tex index ab6e14096b7..095679d740b 100644 --- a/Master/texmf-dist/doc/latex/thesis-gwu/thesis-sample.tex +++ b/Master/texmf-dist/doc/latex/thesis-gwu/thesis-sample.tex @@ -1,4 +1,4 @@ -\documentclass[thesis]{thesis-gwu}[2016/09/24] +\documentclass[thesis]{thesis-gwu}[2018/05/21] % this package is only used to generate some random text. % it is not needed in a true document @@ -6,6 +6,12 @@ \input{tex/frontmatter} +% this will speed up your tikz figures by building them once to another directory +\usepackage{pgfplots} +\usepgfplotslibrary{external} +\tikzexternalize +\tikzsetexternalprefix{cache/} + %% DOCUMENT AREA \begin{document} 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 d5f105f12a8..4a8a28d4f44 100644 --- a/Master/texmf-dist/tex/latex/thesis-gwu/thesis-gwu.cls +++ b/Master/texmf-dist/tex/latex/thesis-gwu/thesis-gwu.cls @@ -56,7 +56,7 @@ \NeedsTeXFormat{LaTeX2e} % This command gives the name of the class. -\ProvidesClass{thesis-gwu}[2018/05/21 v1.3.0 GWU Thesis template] +\ProvidesClass{thesis-gwu}[2018/07/09 v1.5.1 GWU Thesis template] %% ---- OPTIONS PROCESSING --------------------------------------------- % Define three switches for the the thesis format types. @@ -64,6 +64,8 @@ % The default values are false. \newif\if@gwu@thesis \newif\if@gwu@debug % option for debuggin + +\newif\if@gwu@tableofcontents \newif\if@gwu@listoffigures \newif\if@gwu@listoftables \newif\if@gwu@listofmaps @@ -91,12 +93,14 @@ \newif\if@gwu@msdegree +\newif\if@gwu@titlepage + % Set the default value of some of the options to true. \@gwu@thesistrue -\@gwu@listoffigurestrue -\@gwu@listoftablestrue -\@gwu@copyrighttrue -\@gwu@committeepagetrue +% \@gwu@listoffigurestrue +% \@gwu@listoftablestrue +% \@gwu@copyrighttrue +% \@gwu@committeepagefalse \@gwu@msdegreetrue % This declares a variable for using an index. @@ -220,20 +224,20 @@ %% ---- HYPERREF ---------------------------------------------------------- % This loads a package that allows extra colors for links. -\RequirePackage[usenames,dvipsnames]{color} +\RequirePackage[]{color} % Custom color for references. -\definecolor{DarkGreen}{rgb}{0,0.6,0} +% \definecolor{DarkGreen}{rgb}{0,0.6,0} % This will make labels and references hyperlinks. -\if@gwu@backref +\if@gwu@backref% % Use references in the bibliography. - \RequirePackage[pagebackref=true]{hyperref} -\else + \RequirePackage[pagebackref=true]{hyperref}% +\else% % Do not use back references. - \RequirePackage{hyperref} + \RequirePackage{hyperref}% \fi - \hypersetup{ + \hypersetup{% unicode=false, % non-Latin characters in Acrobat’s bookmarks pdftoolbar=true, % show Acrobat’s toolbar? pdfmenubar=true, % show Acrobat’s menu? @@ -243,15 +247,15 @@ colorlinks=false, % false: boxed links; true: colored links bookmarksdepth=3, bookmarksopen=true, - } + }% % Cleveref referencing - must happen after hyperref -\AtEndOfClass{\RequirePackage[noabbrev,capitalize]{cleveref}} +\AtEndOfClass{\RequirePackage[noabbrev,capitalize]{cleveref}}% % Glossaries package - must come after hypperef % This package is used for the list of abbreviations -\RequirePackage[printonlyused]{acronym} -\RequirePackage[abbreviations,symbols,shortcuts=none,automake]{glossaries-extra} +\RequirePackage[printonlyused]{acronym}% +\RequirePackage[abbreviations,symbols,shortcuts=none,automake]{glossaries-extra}% %% ---- FORMATTING ----------------------------------------------------- % Set the page style to fancy. \pagestyle{fancy} @@ -355,7 +359,7 @@ \newcommand{\@defensedate}{Insert defense date!} % Commands to set the titlepage fields -\renewcommand{\title}[1]{\renewcommand{\@title}{#1}} +\renewcommand{\title}[1]{\renewcommand{\@title}{#1}\@gwu@titlepagetrue} \renewcommand{\author}[1]{\renewcommand{\@author}{#1}} \newcommand{\bsdepartment}[1]{\renewcommand{\@bsdepartment}{#1}} @@ -371,7 +375,7 @@ \newcommand{\degree}[1]{\renewcommand{\@degree}{#1}} \newcommand{\department}[1]{\renewcommand{\@department}{#1}} -\newcommand{\committee}[1]{\renewcommand{\@committee}{#1}} +\newcommand{\committee}[1]{\renewcommand{\@committee}{#1}\@gwu@committeepagetrue} \newcommand{\chair}[1]{\renewcommand{\@chair}{#1}} \newcommand{\chairtitle}[1]{\renewcommand{\@chairtitle}{#1}} \newcommand{\cochair}[1]{\renewcommand{\@cochair}{#1}} @@ -694,6 +698,8 @@ %% ---- COMMANDS TO HIDE/SHOW FRONT PAGES ------------------------------ % Commands to show front pages +\newcommand{\showtitlepage}{\@gwu@titlepagetrue} + \newcommand{\showcopyright}{\@gwu@copyrighttrue} \newcommand{\showdedication}{\@gwu@dedicationtrue} \newcommand{\showacknowledgments}{\@gwu@acknowledgmentstrue} @@ -705,6 +711,8 @@ \newcommand{\showcommitteepage}{\@gwu@committeepagetrue} % Commands to hide front pages +\newcommand{\hidetitlepage}{\@gwu@titlepagefalse} + \newcommand{\hidecopyright}{\@gwu@copyrightfalse} \newcommand{\hidededication}{\@gwu@dedicationfalse} \newcommand{\hideacknowledgments}{\@gwu@acknowledgmentsfalse} @@ -909,35 +917,39 @@ %% ---- COMMANDS FOR LIST OF FIGURES, ETC. ----------------------------- % Commands to show each of the lists -\newcommand{\showlistoffigures}{\@gwu@listoffigurestrue} -\newcommand{\showlistoftables}{\@gwu@listoftablestrue} -\newcommand{\showlistofmaps}{\@gwu@listofmapstrue} -\newcommand{\showlistofillustrations}{\@gwu@listillustrationstrue} -\newcommand{\showlistofprograms}{\@gwu@listofprogramstrue} -\newcommand{\showlistofabbreviations}{\@gwu@listofabbrevstrue} +\newcommand{\showtableofcontents}{\@gwu@tableofcontentstrue} + +\newcommand{\showlistoffigures}{\@gwu@listoffigurestrue\@gwu@tableofcontentstrue} +\newcommand{\showlistoftables}{\@gwu@listoftablestrue\@gwu@tableofcontentstrue} +\newcommand{\showlistofmaps}{\@gwu@listofmapstrue\@gwu@tableofcontentstrue} +\newcommand{\showlistofillustrations}{\@gwu@listillustrationstrue\@gwu@tableofcontentstrue} +\newcommand{\showlistofprograms}{\@gwu@listofprogramstrue\@gwu@tableofcontentstrue} +\newcommand{\showlistofabbreviations}{\@gwu@listofabbrevstrue\@gwu@tableofcontentstrue} -\newcommand{\showlistofacronyms}{\@gwu@listofacronymstrue\@gwu@listofglossariesabbrevsfalse} -\newcommand{\showlistofsymbols}{\@gwu@listofsymbolstrue\@gwu@listofglossariessymbolsfalse} +\newcommand{\showlistofacronyms}{\@gwu@listofacronymstrue\@gwu@listofglossariesabbrevsfalse\@gwu@tableofcontentstrue} +\newcommand{\showlistofsymbols}{\@gwu@listofsymbolstrue\@gwu@listofglossariessymbolsfalse\@gwu@tableofcontentstrue} -\newcommand{\showglossarieslistofabbreviations}{\@gwu@listofglossariesabbrevstrue\@gwu@listofacronymsfalse} -\newcommand{\showglossarieslistofsymbols}{\@gwu@listofglossariessymbolstrue\@gwu@listofsymbolsfalse} -\newcommand{\showglossarieslistofacronyms}{\@gwu@listofglossariesacronymstrue\@gwu@listofacronymsfalse} -\newcommand{\showglossariesglossaryofterms}{\@gwu@glossaryoftermstrue} +\newcommand{\showglossarieslistofabbreviations}{\@gwu@listofglossariesabbrevstrue\@gwu@listofacronymsfalse\@gwu@tableofcontentstrue} +\newcommand{\showglossarieslistofsymbols}{\@gwu@listofglossariessymbolstrue\@gwu@listofsymbolsfalse\@gwu@tableofcontentstrue} +\newcommand{\showglossarieslistofacronyms}{\@gwu@listofglossariesacronymstrue\@gwu@listofacronymsfalse\@gwu@tableofcontentstrue} +\newcommand{\showglossariesglossaryofterms}{\@gwu@glossaryoftermstrue\@gwu@tableofcontentstrue} % Commands to hide each of the lists -\newcommand{\hidelistoffigures}{\@gwu@listoffiguresfalse} -\newcommand{\hidelistoftables}{\@gwu@listoftablesfalse} -\newcommand{\hidelistofmaps}{\@gwu@listofmapsfalse} -\newcommand{\hidelistofillustrations}{\@gwu@listillustrationsfalse} -\newcommand{\hidelistofprograms}{\@gwu@listofprogramsfalse} -\newcommand{\hidelistofabbreviations}{\@gwu@listofabbrevsfalse} -\newcommand{\hidelistofacronyms}{\@gwu@listofacronymsfalse} -\newcommand{\hidelistofsymbols}{\@gwu@listofsymbolsfalse} - -\newcommand{\hideglossarieslistofabbreviations}{\@gwu@listofglossariesabbrevsfalse} -\newcommand{\hideglossarieslistofacronyms}{\@gwu@listofglossariesacronymsfalse} -\newcommand{\hideglossarieslistofsymbols}{\@gwu@listofglossariessymbolsfalse} -\newcommand{\hideglossariesglossaryofterms}{\@gwu@glossaryoftermsfalse} +\newcommand{\hidetableofcontents}{\@gwu@tableofcontentsfalse} + +\newcommand{\hidelistoffigures}{\@gwu@listoffiguresfalse\@gwu@tableofcontentsfalse} +\newcommand{\hidelistoftables}{\@gwu@listoftablesfalse\@gwu@tableofcontentsfalse} +\newcommand{\hidelistofmaps}{\@gwu@listofmapsfalse\@gwu@tableofcontentsfalse} +\newcommand{\hidelistofillustrations}{\@gwu@listillustrationsfalse\@gwu@tableofcontentsfalse} +\newcommand{\hidelistofprograms}{\@gwu@listofprogramsfalse\@gwu@tableofcontentsfalse} +\newcommand{\hidelistofabbreviations}{\@gwu@listofabbrevsfalse\@gwu@tableofcontentsfalse} +\newcommand{\hidelistofacronyms}{\@gwu@listofacronymsfalse\@gwu@tableofcontentsfalse} +\newcommand{\hidelistofsymbols}{\@gwu@listofsymbolsfalse\@gwu@tableofcontentsfalse} + +\newcommand{\hideglossarieslistofabbreviations}{\@gwu@listofglossariesabbrevsfalse\@gwu@tableofcontentsfalse} +\newcommand{\hideglossarieslistofacronyms}{\@gwu@listofglossariesacronymsfalse\@gwu@tableofcontentsfalse} +\newcommand{\hideglossarieslistofsymbols}{\@gwu@listofglossariessymbolsfalse\@gwu@tableofcontentsfalse} +\newcommand{\hideglossariesglossaryofterms}{\@gwu@glossaryoftermsfalse\@gwu@tableofcontentsfalse} %% ---- TABLE OF CONTENTS ---------------------------------------------- % This sets the formatting for chapter entries in the table of contents. @@ -1457,11 +1469,12 @@ %% ---- INITIALIZATION ------------------------------------------------- % Commands to be placed after \begin{document} -\AtBeginDocument{ % +\AtBeginDocument{% + \providecommand\tikzifexternalizing[2]{#2}% % Insert a title page. - \titlepage % +\tikzifexternalizing{}{\if@gwu@titlepage\titlepage\fi% % Change the PDF title. - \hypersetup{ + \hypersetup{% pdftitle=\inserttitle, pdfauthor=\insertauthor, pdfcreator=\insertauthor, @@ -1475,7 +1488,7 @@ % Use lower-case roman numerals. \renewcommand{\thepage}{\roman{page}} % % Insert the copyright page if there is one. - \if@gwu@copyright\copyrightpage\fi + \if@gwu@copyright\copyrightpage\fi% % Insert a dedication if there is one. \if@gwu@dedication\dedicationpage\fi % % Insert the acknowledgments if there are any. @@ -1486,7 +1499,7 @@ % Insert the abstract. \if@gwu@abstract\abstractpage\fi % % Insert the table of contents. - \tableofcontents % + \if@gwu@tableofcontents\tableofcontents\fi % % Insert the list of figures. \if@gwu@listoffigures\listoffigures\fi % % Insert the list of tables. @@ -1507,7 +1520,7 @@ \if@gwu@listofglossariessymbols\listofglossarysymbols\fi % Insert the nomenclature. \if@gwu@nomenclature\insertnomenclature\fi % - \if@gwu@glossaryofterms\listofglossaryofterms\fi + \if@gwu@glossaryofterms\listofglossaryofterms\fi% % Insert the preface if there is one. \if@gwu@preface\prefacepage\fi % % Insert the foreword if there is one. @@ -1533,5 +1546,6 @@ % Use two-column format \twocolumn % \fi % + } } |