-
Notifications
You must be signed in to change notification settings - Fork 26
/
time-two_courses_horizontal+timeline+foreach+learn.tex
58 lines (50 loc) · 2.07 KB
/
time-two_courses_horizontal+timeline+foreach+learn.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
% https://tex.stackexchange.com/a/239139/173708
\documentclass{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{snakes}
\usepackage{fullpage}
\usepackage{graphicx}
\usetikzlibrary{calc}
\begin{document}
\resizebox{\linewidth}{!}{% Resize table to fit within
\begin{tikzpicture}[snake=zigzag, line before snake = 5mm, line after snake = 5mm]
%draw 1st horizontal line
\draw (0,0) -- (19/2,0);
\draw[snake] (19/2,0) -- (25/2,0);
\draw (25/2,0) -- (30/2,0);
\draw[snake] (30/2,0) -- (35/2,0);
\draw (35/2,0) -- (40/2,0);
%draw vertical lines
\foreach \x in {0, 5, 10, 19, 30, 40}{
\draw (\x/2,3pt) -- (\x/2,-3pt);
}
%draw nodes
\draw (-2,0) node { PHYS1060 };
\draw (0,0) node[below=3pt] { Pre-test published } node[above=3pt] { Jan 4, 2014 };
\draw (5/2,0) node[below=3pt] { Nudge } node[above=3pt] { Jan 9, 2014 };
\draw (10/2,0) node[below=3pt] { First class } node[above=3pt] { Jan 13, 2014 };
\draw (19/2,0) node[below=3pt] { Pre-test due } node[above=3pt] { Jan 22, 2014 };
\draw (30/2,0) node[below=3pt] { Midterm } node[above=3pt] { Feb 17, 2014 };
\draw (40/2,0) node[below=3pt] { Final Exam} node[above=3pt] { May 5, 2014 };
%draw 2nd horizontal line
\draw (-2,-2) node { PHYS1050 };
\draw (0,-2) -- (19/2,-2);
\draw[snake] (19/2,-2) -- (25/2,-2);
\draw (25/2,-2) -- (30/2,-2);
\draw[snake] (30/2,-2) -- (35/2,-2);
\draw (35/2,-2) -- (40/2,-2);
draw vertical lines
\foreach \x in {0, 5, 10, 19, 30, 40}{
\draw ($(0,-2)+(\x/2, 3pt)$) -- ($(0,-2)+(\x/2, -3pt)$);
}
%draw nodes
\draw (0,-2) node[below=3pt] { Pre-test published } node[above=3pt] { Aug 10, 2014 };
\draw (5/2,-2) node[below=3pt] { First class } node[above=3pt] { Aug 27, 2014 };
\draw (10/2,-2) node[below=3pt] { Nudge } node[above=3pt] { Sept 4, 2014 };
\draw (19/2,-2) node[below=3pt] { Pre-test due } node[above=3pt] { Sept 7, 2014 };
\draw (30/2,-2) node[below=3pt] { Midterm } node[above=3pt] { ?, 2014 };
\draw (40/2,-2) node[below=3pt] { Final Exam} node[above=3pt] { ?, 2014 };
\end{tikzpicture}
}
\end{document}