| 1 |
% https://oit.colorado.edu/software-hardware/tex-latex/thesis-class/documentation-sample-files |
| 2 |
% (truncated) |
| 3 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 4 |
%% thesis.cls - LaTeX2e class for CU Theses. |
| 5 |
%% To conform to the University of Colorado at Boulder |
| 6 |
%% Graduate School SPECIFICATIONS (April 2010) for |
| 7 |
%% Preparation of Master's Thesis and Doctoral Dissertations |
| 8 |
%% Version 1.00 written by John P. Weiss, 1997 |
| 9 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 10 |
%% version 1.13, Hongcheng Ni, March 2014 -- made compatible with |
| 11 |
%% hyperref. |
| 12 |
%% version 1.12, Hongcheng Ni, March 2014 -- added title before |
| 13 |
%% the advisor's name in the signature page. |
| 14 |
%% version 1.11, Bruce Fast, April 2008 -- changed left margin |
| 15 |
%% from 1.75" to 1", and added \IRBprotocol option |
| 16 |
%% version 1.10, E. Joshua Rigler, January 2003 -- making it safe |
| 17 |
%% for folks who inadvertently load setspace.sty, changed |
| 18 |
%% \latex@xfloat to \latexx@xfloat |
| 19 |
%% version 1.09, BF, November 2000 -- conforms to revised specs |
| 20 |
%% no significant changes required |
| 21 |
%% version 1.08, Steven V Penton, September 1999 -- added |
| 22 |
%% \readerFive; moved list of tables in front of figures |
| 23 |
%% version 1.07, BF, January 1999 -- fixed \LoFisShort etc. |
| 24 |
%% version 1.06, BF, November 1998 -- fixed level 4 headers; |
| 25 |
%% SubSubSections, inline4 & nonum4. Eliminated |
| 26 |
%% unwanted space before chapter/section numbers. |
| 27 |
%% version 1.05, BF, August 1998 -- Footnotes and floats |
| 28 |
%% (captions) now singlespaced, fixing an omission |
| 29 |
%% in v1.04. Fixed value of \belowcaptionskip, |
| 30 |
%% for table captions. |
| 31 |
%% version 1.04, BF, July 1998, Adjusted doublespacing |
| 32 |
%% (no longer uses setspace.sty) and margin values. |
| 33 |
%% version 1.03, May 1998, Bruce Fast -- Added optional |
| 34 |
%% \readerThree{}, \readerFour{}; LoF/LoT debugging; |
| 35 |
%% doublespaced abstract |
| 36 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 37 |
|
| 38 |
\NeedsTeXFormat{LaTeX2e}[1995/12/01] |
| 39 |
\ProvidesClass{thesis}[2014/03/27] % version 1.13 |
| 40 |
|
| 41 |
\typeout{} |
| 42 |
\typeout{--------------------------------------------------------------} |
| 43 |
\typeout{ +---+ Thesis Style (thesis.cls) version 1.13} |
| 44 |
\typeout{ +---+ for University of Colorado Ph.D. theses/dissertations.} |
| 45 |
\typeout{ * Conforms to the University of Colorado at Boulder Graduate} |
| 46 |
\typeout{ * School "SPECIFICATIONS for Preparation of Master's Thesis} |
| 47 |
\typeout{ * and Doctoral Dissertations" (rev. March 2014).} |
| 48 |
\typeout{--------------------------------------------------------------} |
| 49 |
\typeout{ URL: http://www.colorado.edu/oit/software-hardware/tex-latex} |
| 50 |
\typeout{} |
| 51 |
|
| 52 |
% Certain options are not handled here but are passed on to report.cls |
| 53 |
% by \PassOptionToClass. |
| 54 |
|
| 55 |
\DeclareOption{fleqn}{ \PassOptionsToClass{fleqn}{report} } |
| 56 |
\DeclareOption{leqno}{ \PassOptionsToClass{leqno}{report} } |
| 57 |
\DeclareOption{openbib}{ \PassOptionsToClass{openbib}{report} } |
| 58 |
\DeclareOption{draft}{ \PassOptionsToClass{draft}{report} } |
| 59 |
\DeclareOption{final}{ \PassOptionsToClass{final}{report} } |
| 60 |
\DeclareOption{openright}{ \PassOptionsToClass{openright}{report} } |
| 61 |
\DeclareOption{openany}{ \PassOptionsToClass{openany}{report} } |
| 62 |
\DeclareOption{10pt}{ \PassOptionsToClass{10pt}{report} } |
| 63 |
\DeclareOption{11pt}{ \PassOptionsToClass{11pt}{report} } |
| 64 |
\DeclareOption{12pt}{ \PassOptionsToClass{12pt}{report} } |
| 65 |
|
| 66 |
% Invalid options - normally used in report.cls and others, but not here: |
| 67 |
|
| 68 |
\DeclareOption{titlepage} |
| 69 |
{\ClassWarning{thesis}{Title page always generated. Option ignored.}} |
| 70 |
\DeclareOption{notitlepage} |
| 71 |
{\ClassWarning{thesis}{Option 'notitlepage' not available for thesis.}} |
| 72 |
\DeclareOption{twoside} |
| 73 |
{\ClassWarning{thesis}{Option 'twoside' not available for thesis.}} |
| 74 |
\DeclareOption{twocolumn} |
| 75 |
{\ClassWarning{thesis}{Option 'twocolumn' not available for thesis.}} |
| 76 |
\DeclareOption{landscape} |
| 77 |
{\ClassWarning{thesis}{Option 'landscape' not available for thesis.}} |
| 78 |
\DeclareOption{legalpaper} |
| 79 |
{\ClassWarning{thesis}{Option 'legalpaper' not available for thesis.}} |
| 80 |
\DeclareOption{a4paper} |
| 81 |
{\ClassWarning{thesis}{Option 'a4paper' not available for this class.}} |
| 82 |
\DeclareOption{a5paper} |
| 83 |
{\ClassWarning{thesis}{Option 'a5paper' not available for this class.}} |
| 84 |
\DeclareOption{executivepaper} |
| 85 |
{\ClassWarning{thesis}{Option 'executivepaper' not available.}} |
| 86 |
\DeclareOption{b5paper} |
| 87 |
{\ClassWarning{thesis}{Option 'b5paper' not available for this class.}} |
| 88 |
\DeclareOption{letterpaper} |
| 89 |
{\ClassWarning{thesis}{Option 'letterpaper' superfluous. Ignored.}} |
| 90 |
\DeclareOption{onecolumn} |
| 91 |
{\ClassWarning{thesis}{Option 'onecolumn' superfluous. Ignored.}} |
| 92 |
\DeclareOption{oneside} |
| 93 |
{\ClassWarning{thesis}{Option 'oneside' superfluous. Ignored.}} |
| 94 |
|
| 95 |
%%%%%%%%%%% CUSTOM OPTIONS: |
| 96 |
% Options for no decimal numbering, or decimal number nested over 3 deep: |
| 97 |
\newif\if@AllHeadings |
| 98 |
\newif\if@NumberStdHeadings |
| 99 |
\newif\if@PerChptrNumbering |
| 100 |
\newif\if@emphisbold |
| 101 |
\newif\if@boldhead |
| 102 |
\newif\if@fixedHeadSz |
| 103 |
\newif\if@headSizeTwelvePt |
| 104 |
\newif\if@ChapterDefault |
| 105 |
\newif\if@SectionDefault |
| 106 |
\newif\if@SubSectionDefault |
| 107 |
\newif\if@OtherHeadingDefault |
| 108 |
\newif\if@centerChapter |
| 109 |
\newif\if@centerSection |
| 110 |
\newif\if@inlineSubSubSection |
| 111 |
\newif\if@numberSubSubSection |
| 112 |
\newif\if@chapterCaps |
| 113 |
\@AllHeadingsfalse |
| 114 |
\@NumberStdHeadingstrue |
| 115 |
\@PerChptrNumberingtrue |
| 116 |
\@emphisboldtrue |
| 117 |
\@boldheadtrue |
| 118 |
\@fixedHeadSzfalse |
| 119 |
\@centerChaptertrue |
| 120 |
\@centerSectionfalse |
| 121 |
\@inlineSubSubSectionfalse |
| 122 |
\@numberSubSubSectiontrue |
| 123 |
\@chapterCapsfalse |
| 124 |
\@headSizeTwelvePttrue |
| 125 |
\DeclareOption{consecutivenumbering}{ \@PerChptrNumberingfalse } |
| 126 |
\DeclareOption{inlineh4}{ \@inlineSubSubSectiontrue } |
| 127 |
\DeclareOption{nonumh4}{ \@numberSubSubSectionfalse } |
| 128 |
\DeclareOption{centerh1}{ \@centerSectiontrue } |
| 129 |
\DeclareOption{chapleft}{ \@centerSectiontrue } |
| 130 |
\DeclareOption{chapup}{ \@chapterCapstrue } |
| 131 |
\DeclareOption{emph2underline}{ \@emphisboldfalse } |
| 132 |
\DeclareOption{plainhead}{ \@boldheadfalse } |
| 133 |
\DeclareOption{fixedheadsize}{ \@fixedHeadSztrue } |
| 134 |
\DeclareOption{varheadsize}{\@headSizeTwelvePtfalse}% Hidden option. Don't use. |
| 135 |
\DeclareOption{numberchapteronly}{ |
| 136 |
\@PerChptrNumberingfalse\@NumberStdHeadingsfalse\@AllHeadingsfalse |
| 137 |
\@centerChaptertrue\@centerSectiontrue |
| 138 |
\@inlineSubSubSectiontrue\@numberSubSubSectionfalse } |
| 139 |
\DeclareOption{allheadings}{ |
| 140 |
\@PerChptrNumberingtrue\@NumberStdHeadingstrue\@AllHeadingstrue |
| 141 |
\@centerChaptertrue\@centerSectionfalse |
| 142 |
\@inlineSubSubSectionfalse\@numberSubSubSectiontrue} |
| 143 |
\DeclareOption{typewriterstyle}{ \@emphisboldfalse |
| 144 |
\@PerChptrNumberingfalse\@NumberStdHeadingsfalse\@AllHeadingsfalse |
| 145 |
\@centerChaptertrue\@centerSectiontrue\@chapterCapstrue |
| 146 |
\@inlineSubSubSectiontrue\@numberSubSubSectionfalse |
| 147 |
\@boldheadfalse\@fixedHeadSztrue} |
| 148 |
\DeclareOption{modernstyle}{ \@emphisboldtrue |
| 149 |
\@PerChptrNumberingtrue\@NumberStdHeadingstrue\@AllHeadingsfalse |
| 150 |
\@centerChaptertrue\@centerSectionfalse\@chapterCapsfalse |
| 151 |
\@inlineSubSubSectiontrue\@numberSubSubSectionfalse |
| 152 |
\@boldheadtrue\@fixedHeadSzfalse} |
| 153 |
\DeclareOption{defaultstyle}{ \@emphisboldtrue |
| 154 |
\@PerChptrNumberingtrue\@NumberStdHeadingstrue\@AllHeadingsfalse |
| 155 |
\@centerChaptertrue\@centerSectionfalse\@chapterCapsfalse |
| 156 |
\@inlineSubSubSectionfalse\@numberSubSubSectiontrue |
| 157 |
\@boldheadtrue\@fixedHeadSzfalse} |
| 158 |
% lines deleted % |
| 159 |
\endinput |
| 160 |
%%%%%%%%%%%%%%%% End of file ``thesis.cls'' |