[texhax] Dedication page

Brandon Kuczenski brandon at 301south.net
Fri Jun 18 00:43:36 CEST 2010


Steven Chapin wrote:
> Hi,
> 
> I've written a book using LaTeX and I am interested in including a dedication page.  My hope was that there would exist a command or environment that would accomplish this, but I've been unable to find such in books or online.  Is there a simple and standard way to include a dedication page?  I'm using the documentclass book.
> 

For my PhD thesis, I used the following (dedication is made-up):

\documentclass{book}

% .. other preamble stuff ..

\newenvironment{dedication}
{
   \cleardoublepage
   \thispagestyle{empty}
   \vspace*{\stretch{1}}
   \hfill\begin{minipage}[t]{0.66\textwidth}
   \raggedright
}%
{
   \end{minipage}
   \vspace*{\stretch{3}}
   \clearpage
}

%%%%%%%%%%%%%

\begin{document}
\frontmatter

% ... other frontmatter

\begin{dedication}
To my cats, the mightiest of all cats.
\end{dedication}

% ... other frontmatter

%%%%%%%%%%%%%

\mainmatter

% ... mainmatter

\end{document}

Hope this helps,
Brandon


More information about the texhax mailing list