% Opus Orchestrator - KDP Square 8x8
% Art books, photography, cookbooks

\documentclass[12pt]{memoir}

% Packages
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{geometry}
\usepackage{microtype}
\usepackage{color}
\usepackage{wrapfig}

% KDP Square: 8 x 8 inches
\geometry{
  papersize={8in,8in},
  textwidth=6.5in,
  textheight=6.5in,
  inner=0.75in,
  outer=0.75in,
  top=0.75in,
  bottom=0.75in,
}

% Bleed
\usepackage[cam,center]{crop}

% Microtype
\microtypesetup{protrusion=true}

% Hyperref
\hypersetup{colorlinks=false}

% Fonts
\usepackage{mathptmx}
\usepackage{Georgia}

% Chapter style
\chapterstyle{plain}

% Headers
\pagestyle{simple}

% Metadata
\def\booktitle{$book_title$}
\def\bookauthor{$author$}
\def\bookdate{$date$}
\def\bookpublisher{$publisher$}

\begin{document}

% Title page
\thispagestyle{empty}
\begin{center}
\vspace*{1.5in}
{\Huge\bfseries\booktitle\par}
\vspace{1in}
{\Large by \bookauthor\par}
\vfill
{\large\bookpublisher}\\
{\bookdate}
\end{center}

% Copyright
\clearpage
\thispagestyle{empty}
\vspace*{\fill}
\begin{center}
Copyright \textcopyright\ \bookdate\ \bookauthor\\
All rights reserved.
\end{center}
\vspace*{\fill}

% Contents
\clearpage
\tableofcontents

$body$

\end{document}
