-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstructure.tex
More file actions
327 lines (278 loc) · 10.4 KB
/
Copy pathstructure.tex
File metadata and controls
327 lines (278 loc) · 10.4 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
%%% PACKAGES
%%%----------------------------------------------------
\usepackage[utf8]{inputenc} % If utf8 encoding
\usepackage[T1]{fontenc} %
\usepackage[english]{babel} % English please
\usepackage{lipsum} % generates fake test (testing)
%\usepackage[final]{microtype} % Less badboxes
\usepackage{blindtext}
%\usepackage{showframe}
%\usepackage{kpfonts} %Font
\usepackage{amsmath,amssymb,mathtools} % Math
\usepackage[table,xcdraw]{xcolor} %for chart
\usepackage{tikz} % Figures
\usepackage{multicol}
%\usetikzlibrary{trees}
\usepackage{graphicx} % Include figures NOTE: include [demo] to see black boxes
%\setkeys{Gin}{quiet}
%\setkeys{Gin}{keepaspectratio,width=2in,height=2in}
%\usepackage[margin=10pt,font=small,labelfont=bf,justification=raggedright]{caption}
%\usepackage{subcaption} // memior already has it
%\usepackage{subfigure}
\usepackage{pgfplots}
\pgfplotsset{compat=1.14}
%\pgfplotsset{}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{pagenote}
\usepackage{array}
\usepackage{listings}
%\usepackage[export]{adjustbox}
%\usepackage[breaklinks]{hyperref}
\usepackage{placeins}
\usepackage[tikz]{bclogo}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{fancyvrb}
\usepackage[font=scriptsize]{caption}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,positioning}
\usepackage{geometry}
\geometry{
left=0.15\paperwidth,
right=0.15\paperwidth,
top=0.1\paperwidth,
bottom=0.1\paperwidth
}
\usepackage[pagestyles]{titlesec}
%\usepackage[right=3.5in,showframe]{geometry}
%\usepackage{hyperref} %breaks everything. Need to look into it.
\def\hhsurl#1{\expandafter\string\csname #1\endcsname}
%Get rid of anoying pdf message about version 1.5
%\pdfminorversion=6
%The "booktabs" package makes nice tables. Sparing use of lines makes tables look much nicer (less "grid" like). %Multirow lets you make elements that span multiple rows or columns. The the package docs for examples.
%\usepackage{booktabs}
%\usepackage{multirow}
\errorcontextlines 10000
% Use \raggedbottom to stop latex from trying to add space
% between sections to try to fill the page with text up to the
% bottom
\raggedbottom
% \makeatletter
% % define a user command to choose the image
% % this command also creates an internal command to insert the image
% \def\@partimage{}
% \newcommand{\partimage}[2][]{\gdef\@partimage{\includegraphics[#1]{#2}}}
% \renewcommand{\printparttitle}[1]{\parttitlefont #1\vfil\@partimage\vfil}
% \makeatother
%%% PAGE LAYOUT
%%%----------------------------------------------------
%\setlrmarginsandblock{0.15\paperwidth}{*}{1} % Left and right margin
%\setulmarginsandblock{0.1\paperwidth}{*}{1} % Upper and lower margin
%\checkandfixthelayout
%\setbinding{4mm}
%\settypeblocksize{*}{24.5pc}{1.618}
%\setlrmargins{*}{*}{1.5}
%\setulmarginsandblock{6pc}{7pc}{*}
%\setmarginnotes{6pt}{6pc}{12pt}
%\strictpagecheck
%\setlength{\topskip}{1.6\topskip}
%\checkandfixthelayout
%%% SECTIONAL DIVISIONS
%%%----------------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% reset chapter numbers on each part
%
\makeatletter
\@addtoreset{chapter}{part}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Part: center title
%
\titleformat{\part}[display]
{\normalfont\LARGE\color{black}\bfseries\centering}{}{0pt}{}
[{\titlerule[0.8pt]}]
\titleformat{\chapter}
{\Large\bfseries} % format
{} % label
{0pt} % sep
{\huge} % before-code
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SubSection: center title
%
% \titleformat{\subsection}[display]
% {\normalfont\LARGE\color{blue}\bfseries\centering}{}{0pt}{}
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % Remove section headers
% %
% \makeatletter
% \titleformat{\section}[runin]{}{}{0pt}{\@gobble}
% %\titleformat{\subsection}[runin]{}{}{0pt}{\@gobble}
% \makeatother
% \titlespacing{\section}{\parindent}{0pt}{0pt}
% %\titlespacing{\subsection}{\parindent}{0pt}{0pt}
%\maxsecnumdepth{subsection} % Subsections (and higher) are numbered
%\setsecnumdepth{subsection}
%\setsecheadstyle{\normalfont\large\bfseries}
%\setsubsecheadstyle{\normalfont\normalsize\bfseries}
%\setparaheadstyle{\normalfont\normalsize\bfseries}
%\setparaindent{0pt}\setafterparaskip{0pt}
%%% FLOATS AND CAPTIONS
%%%----------------------------------------------------
\makeatletter % You do not need to write [htpb] all the time
\renewcommand\fps@figure{htbp} %
\renewcommand\fps@table{htbp} %
\makeatother %
% Add a \par to the end of the TOC
\AtEndDocument{\addtocontents{toc}{\par}}
\input{Custom_Commands/bios_module.tex}
\input{Custom_Commands/mentors_module.tex}
\input{Custom_Commands/CV_module.tex}
\input{Custom_Commands/outreach_module.tex}
\input{Custom_Commands/competition_module.tex}
\input{Custom_Commands/meeting_module.tex}
\input{Custom_Commands/section_module.tex}
\input{Custom_Commands/meetingimg_module.tex}
\input{Custom_Commands/unchapter_module.tex}
\input{Custom_Commands/design_module.tex}
\input{Custom_Commands/monsterbox_bios_module.tex}
\input{Custom_Commands/finance_module.tex}
\input{Custom_Commands/committee.tex}
\input{Custom_Commands/whats_next.tex}
\input{Custom_Commands/outreach-module-hours.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% new itemize enviroment that doesn't allow latex to put
% more space between items when it tries to fill the entire
% page with text. If you use /raggedbottom then this is not needed.
\newenvironment{myitemize}
{ \begin{itemize}
\setlength{\itemsep}{0pt}
\setlength{\parskip}{0pt}
\setlength{\parsep}{0pt} }
{ \end{itemize} }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Pagenote section
% Use page notes to mark control and innovation
\makepagenote
%\continuousnotenums
%\notepageref
\renewcommand*{\pagenotesubhead}[3]{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Control label
%
\makeatletter
\newcommand{\interesting}[2]{%
\@bsphack
\csname phantomsection\endcsname % in case hyperref is used
\def\@currentlabel{#1}{\label{#2}}%
\@esphack
}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Interesting Page Table
%
\newcommand{\interestingpagetable}{
\newpage
%\pagestyle{plain}
\textbf{\Huge Interesting Pages}
\addcontentsline{toc}{section}{\numberline{}Interesting Pages}
\vspace*{1cm}
%\par
We have created the table below that highlights some of the more interesting pages in our notebook. The highlighted ones are also tabbed.
\vspace*{1cm}
% more space between rows
\renewcommand{\arraystretch}{1.2}
% Remove space to the vertical edges
%\begin{tabular}{@{}lll@{}}
%\interesting{This is an example of a good control}{control:1} % enter this in the actual page file
\resizebox{\textwidth}{!}{%
\begin{tabular}{lp{0.7\textwidth}r}
\toprule
Type & Description & Page \\
\midrule
Innovate & \ref{innovate:1} & \pageref{innovate:1}\\
Innovate & \ref{innovate:3} & \pageref{innovate:3}\\
Innovate & \ref{Innovate:4} & \pageref{Innovate:4}\\
Innovate & \ref{Innovate:55} & \pageref{Innovate:55}\\
Design & \ref{design:1} & \pageref{design:1}\\
Design & \ref{design:2} & \pageref{design:2}\\
Design & \ref{design:3} & \pageref{design:3}\\
Design & \ref{design:5} & \pageref{design:5}\\
Design & \ref{design:6} & \pageref{design:6}\\
Control & \ref{control:1} & \pageref{control:1}\\
Control & \ref{control:2} & \pageref{control:2}\\
Control & \ref{control:3} & \pageref{control:3}\\
Control & \ref{control:4} & \pageref{control:4}\\
Control & \ref{innovate:2} & \pageref{innovate:2}\\
Control & \ref{control:77} & \pageref{control:77}\\
Control & \ref{control:44} & \pageref{control:44}\\
Control & \ref{control:99} & \pageref{control:99}\\
Connect & \ref{connect:1} & \pageref{connect:1}\\
Connect & \ref{connect:2} & \pageref{connect:2}\\
Connect & \ref{connect:3} & \pageref{connect:3}\\
Connect & \ref{connect:4} & \pageref{connect:4}\\
Think & \ref{timeline:1} & \pageref{timeline:1}\\
Think & \ref{think:1} & \pageref{think:1}\\
Think & \ref{think:2} & \pageref{think:2}\\
Competition & \ref{competition:1} & \pageref{competition:1}\\
Competition & \ref{competition:2} & \pageref{competition:2}\\
Competition & \ref{competition:3} & \pageref{competition:3}\\
\bottomrule
\end{tabular}
}
\vspace{.5cm}
\newline \textbf{Recent Update: We are now balancing without touching the ground with our arms!} For more information, please see the control sections.
}
\makepagenote
% %Code to make Figures stay within their \section (i.e. Programming):
% \makeatletter
% \renewcommand\section{\@startsection {section}{1}{\z@}%
% {-3.5ex \@plus -1ex \@minus -.2ex}%
% {2.3ex \@plus.2ex}%
% {\FloatBarrier\normalfont\large\bfseries}}
% \makeatother
%Code to make Figures stay within their \subsection (i.e. Accomplishments):
% \makeatletter
% \AtBeginDocument{%
% \expandafter\renewcommand\expandafter\subsubsection\expandafter
% {\expandafter\@fb@secFB\subsubsection}%
% \newcommand\@fb@secFB{\FloatBarrier
% \gdef\@fb@afterHHook{\@fb@topbarrier \gdef\@fb@afterHHook{}}}%
% \g@addto@macro\@afterheading{\@fb@afterHHook}%
% \gdef\@fb@afterHHook{}%
% }
% \makeatother
\makeatletter
\AtBeginDocument{%
\expandafter\renewcommand\expandafter\subsection\expandafter
{\expandafter\@fb@secFB\subsection}%
\newcommand\@fb@secFB{\FloatBarrier
\gdef\@fb@afterHHook{\@fb@topbarrier \gdef\@fb@afterHHook{}}}%
\g@addto@macro\@afterheading{\@fb@afterHHook}%
\gdef\@fb@afterHHook{}%
}
\makeatother
\definecolor{pblue}{rgb}{0.13,0.13,1}
\definecolor{pgreen}{rgb}{0,0.5,0}
\definecolor{pred}{rgb}{0.9,0,0}
\definecolor{pgrey}{rgb}{0.46,0.45,0.48}
\lstset{language=Java,
showspaces=false,
showtabs=false,
breaklines=true,
showstringspaces=false,
breakatwhitespace=true,
commentstyle=\color{pgreen},
keywordstyle=\color{pblue},
stringstyle=\color{pred},
basicstyle=\ttfamily,
moredelim=[il][\textcolor{pgrey}]{$$},
moredelim=[is][\textcolor{pgrey}]{\%\%}{\%\%}
}
% \newpagestyle{hhsstyle}[\small]{
% \sethead[\thepage][][\thesection~\sectiontitle]{\subsectiontitle}{}{\thepage}
% }
\newpagestyle{hhsstyle}[\small]{
\sethead[][][]{}{}{}
\setfoot[\thepage][][]{}{}{\thepage}
}