summaryrefslogtreecommitdiff
path: root/src/_preamble.tex
diff options
context:
space:
mode:
Diffstat (limited to 'src/_preamble.tex')
-rw-r--r--src/_preamble.tex38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/_preamble.tex b/src/_preamble.tex
new file mode 100644
index 0000000..1168bb6
--- /dev/null
+++ b/src/_preamble.tex
@@ -0,0 +1,38 @@
+\documentclass{tufte-book}
+
+\usepackage{tikz}
+\usepackage[super]{nth}
+% \usepackage{parskip}
+\usepackage{listings}
+
+\usetikzlibrary{shapes,arrows}
+
+\tikzstyle{decision} = [diamond, draw, fill=blue!20,
+ text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt]
+\tikzstyle{block} = [rectangle, draw, fill=blue!20,
+ text width=5em, text centered, rounded corners, minimum height=4em]
+\tikzstyle{line} = [draw, -latex']
+\tikzstyle{cloud} = [draw, ellipse,fill=red!20, node distance=3cm,
+ minimum height=2em]
+
+\titleformat{\section}{\scshape\Large}{\thesection}{1em}{}
+
+\newenvironment{logEntry}[2]{ % Date, heading
+ \noindent\textbf{#2}\marginnote{#1}\par}{\vspace{0.5cm}
+}
+
+\def\?#1{}
+
+\newcommand{\writetitle}{0}
+\newcommand{\mytitle}[2]{
+ \ifthenelse{\writetitle=1}{\normalfont{#2:} \textbf{#1}}{}
+}
+
+\newcommand{\co}{Computer Organisation}
+\newcommand{\gp}{General Psychology}
+\newcommand{\da}{Digital Art: Photoshop}
+\newcommand{\dd}{Documentation Development}
+
+\newread\mysource
+
+\begin{document} \ No newline at end of file