add LM 5 hw, caryatid
[light-and-matter.git] / me / me.tex
blobf7b3c5a7ca070512f43f0b4d58ee5cb6456a517d
1 % (c) 2001-2011 Ben Crowell, licensed under the Creative Commons
2 % Attribution-ShareAlike license,
3 % http://creativecommons.org/licenses/by-sa/1.0/
5 \documentclass{lmseries}
6 % \let\ifpdf\relax % http://tex.stackexchange.com/questions/11414/package-ifpdf-error
7 % --------> this fails with TeX Live 2013, conflicts with xparse
8 \selectlanguage{english}
9 \usepackage{lmlanguage}
10 %\includeonly{n1/ctemp}
11 \inputprotcode
12 \makeindex
13 \pdfmapfile{=fullembed.map} % created by the script create_fullembed_file
14 \begin{document}
15 \myeqnspacing % Do this early and often, since it gets reset by \normalsize
17 % The following is all related to margin kerning.
18 % This is activated in dp.cls using the boolean wantmarginkerning.
19 % The constant 1 is to allow margin kerning, but to keep it from affecting
20 % line breaks.
21 \ifthenelse{\boolean{wantmarginkerning}}{
22 \setprotcode\font
23 {\it \setprotcode \font}
24 {\bf \setprotcode \font}
25 {\bf \it \setprotcode \font}
26 \pdfprotrudechars=1
27 }{}
28 %========================= frontmatter =========================
29 \formatchtoc{\Large}{}{4mm}
30 \frontmatter
31 \yesiwantarabic
32 \renewcommand{\chapdir}{front}
33 \include{front/title}
34 \yesiwantarabic
35 \nomarginlayout
36 \vspace{10mm}\begin{center}\bfseries\sffamily{}\noindent{}{\huge Brief Contents}\end{center}\vspace{10mm}
38 \newcommand{\brieftocpartstyle}{\large\sffamily{}}
39 \newcommand{\brieftocchstyle}{\normalsize\sffamily{}}
40 \newcommand{\brieftocvert}{7mm}
41 \newcommand{\brieftochoriz}{\hspace{20mm}}
42 \newcommand{\brieftoctabularwidth}{90mm}
44 \noindent\brieftochoriz\brieftocchstyle\begin{tabular}{rp{\brieftoctabularwidth}}
45 \brieftocentry[\hfill]{ch:intro}{Introduction and review} \\
46 \brieftocentry[\hfill]{ch:scaling}{Scaling and estimation} \end{tabular}
48 \vspace{\brieftocvert}
50 \noindent\brieftochoriz\brieftocchstyle\begin{tabular}{rp{\brieftoctabularwidth}}
52 & \textit{\brieftocpartstyle Motion in one dimension}\\
53 \brieftocentry[\hfill]{ch:motion}{Velocity and relative motion} \\
54 \brieftocentry[\hfill]{ch:acceleration}{Acceleration and free fall} \\
55 \brieftocentry[\hfill]{ch:newton}{Force and motion} \\
56 \brieftocentry[\hfill]{ch:forces}{Analysis of forces} \end{tabular}
58 \vspace{\brieftocvert}
60 \noindent\brieftochoriz\brieftocchstyle\begin{tabular}{rp{\brieftoctabularwidth}}
62 & \textit{\brieftocpartstyle Motion in three dimensions}\\
63 \brieftocentry[\hfill]{ch:three-d}{Newton's laws in three dimensions} \\
64 \brieftocentry[\hfill]{ch:vectors}{Vectors} \\
65 \brieftocentry[\hfill]{ch:vectors-and-motion}{Vectors and motion} \\
66 \brieftocentry[\hfill]{ch:circular-motion}{Circular motion} \\
67 \brieftocentry[\hfill]{ch:gravity}{Gravity} \end{tabular}
69 \vspace{\brieftocvert}
71 \noindent\brieftochoriz\brieftocchstyle\begin{tabular}{rp{\brieftoctabularwidth}}
73 & \textit{\brieftocpartstyle Conservation laws}\\
74 \brieftocentry[\hfill]{ch:energy}{Conservation of energy} \\
75 \brieftocentry[\hfill]{ch:energy-zoo}{Simplifying the energy zoo} \\
76 \brieftocentry[\hfill]{ch:work}{Work: the transfer of mechanical energy} \\
77 \brieftocentry[\hfill]{ch:momentum}{Conservation of momentum} \\
78 \brieftocentry[\hfill]{ch:angular-momentum}{Conservation of angular momentum} \\
79 \end{tabular}
81 \vspace{\brieftocvert}
83 \noindent\brieftochoriz\brieftocchstyle\begin{tabular}{rp{\brieftoctabularwidth}}
85 & \textit{\brieftocpartstyle Vibrations}\\
86 \brieftocentry[\hfill]{ch:vibrations}{Vibrations} \\
87 \brieftocentry[\hfill]{ch:resonance}{Resonance}
88 \end{tabular}
92 \onecolumn\vfill
93 \mynormaltype
95 \pagebreak[4]
97 \vspace{0mm}
98 \begin{center}
99 \noindent\huge\bfseries\sffamily{}Contents\mynormaltype
100 \end{center}
101 \vspace{0mm}
102 \begin{multicols}{2}
103 \tableofcontents
104 \setcounter{unbalance}{0}
105 \end{multicols}
106 \normallayout\onecolumn
108 %========================= main matter =========================
109 \mainmatter
110 %-- I want the whole book numbered sequentially, arabic:
111 \pagenumbering{arabic}
112 \addtocounter{page}{10}
113 \parafmt
114 \myeqnspacing % Do this early and often, since it gets reset by \normalsize
115 %========================= chapters =========================
116 \setcounter{chapter}{-1}
117 \wugga%used to be needed after preface
118 \renewcommand{\chapdir}{pr}\include{pr/atemp}
119 \renewcommand{\chapdir}{pr}\include{pr/btemp}
120 \renewcommand{\chapdir}{n1}\include{n1/atemp}
121 \renewcommand{\chapdir}{n1}\include{n1/btemp}
122 \renewcommand{\chapdir}{n1}\include{n1/ctemp}
123 \renewcommand{\chapdir}{n1}\include{n1/dtemp}
124 \renewcommand{\chapdir}{n3}\include{n3/atemp}
125 \renewcommand{\chapdir}{n3}\include{n3/btemp}
126 \renewcommand{\chapdir}{n3}\include{n3/ctemp}
127 \renewcommand{\chapdir}{n3}\include{n3/dtemp}
128 \renewcommand{\chapdir}{n3}\include{n3/etemp}
129 \renewcommand{\chapdir}{cl}\include{cl/atemp}
130 \renewcommand{\chapdir}{cl}\include{cl/btemp}
131 \renewcommand{\chapdir}{cl}\include{cl/ctemp}
132 \renewcommand{\chapdir}{cl}\include{cl/dtemp}
133 \renewcommand{\chapdir}{cl}\include{cl/etemp}
134 \renewcommand{\chapdir}{vw}\include{vw/atemp}
135 \formatchtoc{\large}{\quad\contentspage}{4mm} % This has to go before the last chapter.
136 \addtocontents{toc}{\vspace{5mm}}% For reasons I don't understand, this actually comes *after* the final chapter.
137 \renewcommand{\chapdir}{vw}\include{vw/btemp}
139 \widelayout
140 \renewcommand{\chapdir}{end}
141 \include{end/skillstemp}
142 \twocolumn\include{end/pythontemp}
143 \onecolumn\include{end/hwanstemp}
144 \onecolumn\include{end/photocreditstemp}
145 %========================= index =========================
146 \label{splits:index}\printindex
147 %========================= data tables, etc. =========================
148 \blankchaptermarks\label{splits:data}
149 \input{end/trig}\pagebreak[4]
150 \input{end/math}\pagebreak[4]
151 \input{end/data}
152 \end{document}