Skip to content

Commit cf7e20a

Browse files
committed
Tweaking final page count and margins
1 parent 9f1e4df commit cf7e20a

File tree

6 files changed

+13
-22
lines changed

6 files changed

+13
-22
lines changed

src/cover/blurb.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
% !TEX root = cover2.tex
1+
% !TEX root = cover-blurb.tex
22
% Blurb on back cover
33

44
{
5-
\fontsize{16}{18.5}\selectfont
5+
\fontsize{16}{18}\selectfont
66
\lettrine[lhang=0.17]{C}{ategory Theory}
77
is one of the most abstract branches of mathematics. It is usually taught to
88
graduate students after they have mastered several other branches of mathematics,

src/cover/cover-blurb.tex

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
\documentclass[
22
coverheight=9.249in,
3-
coverwidth=6.334in,
4-
spinewidth=1.194in,
3+
coverwidth=6.319in, % (pagesize - spinewidth) / 2
4+
spinewidth=1.8in,
55
bleedwidth=0.306in,
66
11pt,
7-
flapwidth=0pt,
8-
markthick=0pt,
97
marklength=0pt,
108
]{bookcover}
119

@@ -69,22 +67,22 @@
6967
\bookcovercomponent{normal}{back}{%
7068
\begin{minipage}[b][\coverheight][t]{\coverwidth}
7169
\begin{center}
72-
\includegraphics[width=.9\coverwidth]{bunnies}
73-
\begin{minipage}[t]{.9\coverwidth}
70+
\includegraphics[width=.8\coverwidth]{bunnies}
71+
\begin{minipage}[t]{.8\coverwidth}
7472
\input{blurb}
7573
\vspace{.5cm}
7674
\end{minipage}
7775

78-
\begin{minipage}{.9\textwidth}
76+
\begin{minipage}{.85\textwidth}
7977
\rule{\textwidth}{0.4pt}
8078

81-
\begin{tabular}[h]{p{4cm} p{12cm}}
79+
\begin{tabular}[h]{p{4cm} p{\textwidth}}
8280
\bartosz
8381
&
8482
\vspace{5pt}
85-
\begin{minipage}[b]{.6\coverwidth}
83+
\begin{minipage}[b]{.55\coverwidth}
8684
\fontsize{11pt}{1.4em}\selectfont\textit{Category Theory for Programmers}
87-
is a compilation of blog posts by Bartosz Milewski, originally at bartoszmilewski.com.\\
85+
is a compilation of blog posts by Bartosz Milewski, at bartoszmilewski.com.\\
8886
Edited by Igal Tabachnik. Licenced under CC BY-SA 4.0.
8987
\end{minipage}
9088
\end{tabular}

src/ctfp-print.tex

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
% !TEX root = ctfp-print.tex
2-
% !TEX TS-program = xelatex
3-
% !TEX encoding = UTF-8 Unicode
4-
52
% This is a main LaTeX file for generating the CTFP book
63
% for printing in US-trade format, suitable for binding.
74
% The links are black in this version.

src/ctfp.tex

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
\includepdf[scale=0.92]{coverpage.pdf}
22
\input{copyright}
3-
\afterpage{\blankpage}
43

54
\frontmatter
65
\tableofcontents
7-
\afterpage{\blankpage}
86

97
\chapter*{Preface}
108
\addcontentsline{toc}{chapter}{Preface}
@@ -116,12 +114,10 @@ \chapter{Monads, Monoids, and Categories}\label{monads-monoids-categories}
116114
\subfile{content/3.15/Monads, Monoids, and Categories}
117115

118116
\backmatter
119-
\afterpage{\blankpage}
120117

121118
\appendix
122119
\addcontentsline{toc}{part}{Appendices}
123120
\input{index}
124-
\afterpage{\blankpage}
125121

126122
\makeatletter\@openrightfalse
127123
\chapter*{Acknowledgments}\label{acknowledgments}
@@ -132,7 +128,7 @@ \chapter*{Colophon}\label{colophon}
132128
\addcontentsline{toc}{chapter}{Colophon}
133129
\input{colophon}
134130

135-
\chapter*{Copyleft notice} % Missing Label -Jared
131+
\chapter*{Copyleft notice}\label{copyleft}
136132
\addcontentsline{toc}{chapter}{Copyleft notice}
137133
\input{free-software}
138134
\@openrighttrue\makeatother

src/opt-print-ustrade.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% !TEX root = ctfp-print.tex
22

3-
\def\OPTmodes{twoside,openright}
3+
\def\OPTmodes{twoside,final,openright}
44

55
% PAGE FORMAT
66
%

src/preamble.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
inner=\OPTinnermargin,
1010
outer=\OPToutermargin,
1111
bindingoffset=\OPTbindingoffset,
12-
vcentering, hcentering
12+
centering
1313
]{geometry}
1414

1515
% New line height: 1.05 * 1.2 = 1.26

0 commit comments

Comments
 (0)