forked from OpenLogicProject/forallx-cam
-
Notifications
You must be signed in to change notification settings - Fork 31
/
forallxyyc.tex
105 lines (77 loc) · 2.32 KB
/
forallxyyc.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
% forallxyyc
% Driver file to produce version of forall x:YYC for screen reading
\documentclass[openany,oneside,11pt]{memoir}
% set stock & paper size with narrow margins
\setstocksize{8in}{5in}
\settrimmedsize{\stockheight}{\stockwidth}{*}
\settrims{0pt}{0pt}
% Text width hard coded to 300pt
% set the size of the type block to golden ratio calculated width
\settypeblocksize{*}{300pt}{1.62}
% set spine and and edge margin
\setlrmargins{*}{*}{1}
\setulmargins{.6in}{*}{*}
\setheaderspaces{*}{*}{1}
\checkandfixthelayout
% make output PDF/A compliant
\RequirePackage[a-1b]{pdfx}
% load forall x style and macro definitions
\usepackage{forallxyyc-style}
\usepackage{forallxyyc}
\usepackage[absolute,overlay]{textpos}
\definecolor{lyallpink}{RGB}{222,31,149}
\colorlet{leadbeater}{lyallpink}
\colorlet{dkleadbeater}{lyallpink!80!black}
\colorlet{ltleadbeater}{lyallpink!50}
\colorlet{vltleadbeater}{lyallpink!3}
\begin{document}
\midsloppy
% Cover Page
\thispagestyle{empty}
\setcounter{page}{0}
\begin{textblock*}{\stockwidth}(0in,3.5in)
\noindent\includegraphics{assets/forallx-coverart-screen.pdf}
\end{textblock*}
% make front cover
\begin{textblock*}{0in}(0in,0in)
\noindent\hfill
\begin{minipage}[b][\stockheight][s]{.9\stockwidth}
\begin{raggedleft}
\vspace*{1.7cm}
\hfill
\sffamily\fontsize{66pt}{0pt}\selectfont
\color{lyallpink}
\textbf{forall}%
\fontsize{80pt}{0pt}\selectfont\rmfamily\textit{\textbf{x}\/}
\vskip.5cm
\sffamily\fontsize{24pt}{0pt}\selectfont
\color{black}
\textbf{\uppercase{Calgary}}
\vspace*{1cm}
\color{black}
\sffamily
\fontsize{20pt}{22pt}\selectfont
\textbf{An Introduction to\\ Formal Logic}
\vfill
\fontsize{11pt}{14pt}\selectfont
\color{white}
\textbf{P.~D. Magnus}\\
\textbf{Tim Button}\\
\textbf{Robert Trueman}\\
\textbf{Richard Zach}\\
\textit{with contributions by}\\
\textbf{J.~Robert Loftis}\\
\textbf{Aaron Thomas-Bolduc}\par
\vspace{1cm}
\textbf{\forallxversion}\par
\vspace{1cm}
\end{raggedleft}
\end{minipage}
\hspace*{1cm}
\end{textblock*}
\
\newpage
\color{black}
\setlength{\barlength}{0pt} % no bar next to chapter headings in ebook
\input{forallx-yyc-content}
\end{document}