Next / Previous / Contents / NM Tech homepage

9.6. Report type selection commands: \thesis, etc.

Each of these commands defines a new command \thesis@type that is referenced by Section 10.6, “The acknowledgments environment”. This command contains the lowercased name of the report type.

nmtthesis2015.sty
%
% - - -   \ t h e s i s
%
\providecommand{\thesis@type}{}%
\newcommand{\thesis}%
{%
  \renewcommand{\thesis@type}{thesis}%
}% End \thesis
%
% - - -   \ m a s t e r s r e p o r t
%
\newcommand{\mastersreport}%
{%
  \renewcommand{\thesis@type}{report}
}% End \mastersreport
%
% - - -   \ d i s s e r t a t i o n
%
\newcommand{\dissertation}%
{%
  \renewcommand{\thesis@type}{dissertation}
}% End \dissertation

Set the default type to thesis, in case the user omits one of the above.

nmtthesis2015.sty
\thesis