Next / Previous / Contents / NM Tech homepage

10.4. The \frontispiece command

The frontispiece is intended to display a single graphic, optionally followed by a centered title. The optional argument #1 is the title; the graphic is the required argument #2.

nmtthesis2015.sty
%
% - - -   \ f r o n t i s p i e c e
%
\providecommand{\frontispiece}{}%
\renewcommand{\frontispiece}[2][]%
{% frontispiece: graphic with optional title
%    #1: optional title
%    #2: graphic
  \clearpage
  \thispagestyle{empty}
  \vspace*{\fill}
  \begin{center}
    #2%
  \end{center}
  \ifthenelse{\equal{#1}{}}%
  {}% No title
  {% Title
    \begin{center}
      #1%
    \end{center}
  }%
  \vfill
  \pagebreak[4]
}% \frontispiece