-
Notifications
You must be signed in to change notification settings - Fork 0
/
templateNotebook.tex
77 lines (68 loc) · 1.6 KB
/
templateNotebook.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
\documentclass[pt]{extarticle}
\usepackage[left=0.4in,right=0.4in,top=0.7in,bottom=0.4in]{geometry}
\usepackage{hyperref}
\usepackage{fancyhdr}
\usepackage{listings}
\usepackage{xcolor}
\usepackage{tocloft}
\usepackage{pdflscape}
\usepackage{multicol}
\lstdefinestyle{shared}{
belowcaptionskip=1\baselineskip,
breaklines=true,
xleftmargin=\parindent,
showstringspaces=false,
basicstyle=\fontsize{8.5}{6}\ttfamily,
}
\lstdefinestyle{cpp}{
style=shared,
language=C++,
keywordstyle=\bfseries\color{blue!40!black},
commentstyle=\itshape\color{green!80!black},
identifierstyle=\color{black},
stringstyle=\color{black!40!black},
}
\lstdefinestyle{java}{
style=shared,
language=Java,
keywordstyle=\bfseries\color{blue!40!black},
commentstyle=\itshape\color{green!40!black},
identifierstyle=\color{black},
stringstyle=\color{black},
}
\lstdefinestyle{py}{
style=shared,
language=Python,
keywordstyle=\bfseries\color{blue!40!black},
commentstyle=\itshape\color{green!40!black},
identifierstyle=\color{black},
stringstyle=\color{black},
}
\lstdefinestyle{txt}{
style=shared,
}
\lstset{escapechar=@}
\pagestyle{fancy}
\fancyhead[L]{ Distrital University of Colombia}
\fancyhead[R]{\thepage}
\fancyfoot[C]{}
\fancypagestyle{plain}
{
\fancyhead[L]{UDvorak}
\fancyhead[R]{\thepage}
\fancyfoot[C]{}
}
\title{\vspace{-4ex}\Large{Notebook (2018)}}
\author{}
\date{}
\begin{document}
\begin{landscape}
\begin{multicols}{2}
\maketitle
\vspace{-13ex}
\tableofcontents
\pagestyle{fancy}
\input contentNotebook.tex
\end{multicols}
\end{landscape}
\end{document}