forked from OpenLogicProject/forallx-cam
-
Notifications
You must be signed in to change notification settings - Fork 30
/
forallxyyc-print.tex
61 lines (41 loc) · 1.36 KB
/
forallxyyc-print.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
% forallxyyc-print
% Driver file to produce version of forall x:YYC on quarto stock
% for printing in black and white via Amazon KDP or similar print-on-demand service.
%\pdfminorversion=3
\documentclass[openany,twoside,11pt]{memoir}
% set stock & paper size to Quarto
\setstocksize{24.589cm}{18.91cm}
\settrimmedsize{\stockheight}{\stockwidth}{*}
\settrims{0pt}{0pt}
% set the size of the type block to golden ratio calculated width
\settypeblocksize{*}{300pt}{1.62}
% set spine and and edge margin
\setlrmargins{*}{*}{1.3}
\setulmargins{90pt}{*}{*}
\setheaderspaces{*}{*}{1}
\checkandfixthelayout
% make output PDF/X compliant
\RequirePackage[x-1a]{pdfx}
% load forall x style and macro definitions
\usepackage{forallxyyc-style}
\usepackage{forallxyyc}
\colorlet{leadbeater}{black}
\colorlet{dkleadbeater}{black}
\colorlet{ltleadbeater}{black!50}
\colorlet{vltleadbeater}{black!3}
\makeatletter
\makepsmarks{leadbeater}{%
\createmark{chapter}{both}{shownumber}{\@chapapp\ }{. \ }
\createmark{section}{right}{shownumber}{}{. \ }
\createplainmark{toc}{both}{\contentsname}
\createplainmark{lof}{both}{\listfigurename}
\createplainmark{lot}{both}{\listtablename}
\createplainmark{bib}{both}{\bibname}
\createplainmark{index}{both}{\indexname}
\createplainmark{glossary}{both}{\glossaryname}
}
\makeatother
\begin{document}
\midsloppy
\input{forallx-yyc-content}
\end{document}