### 11.10. The \signaturepage command

The number of people who need to sign is given by the \committeesize command. The first signature line is for the chair or co-chairs, and displays the name or names under it. The remaining lines are for the other committee members, and do not display the names beneath.

For the preamble commands that set up the signature page, see:

Here is the main \signaturepage command. Before the actual command we define a new counter signature@count that will be used to compute the number of signature lines after the line where the chair or co-chairs sign.

nmtthesis2015.sty
%
% - - -   \ s i g n a t u r e p a g e
%
\newcounter{signature@count}%
\providecommand{\signaturepage}{}%
\renewcommand{\signaturepage}%
{%


First we go to a new page with \clearpage, and specify an empty page style. The page counter is decremented so that this page will not count in the page numbering scheme. A non-discardable 1″ vertical skip guarantees a two-inch top margin.

nmtthesis2015.sty
  \clearpage
\thispagestyle{empty}
\vspace*{1in}


Next comes a boilerplate paragraph, and an extra blank line. The localized \sloppy command prevents a word break in the middle of the word “committee.” The \accepted@ function is defined at the end of this section.

nmtthesis2015.sty
  \accepted@
\vspace{\baselineskip}


Next comes the signature line for the chair or co-chairs. For the actual signature blank, see Section 13.10, “\sign@here: Signature line”. The text under this blank depends on whether there is a co-chair:

• If there is no co-chair, the text is “CHAIR, Advisor”.

• If there is a co-chair, the text is “CHAIR and CO-CHAIR, Advisors”. (Note: This feature is currently deprecated by the Graduate office; see Section 9.2, “\chair.)

While we're distinguishing between these two cases, we also set the value of the signature@count variable to the number of signature blanks that remain to be displayed after the chair blank. If the writer uses a \chair command, the \chair@ command is defined as the chair's name, and the number of unlabeled signature blanks is one less than \committee@size. If they used a \cochairs command, the \chair@ command is defined as the first co-chair's name and \second@chair to the second, so the number of unlabeled signature lines is two less than \committee@size.

nmtthesis2015.sty
  \setcounter{signature@count}{\committee@size}%
\sign@here
\ifthenelse{\equal{\second@chair}{}}% Is there a co-chair?
{% Single chair
\noindent
\par
}% Single chair
{% Co-chair
\noindent
\par
}% Co-chair


After another small vertical space, we produce signature@count copies of the signature blank.

nmtthesis2015.sty
  \vspace{\baselineskip}
\whiledo{\value{signature@count} > 0}%
{% Loop to produce unlabeled signature lines
\sign@here
}% Loop to produce unlabeled signature lines


Next comes a \vfill that expands to fill all the remaining vertical space on the page, so that the signature blank for the author will be at the bottom.

nmtthesis2015.sty
  \vfill


Located at the bottom of the page are another boilerplate paragraph, and the student's signature blank, with the author's name and the word “Date” at opposite sides of the page. The \i@release function is defined below.

nmtthesis2015.sty
  \i@release
}% End \signaturepage


We define next a service function that is also used by Section 10.11, “The committee environment”. This function sets the “This (whichever) is accepted…” paragraph.

nmtthesis2015.sty
%
% - - -   \ a c c e p t e d @
%
\newcommand{\accepted@}%
{%
\begin{sloppypar}
\noindent
This \thesis@type\ is accepted on behalf of the faculty
of the Institute by the following \mbox{committee}:
\end{sloppypar}
}% End \accepted@


The \i@release service function is also used by Section 10.11, “The committee environment”. It produces the signature blank for the author to release the rights.

nmtthesis2015.sty
%
% - - -   \ i @ r e l e a s e
%
\newcommand{\i@release}%
{%
\begin{sloppypar}
\noindent I release this document to the New Mexico Institute of Mining
and Technology.
\end{sloppypar}
\vspace{\baselineskip}
\sign@here
\noindent
\makebox[\textwidth][s]%
{% Box for author and date
\author@\hfill Date%
}% Box for author and date
}% End \i@release