-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.tex
97 lines (77 loc) · 2.38 KB
/
template.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
\documentclass[10pt]{article}
\usepackage{amsmath, amsfonts, amsthm, amssymb}
\usepackage{mathtools}
\usepackage{enumerate}
\usepackage[a4paper, total={6in, 9in}]{geometry}
\usepackage[x11names, rgb]{xcolor}
\usepackage{tikz}
\usepackage{graphicx}
% \usepackage{times} % use other fonts if needed
\graphicspath{ {./imgs/} }
\setlength{\parindent}{0pt}
\setlength{\parskip}{4pt plus 1pt}
\pagestyle{empty}
\def\indented#1{\list{}{}\item[]}
\let\indented=\endlist
% ----- Identifying Information -----------------------------------------------
\newcommand{\myclass}{15-213 Intro to Computer Systems}
\newcommand{\myhwname}{Malloc Lab}
\newcommand{\myname}{Andrew Carnegie}
\newcommand{\myandrew}{[email protected]}
% -----------------------------------------------------------------------------
\begin{document}
\begin{center}
{\Large \myclass{}} \\
{\large{\myhwname}} \\
\myname \\
\myandrew \\
\today
\end{center}
% ----- Main content begins -----------------------------------------------
\section{Background}
\section{First section}
\begin{enumerate}
\setcounter{enumi}{0}
\item (5 points) How many hosts configure their IP addresses using DHCP?
What are the IP address(es) of the DHCP server(s)?
\textbf{Answer: }
\begin{center}
\includegraphics[scale=0.3]{cmu.png}\\
\small{Fig 1.1 First report image}
\end{center}
The IP address of the DHCP server is \verb|192.168.0.1|.
\end{enumerate}
\subsection{Itemized section}
\begin{itemize}
\item {
\verb|192.168.0.10-2.0.0.1|: the MAC addresses are from
\verb|94:c6:91:a0:75:cf| to \verb|00:50:b6:e2:0f:bb|.
}
\item {
\verb|3.0.0.2-2.0.0.1 #1|: the MAC addresses are from
\verb|b8:27:eb:e2:66:9f| to \verb|00:50:b6:bc:87:08|.
}
\item {
\verb|3.0.0.2-2.0.0.1 #2|: the MAC addresses are from
\verb|b8:27:eb:c4:73:d4| to \verb|00:50:b6:e2:10:0c|.
}
\item {
\verb|3.0.0.2-2.0.0.1 #3|: the MAC addresses are from
\verb|b8:27:eb:c7:01:e6| to \verb|00:50:b6:bc:80:27|.
}
\item {
\verb|3.0.0.2-2.0.0.1 #4|: the MAC addresses are from
\verb|b8:27:eb:79:49:98| to \verb|b8:27:eb:40:51:78|.
}
\end{itemize}
\subsection{Sub 2 \& subsubs}
\subsubsection{Subsub 1}
\subsubsection{Subsub 2}
\begin{center}
\includegraphics[scale=0.2]{cmu}
\end{center}
\subsubsection{Sub 3}
- \textbf{foo}: bar\\
\section{Conclusion}
% ----- Main content ends -----------------------------------------------
\end{document}