This commit is contained in:
Madison Scott-Clary
2020-01-11 13:42:27 -08:00
parent 375736311e
commit e23b1708ec
48 changed files with 1098 additions and 0 deletions

3
book/includes/_draft.tex Normal file
View File

@ -0,0 +1,3 @@
%%% Watermark for draft
\usepackage{draftwatermark}
\def\watermarkloaded{1}

2
book/includes/_frame.tex Normal file
View File

@ -0,0 +1,2 @@
%%% Show frame around layouts
\PassOptionsToPackage{showframe}{geometry}

View File

@ -0,0 +1,14 @@
% page sizes for letter with crop marks
\usepackage[
letterpaper,
layoutvoffset=1.25in,
layouthoffset=1.5in,
layoutwidth=5.5in,
layoutheight=8.5in,
vmargin=0.5in,
outer=0.5in,
inner=0.75in,
includeheadfoot,
twoside,
showcrop
]{geometry}

View File

@ -0,0 +1,17 @@
% page sizes for trade paperback
\usepackage[
paperwidth=8.5in,
paperheight=8.5in,
layoutwidth=8.5in,
layoutheight=8.5in,
vmargin=0.5in,
outer=0.5in,
inner=0.75in,
includeheadfoot,
twoside,
showcrop
]{geometry}
\ifdefined\SetWatermarkHorCenter
\SetWatermarkHorCenter{3in}
\SetWatermarkVerCenter{4.5in}
\fi

View File

@ -0,0 +1,48 @@
\singlespacing
\thispagestyle{empty}
\null
\vfill
{\parindent0pt
No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including by photocopying or recording, or by any information storage or retrieval system without the proper written permission of the copyright owner unless such copying is expressly permitted by federal copyright law. \Publisher\ is authorized to grant permission for further uses of the work in this book. Permission must be obtained by the author or the publication house. Address requests for permission to make copies of material here to the email address \PublisherEmail
\vspace{1ex}
ISBN: \ISBN
\vspace{1ex}
\textsc{\FullTitle}
\vspace{1ex}
Copyright \copyright\ \Year\ \Publisher
\vspace{1ex}
\Edition\ Edition, \Year. All rights reserved.
\vspace{1ex}
A \Publisher\ Book
\vspace{1ex}
Published by \Publisher\\
\PublisherURL\\
\PublisherLocation
\vspace{1ex}
\PublisherEmail
\vspace{1ex}
Cover and illustrations by \Illustrator. \copyright\ \Year
\vspace{1ex}
Printed in the United States of America\\
\EditionsList
}%\parindent0pt
\clearpage

1
book/includes/draft.tex Normal file
View File

@ -0,0 +1 @@
%

10
book/includes/font.tex Normal file
View File

@ -0,0 +1,10 @@
%%% Font
% Uncomment and modify to your font specs
\usepackage{fontspec}
\setmainfont{Gentium Book Basic}
\newfontface\allyFont{Merriweather Sans Italic}
% \newfontfamily\TitleFamily{Inknut Antiqua}
% \newfontface\TitleFont{Inknut Antiqua}
% \newfontfamily\DisplayFamily{Playfair Display}
% \newfontface\DisplayFont{Playfair Display}

1
book/includes/frame.tex Normal file
View File

@ -0,0 +1 @@
%

View File

@ -0,0 +1 @@
\input{includes/_geometry-trade.tex}

View File

@ -0,0 +1,6 @@
\hyphenation{
\AuthorFirst
\AuthorLast
\Title
\Subtitle
}

View File

@ -0,0 +1,19 @@
%%% Resets
% memoir defines footruleskip, we want fancyhdr's
\let\footruleskip\undefined
\DisemulatePackage{setspace}
%%% Hyperref warning suppression
% I want math symbols, hyperref complains
% must be before hyperref included
\usepackage{silence}
\WarningFilter[pdftoc]{hyperref}{Token not allowed in a PDF string}
\ActivateWarningFilters[pdftoc]
%%% Package imports not needing expansion
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{setspace}
\usepackage{xifthen}
\usepackage{verse}
\usepackage{paracol}

View File

@ -0,0 +1,35 @@
%%% Headers and page styles
\usepackage[pagestyles]{titlesec}
\usepackage{fancyhdr}
\setlength{\headheight}{15.2pt}
% ourbook style with fancy headers and chapter headings
\fancypagestyle{ourbook}{
% headers
\fancyhf{}
\fancyhf[FRO,FLE]{\thepage}
% \fancyhf[HLE]{\chaptertitle}
% \fancyhf[HRO]{\AuthorFull}
% \renewcommand{\headrulewidth}{0.5pt}
\setlength{\parskip}{0pt}
% \parindent0pt
\setlength{\headheight}{0pt}
}
% plain style with only page num
\fancypagestyle{plain}{
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\fancyhf[FRO,FLE]{\thepage}
}
% single space after periods
\frenchspacing
% Attempt justification at all costs
\sloppy
% Widows and orphans
\widowpenalty=10000
\clubpenalty=10000

View File

@ -0,0 +1,8 @@
\thispagestyle{empty}
\null
\vfill
\begin{center}
\FullTitle
\end{center}
\vfill
\cleardoublepage

8
book/includes/secdiv.tex Normal file
View File

@ -0,0 +1,8 @@
%%% Section divider
% don't forget to \noindent the line after!
\renewcommand\rule[2]{$\star$}
\newcommand\secdiv{
\begin{center}
\rule{}{}
\end{center}
}

4
book/includes/title.tex Normal file
View File

@ -0,0 +1,4 @@
%%% Title page
\title{\FullTitle}
\author{\AuthorFull}
\date{}

8
book/includes/toc.tex Normal file
View File

@ -0,0 +1,8 @@
%%% ToC munging
% Remove ToC header
\renewcommand{\contentsname}{}
\renewcommand{\cftdot}{\small{$\cdot$}}
\renewcommand{\cftchapterdotsep}{3}
\renewcommand{\cftsectiondotsep}{10000}
% start toc at top of page
\renewcommand*\tocheadstart{}{}

View File

@ -0,0 +1,25 @@
\def\Title{BOOK TITLE}
\def\Subtitle{IN FULL}
\def\FullTitle{\Title: \Subtitle}
\def\AuthorFirst{AUTHOR}
\def\AuthorLast{NAME}
\def\AuthorFull{\AuthorFirst\ \AuthorLast}
\def\Illustrator{ILLUSTRATOR NAME}
\def\Edition{First}
\def\EditionsList{10 9 8 7 6 5 4 3 2 1}
\def\Year{2017}
\def\ISBN{XXX-X-XXXXXX-XX-X}
\def\Publisher{PUBLISHER}
\def\PublisherEmail{publisher@example.com}
\def\PublisherURL{example.com}
\def\PublisherLocation{City, STATE}
\newcommand\ally[1]{
\begin{quotation}
\fontspec[Scale=0.9,Color=444444FF]{Merriweather Sans}
\noindent \emph{#1}
\end{quotation}
}