-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotebook.tex
executable file
·94 lines (70 loc) · 2 KB
/
notebook.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
\documentclass[11pt,twoside,a4paper]{book}
\usepackage{color}
\usepackage{fontspec}
\usepackage{xltxtra}
\usepackage{wasysym}
\usepackage{gensymb}
\usepackage{adjustbox}
\usepackage{titlesec}
\newfontfamily\headingfont[]{Michroma}
\setmainfont{Bitstream Vera Sans}
\setmonofont{Bitstream Vera Sans Mono}
\titlespacing{\chapter}{0pt}{0pt}{0pt}[0pt]
\titleformat
{\chapter} % command
[block] %shape
{\huge\headingfont} %format
{\thechapter:} %label
{1em} %seperator
{} % before code
\titleformat
{\section} %command
[block] %shape
{\LARGE\headingfont} %format
{\thesection} %lablel
{1em} %seperator
{} % before code
\titleformat*{\subsection}{\Large\headingfont}
\usepackage{wrapfig}
\usepackage{graphicx}
\usepackage{graphics}
\usepackage[colorlinks=true, linktocpage=true]{hyperref}
\usepackage{hyperxmp}
\usepackage{longtable}
\usepackage[clockwise, figuresleft]{rotating}
\usepackage{makecell}
\renewcommand\cellalign{lt} % Was {cc}
% Configure for A4 paper.
% Margins for ISO 838 (or "888") ring binder, comb binding, or similar.
\usepackage[a4paper, portrait, inner=3cm, outer=1cm, top=2cm,bottom=2cm]{geometry}
\usepackage{afterpage}
\afterpage{\clearpage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{The Bear's Engineering Notes}
\author{Derry Hamilton}
\newcommand{\specialcell}[2][c]{%
\begin{tabular}[#1]{@{}c@{}}#2\end{tabular}}
\newcommand{\customfig}[3]{%
\begin{wrapfigure}{r}{0.5\linewidth}
\centering
\includegraphics[width=20em]{#1}
\caption{#2}
\label{#3}
\end{wrapfigure}%
}
\begin{document}
\frontmatter
\maketitle
\tableofcontents
\input{chapters/intro}
\mainmatter
\include{chapters/iso_limits_and_fits}
\include{chapters/threads/threads}
\include{chapters/collets}
\include{chapters/chucks}
\include{chapters/hydraulics}
\include{chapters/cutters}
\include{chapters/cables}
\include{chapters/misc}
\include{chapters/materials}
\end{document}