I have used the book
class but it should work for your class too.
\documentclass{book}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{afterpage}
\usepackage[a4paper,margin=1in]{geometry}
\begin{document}
\newgeometry{centering,top=0in}
\begin{titlepage}
\pagecolor{gray}
\afterpage{\pagecolor{white}}
%Cover image
\centering
\noindent
\makebox[0pt]{%
\includegraphics[width=\paperwidth,height=0.4\textheight]{example-image-a}%
}
%Author name
\vspace*{2cm}
{\LARGE\bf Gilson Manuel Gomes Pina\par}
%Thesis title
\vspace*{1.2cm}
{\Huge \bf Monetary and Fiscal Policy and Business Cycles in Emerging Markets \par}
\vspace*{1.2cm}
{\small PhD thesis in economics, specializing in Monetary Economics, supervised by Professor
Pedro Bação and Professor Ricardo Sousa and presented to the Faculty of Economics, University
of Coimbra. \par}
\vspace*{1.0cm}
{\small September 2014 \par}
\vspace*{1.6cm}
\includegraphics[width=0.3\textwidth]{example-image-b}
\textsc{\small Faculty of Economics, University of Coimbra}
\par
\end{titlepage}
\cleardoublepage
Some text
\end{document}
With dmathesis
class:
\documentclass{dmathesis}
\usepackage{xcolor}
\usepackage[math]{blindtext} %% for demo
\usepackage{graphicx}
\usepackage{afterpage}
\usepackage[pass]{geometry} %% pass in important
\begin{document}
%% cover.tex starts--------------------------
\newgeometry{centering,top=0in}
\begin{titlepage}
\pagecolor{gray}
\afterpage{\pagecolor{white}}
%Cover image
\centering
\setlength{\hoffset}{0in}
\noindent
\makebox[0pt]{%
\includegraphics[width=\paperwidth,height=0.5\textheight]{example-image-a}%
}
%Author name
\vspace*{1cm}
{\LARGE\bf Gilson Manuel Gomes Pina\par}
%Thesis title
\vspace*{0.75cm}
{\Huge \bf Monetary and Fiscal Policy and Business Cycles in Emerging Markets \par}
\vspace*{0.75cm}
{\small PhD thesis in economics, specializing in Monetary Economics, supervised by Professor
Pedro Bação and Professor Ricardo Sousa and presented to the Faculty of Economics, University
of Coimbra. \par}
\vspace*{0.5cm}
{\small September 2014 \par}
\vspace*{1.1cm}
\includegraphics[width=0.3\textwidth]{example-image-b}
\textsc{\small Faculty of Economics, University of Coimbra}
\par
\end{titlepage}
\cleardoublepage %% imp
\restoregeometry %% imp
%% cover.tex ends--------------------------
\Blinddocument %% for demo
\end{document}
First you have to decide on a page size for your book. Then you need to know the book's page count. Armed with this information, you can obtain a free template through Ingram: https://www1.ingramspark.com/Tools/CoverTemplateGenerator.
The template will show you the bleeds and the width of the spine.
Here is one question which addresses how to create a book cover solely using LaTex: Create a book cover with spine, rear page and flaps
Your cover will be a different size than your text block, because the cover wraps around and encloses the text block. You might consider a graphics program (free: Gimp or Scribus, proprietary: Photoshop or InDesign) to create the cover once you know the dimensions. There are specialized programs for book cover creation as well, like Book Cover Pro.
If you are using POD printers such as Lulu or Createspace, these companies have free cover generator programs which can be used when you avail yourself of their printing services.
Since you already have the cover in Photoshop, use LaTex to typeset the text block of your book. Memoir is perfect for this, yet it is not your only choice. There are other book options (e.g., book, Komascript, tufte-book, book-est, etc.). Create a pdf file with LaTex and then send this file with your Photoshop cover to the printer of your choice.
January, 2018 edit: I wrote this answer four years ago. There is now a wonderful LaTeX package for book covers, called, unsurprisingly, bookcover. It is easy to use, lets you specify dimensions, drop in your front cover and back cover art, generate CMYK output for printers, rotate text for the spine, etc. Before this package, putting together a book cover required an external program like the Gimp, Krita, InDesign, Quark or any of their competitors. Now putting together a book cover is trivial. Outputting book covers and fighting with printing templates used to be one of the worst parts of indie publishing. With this package, it's no longer an issue.
Best Answer
Without knowing the class you're using, here's an attempt.
The important option for
geometry
ispass
, whereasshowframe
is just for showing that the cover page is centered on the page. If you already usegeometry
, just set its options and removepass
.A bird's eye view
The title page