97 lines
4.0 KiB
TeX
97 lines
4.0 KiB
TeX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
% eBook
|
|
% LaTeX Template
|
|
% Version 1.0 (29/12/14)
|
|
%
|
|
% This template has been downloaded from:
|
|
% http://www.LaTeXTemplates.com
|
|
%
|
|
% Original author:
|
|
% Luis Cobo (luiscobogutierrez@gmail.com) with extensive modifications by:
|
|
% Vel (vel@latextemplates.com)
|
|
%
|
|
% License:
|
|
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
|
|
%
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
%----------------------------------------------------------------------------------------
|
|
% DOCUMENT CONFIGURATIONS AND INFORMATION
|
|
%----------------------------------------------------------------------------------------
|
|
|
|
\documentclass[oneside, 9pt]{memoir} % Font size
|
|
|
|
\input{book-1/structure.tex} % Include the file that specifies the document structure and layout
|
|
|
|
\makeatletter
|
|
\@addtoreset{chapter}{part}
|
|
\makeatother
|
|
|
|
\title{Anders 1} % Book title
|
|
\newcommand{\subtitle}{The Dead City} % Book Subtitle
|
|
\author{Wolfgang \& Heike Hohlbein, translated by David Daily} % Author
|
|
\newcommand{\edition}{Edition 0} % Book edition
|
|
|
|
%----------------------------------------------------------------------------------------
|
|
\begin{document}
|
|
\frontmatter
|
|
%----------------------------------------------------------------------------------------
|
|
% TITLE PAGE
|
|
%----------------------------------------------------------------------------------------
|
|
|
|
\thispagestyle{empty} % Suppress page numbering
|
|
\ThisCenterWallPaper{2.4}{book-1/background.jpg} % Add the background image, the first argument is the scaling - adjust this as necessary so the image fits the entire page
|
|
|
|
\begin{tikzpicture}[remember picture,overlay]
|
|
\node [rectangle, rounded corners, fill=white, opacity=0.75, anchor=south west, minimum width=3cm, minimum height=6cm] (box) at (-0.5,-10) (box){};
|
|
% White rectangle - "minimum width/height" adjust the width and height of the box; "(-0.5,-10)" adjusts the position on the page
|
|
\node[anchor=west, color01, xshift=-1.5cm, yshift=-0.4cm, text width=2.9cm, font=\sffamily] at (box.north){\edition};
|
|
%"Text width" adjusts the wrapping width, "xshift/yshift" adjust the position relative to the white rectangle
|
|
\node[anchor=west, color01, xshift=-1.5cm, yshift=-2cm, text width=2.9cm, font=\sffamily\bfseries\scshape\huge] at (box.north){\thetitle};
|
|
\node[anchor=west, color01, xshift=-1.5cm, yshift=-3cm, text width=2.9cm, font=\sffamily\bfseries\large] at (box.north){\subtitle};
|
|
% "Text width" adjusts the wrapping width, "xshift/yshift" adjust the position relative to the white rectangle
|
|
\node[anchor=west, color01, xshift=-1.5cm, yshift=-5cm, text width=2.9cm, font=\sffamily\bfseries\small] at (box.north){\theauthor};
|
|
% "Text width" adjusts the wrapping width, "xshift/yshift" adjust the position relative to the white rectangle
|
|
\end{tikzpicture}
|
|
|
|
\newpage % Make sure the following content is on a new page
|
|
|
|
|
|
%----------------------------------------------------------------------------------------
|
|
% INTRODUCTION SECTION
|
|
%----------------------------------------------------------------------------------------
|
|
\chapter*{Hey, Listen!} % Introduction chapter suppressed from the table of contents
|
|
{\Huge This is a work in progress.
|
|
|
|
\large Current stage: First draft.
|
|
|
|
\normalsize I'm just going through and translating it as best I can without reading over it too much.
|
|
I'll make sure the sentence makes some sense, but it isn't gonna be perfect.
|
|
I'll need to go over it multiple times later anyway.}
|
|
|
|
|
|
\newpage % Make sure the following content is on a new page
|
|
|
|
%----------------------------------------------------------------------------------------
|
|
% TABLE OF CONTENTS
|
|
%----------------------------------------------------------------------------------------
|
|
\begin{KeepFromToc}
|
|
\tableofcontents
|
|
\end{KeepFromToc}
|
|
|
|
\mainmatter
|
|
|
|
\input{book-1/1}
|
|
\input{book-1/2}
|
|
\input{book-1/3}
|
|
\input{book-1/4}
|
|
\input{book-1/5}
|
|
\input{book-1/6}
|
|
\input{book-1/7}
|
|
\input{book-1/8}
|
|
\input{book-1/9}
|
|
\input{book-1/10}
|
|
|
|
%===========================================================================================================================================
|
|
\end{document}
|