### 10.1. The dedication environment

Here are the style features required by the Graduate Office for this optional feature.

• The page does not display a page number, and is not counted in the page numbering.

• The body of the dedication is single-spaced.

• The text is centered both vertically and horizontally.

The old version of the stylesheet also automatically skips about 3 picas, then sets three lines flush right: the author's name; the university's name, in slanted type; and the month and year, also in slanted type.

nmtthesis2015.sty
%
% - - -   { d e d i c a t i o n }
%
\newenvironment{dedication}%
{% dedication prologue


We start by going to a new page with a \clearpage, and setting the current page style to empty (no header or footer). Then we set the \baselineskip to single-space the contents (see Section 13.12, “\single@spacing: Set up single-spaced lines”). Vertical centering is achieved by using a non-discardable vertical fill at the top of the page and another fill at the bottom. Lastly, start a centering environment.

nmtthesis2015.sty
  \clearpage
\thispagestyle{empty}
\single@spacing
\vspace*{\fill}
\begin{center}
}% dedication prologue
{% dedication epilogue


The epilogue first ends the centering environment, then skips down and sets the lines for the author (set by Section 9.1, “\author), university, and date (set by Section 9.5, “\graduationdate. Finally comes the second vertical fill, and a mandatory page break.

nmtthesis2015.sty
  \end{center}
\vspace{3pc}
\begin{flushright}
\author@\\
\slshape
New Mexico Institute of Mining and Technology\\