Skip to content

Commit

Permalink
Internalize "official" flag
Browse files Browse the repository at this point in the history
Just some simple housekeeping.  `\ifoffical` is our own flag, so I've made it internal by marking it with `mt@` (I'm doing this as I go on a case-by-case basis).
  • Loading branch information
rpspringuel committed May 18, 2019
1 parent 49f5171 commit 39df217
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions maine-thesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
%%%%%%%%%%%%%%%%%%%%%
\newif\ifdraft\draftfalse
\newif\iftwoside\twosidefalse
\newif\ifofficial\officialtrue
\newif\ifmt@official\mt@officialtrue
\newif\ifunbound\unboundfalse
\newif\ifmt@legacycaptions\mt@legacycaptionsfalse
\newcommand\docsize{}
Expand All @@ -51,11 +51,11 @@
\ExecuteOptions{10pt}
\PassOptionsToClass{draft}{report}
\newcommand{\drafttext}{\sffamily\small{DRAFT}
\officialfalse}
\mt@officialfalse}
}
\DeclareOption{twoside}{\officialfalse\unboundfalse\twosidetrue\renewcommand\side{twoside}\def\@margg{1.5in}}
\DeclareOption{oneside}{\officialfalse\unboundfalse\renewcommand\side{oneside}\def\@margg{1.5in}}
\DeclareOption{unbound}{\officialtrue\unboundtrue\def\@margg{1in}}
\DeclareOption{twoside}{\mt@officialfalse\unboundfalse\twosidetrue\renewcommand\side{twoside}\def\@margg{1.5in}}
\DeclareOption{oneside}{\mt@officialfalse\unboundfalse\renewcommand\side{oneside}\def\@margg{1.5in}}
\DeclareOption{unbound}{\mt@officialtrue\unboundtrue\def\@margg{1in}}
\DeclareOption{apa}{\setcounter{secnumdefault}{0}\setcounter{head}{0}}
\DeclareOption{chicago}{\setcounter{secnumdefault}{0}\setcounter{head}{1}}
\DeclareOption{headings}{\setcounter{secnumdefault}{0}\setcounter{head}{2}}
Expand Down

0 comments on commit 39df217

Please sign in to comment.