Description
This is a LaTeX code for a timeline diagram created using the TikZ package. The document class is set to standalone with a font size of 6pt. The TikZ library "snakes" is also used in this code. The timeline is drawn using horizontal and vertical lines with nodes at different points in time. Each node represents a specific task or event and is labeled with its name and the date it occurred. The timeline spans from Nov 17 2017 to Dec 12 2017. The diagram also includes two nodes that are highlighted in bold and underlined. The nodes are labeled "Submit Project Proposal" and "Finish Report" respectively, suggesting their importance in the timeline. The figure environment is commented out, indicating that it is not being used in the current code.
Keywords
tikz, snakes, fullpage, documentclass, usepackage, begin, draw, foreach, nodes, textwidth, align, center, above, below, resizebox, end, caption, centering, figure, label, linewidth.
Source Code
\documentclass[6pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{snakes}
\usepackage{fullpage}
\begin{document}
%
%\begin{figure}
%\caption{Time Line}
%\centering
%\resizebox{\linewidth}{!}{% Resize table to fit within
\begin{tikzpicture}[]
%draw horizontal line
\draw (0,0) -- (41/1.7,0);
%draw vertical lines
\foreach \x in {0, 8, 15, 22, 29, 36, 41}{
\draw (\x/1.7,3pt) -- (\x/1.7,-3pt);
}
%draw nodes
\draw (0,0) node[text width = 85pt,align=center,below=3pt] {\textbf{Submit Project Proposal}} node[above=3pt] {Nov 17 2017};
\draw (8/1.7,0) node[below=3pt] {Find Game Engine} node[above=3pt] {Nov 20 2017};
\draw (15/1.7,0) node[text width = 100pt,align=center,below=3pt] {Create Server-Client Architecture} node[above=3pt] {Nov 25 2017};
\draw (22/1.7,0) node[text width = 100pt,align=center,below=3pt] {Implement Game Logic} node[above=3pt] {Nov 29 2017};
\draw (29/1.7,0) node[text width = 100pt,align=center,below=3pt] {Add Music and Effects} node[above=3pt] {Dec 1 2017};
\draw (36/1.7,0) node[text width = 100pt,align=center,below=3pt] {\textbf{In Class Demo}} node[above=3pt] {Dec 2 2017};
\draw (41/1.7,0) node[below=3pt] {\textbf{Finish Report}} node[above=3pt] {Dec 12 2017};
\end{tikzpicture}
%}
%\label{fig:time_line}
%\end{figure}
\end{document}