-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tex
118 lines (88 loc) · 2.15 KB
/
main.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
%TEX-template borrowed from https://github.com/idlouhy/wonsole/blob/master/report/src/report.tex
\documentclass[12pt,a4paper,oneside]{report}
\usepackage[section] {placeins}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{float}
\selectlanguage{english}
\usepackage{graphicx}
\usepackage{tabu}
\usepackage{booktabs}
\usepackage{wrapfig}
\usepackage{pbox}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\usepackage{longtable}
\usepackage{pdfpages}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{subcaption}
\usepackage{csquotes}
\usepackage{rotating}
\usepackage{nameref}
\usepackage{fullpage}
\usepackage{verbatim}
\usepackage{url}
\usepackage{cite}
\usepackage{caption}
\usepackage{float}
\usepackage{color}
\usepackage{hyperref}
% Library for syntax highlighting
\usepackage{minted}
\usepgfplotslibrary{dateplot}
\usemintedstyle[glsl]{colorful}
\usemintedstyle[c]{colorful}
\usemintedstyle[cpp]{colorful}
\setlength{\parindent}{0.0in}
\setlength{\parskip}{1.5ex}
\setlength{\fboxsep}{0pt}
\setlength{\fboxrule}{1pt}
\fontfamily{ptm}\selectfont
\usepackage{hyperref}
\hypersetup{
bookmarks=true,
unicode=true,
pdftoolbar=true,
pdfmenubar=true,
pdffitwindow=false,
pdfstartview={FitH},
pdftitle={OpenGL Labs TDT4195},
pdfauthor={Bart van Blokland},
pdfsubject={Introduction to OpenGL},
pdfkeywords={ntnu} {OpenGL} {GLSL} {TDT4195},
pdfnewwindow=true,
colorlinks=false,
linkcolor=blue,
citecolor=blue,
filecolor=blue,
urlcolor=blue
}
\bibliographystyle{ieeetr}
\begin{document}
%TITLE
\thispagestyle{empty}
\begin{center}
{\Huge\textbf{A Hitchhiker's Guide to OpenGL}} \\
\vspace{1cm}
{\large Bart van Blokland}\\
\vspace{18cm}
{\large Department of Computer and Information Science, NTNU}\\
\vspace{1cm}
{\large Revision 4.2}\\
\end{center}
\newpage
\setcounter{tocdepth}{1}
\tableofcontents
\clearpage
% CHAPTERS
\input{chapters/02-lab1-overview}
\input{chapters/02-lab1-basics}
\input{chapters/02-lab1-shaders}
\newpage
\begin{center}
\vspace{9cm}
\resizebox{\linewidth}{!}{\textbf{Don't Panic}}
\end{center}
\end{document}