forked from HoTT/book
-
Notifications
You must be signed in to change notification settings - Fork 0
/
opt-a4.tex
99 lines (81 loc) · 3.93 KB
/
opt-a4.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
%%% FORMATTING OPTIONS FOR A4 SIZE
%%% This file gets included by the hott-xxx.tex files.
% MACROS FOR FINE TUNING
\newcommand{\narrowbreak}{}
\newcommand{\narrowamp}{}
\newcommand{\narrowequation}[1]{$#1$}
\newenvironment{narrowmultline}{\csname equation\endcsname}{\csname endequation\endcsname}
\newenvironment{narrowmultline*}{\csname equation*\endcsname}{\csname endequation*\endcsname}
% FONTS
\def\OPTfontsize{11pt} % Font size
% PAGE FORMAT
%
% These settings are for A4 format
\def\OPTpagesize{210mm,297mm} % Page size
\def\OPTtopmargin{1in} % Margin at the top of the page
\def\OPTbottommargin{1in} % Margin at the bottom of the page
\def\OPTbindingoffset{0.35in} % Extra offset on the inner side
% Tweak the margins so the textwidth is the same as in the letter version
%
% The letter margins are:
%
% \def\OPTinnermargin{0.75in} % Margin on the inner side of the page
% \def\OPToutermargin{1.0in} % Margin on the outer side of the page
%
% and half the difference between 8.5in and 210mm is 2.95mm
\newskip\innermarginskip
\innermarginskip=0.75in
\advance\innermarginskip by -2.95mm
\edef\OPTinnermargin{\the\innermarginskip}
\newskip\outermarginskip
\outermarginskip=1.0in
\advance\outermarginskip by -2.95mm
\edef\OPToutermargin{\the\outermarginskip}
% FORMATTING OF COVER PAGE
\def\OPTcoverwidth{8.45in} % width of text on cover page
\def\OPTcoverheight{10.95in} % height of text on cover page
\def\OPTtopskip{43pt} % Skip at top of cover and back page (with units)
\def\OPTbotskip{43pt} % Skip at bottom of cover and back page (with units)
\def\OPTcovertitlefont{74.5} % Size of title font (no unit, pt assumed)
\def\OPTcovertitleskip{24pt} % Skip between title and subtitle (with units)
\def\OPTcoversubtitlefont{27} % Size of subtitle font (no unit, pt assumed)
\def\OPTcoverauthorfont{22} % Size of author font (no unit, pt assumed)
\def\OPTcoverauthorskip{8pt} % Skip betewen first and second line of author (with units)
% FORMATTING OF BACK COVER PAGE
\def\OPTbacktitlefont{\LARGE} % Size of "From the introduction" and "Get this book ..."
\def\OPTbackfont{\large} % Size of text font
% FORMATTING OF BASTARD TITLE, IF PRESENT
% (see opt-no-bastard.tex and opt-bastard.tex)
\def\OPTbastardtitlefont{22}
\def\OPTbastardsubtitlefont{15}
\def\OPTbastardwidth{0.40\textwidth} % Width of bastard title
\def\OPTbastardtitleskip{8pt}
% FORMATTING OF TITLE PAGE
\def\OPTtitletitlefont{37} % Size of title font (no unit, pt assumed)
\def\OPTtitletitleskip{10pt} % Skip between title and subtitle (with units)
\def\OPTtitlesubtitlefont{25} % Size of subtitle font (no unit, pt assumed)
\def\OPTtitlewidth{0.65\textwidth} % Width of title
\def\OPTtitleskip{30pt} % Skip between title and author (with units)
\def\OPTtitleauthorfont{18} % Size of author font (no unit, pt assumed)
\def\OPTtitleauthorskip{6pt} % Skip betewen first and second line of author (with units)
% FORMATTING OF PART PAGE
\def\OPTpartfont{40} % Size of "Part X" (without unit, pt assumed)
\def\OPTpartskip{20pt} % Skip between Part and title (with unit)
\def\OPTparttitlefont{60} % Size of part title (without unit, pt assumed)
% FORMATTING OF CHAPTER TITLE
\def\OPTchapterfont{23} % Size of "Chapter X"
\def\OPTchapterskip{20pt} % Skip between Chapter and title
\def\OPTchaptertitlefont{35} % Size of chapter title
% FORMATTING OF PREFACE
\def\OPTprefacecols{3} % Number of columns when listing people in Preface
% GETTING RID OF THE WIDOW ON PAGE 2 IN LETTER FORMAT
\def\OPTwidow{\enlargethispage{\baselineskip}}
% FORMATTING OF TABLE 1 IN INTRODUCTION
\def\OPTsmalltable{}
% FORMATTING OF TABLE 8.1 OF HOMOTOPY GROUPS OF SPHERES
\newcommand{\OPTspherescolwidth}{30pt}
% FORMATTING THE BIBLIOGRAPHY
\newcommand{\OPTbibliographyfont}{\small}
% FORMATTING OF INDEX
\newcommand{\OPTindexfont}{\small} % size of font in the index
\newcommand{\OPTindexcolumnsep}{20.0pt} % column separation in index (default is 10.0pt)