-
Notifications
You must be signed in to change notification settings - Fork 0
/
data_processing.tex
executable file
·191 lines (141 loc) · 4.58 KB
/
data_processing.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Felix Hoffmann, October 2014
% about.me/felixhoffmann
%
% based on prior presentation of
% Jyotika Bahuguna, October 2012
%
% You can freely use this code
% respecting the licenses that
% apply to the images and content
% used in this document as well as
% LaTeX itself.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[xcolor=table,10pt]{beamer}
\usepackage{latexsym,amssymb,amsfonts,amsmath}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{minted}
\usepackage{hyperref}
\usepackage{changepage} % for adjust width
%for Introduction - Part 1 - ... Orientation
%\useoutertheme[subsection=false, shadow]{miniframes}
\useinnertheme{default}
\beamertemplatenavigationsymbolsempty
\usefonttheme{serif}
\usepackage{palatino}
\usepackage{eulervm} %additional math
% Other Palatino font packages, with math
% see also http://tex.stackexchange.com/questions/89610
% and math_fonts.pdf in Latex docs
% --------------------
% \usepackage{pxfonts}
% \usepackage{mathpazo} % add possibly `sc` and `osf` options
% --------------------
\setbeamercolor*{structure}{fg=black}
\usepackage{transparent} % transparent graphics
\usepackage{textcomp}
\usepackage{subcaption}
\graphicspath{{img/}{../}}
\usepackage[table]{xcolor}
\usepackage{tikz}
\usetikzlibrary{arrows,shapes}
\usepackage{color}
%\usemintedstyle{friendly}
%\usemintedstyle{autumn}
%\usemintedstyle{manni}
%\usemintedstyle{tango}
\newminted[mlinepython]{python}{fontsize=\small, linenos,
numbersep=11pt,
gobble=4,
frame=lines,
bgcolor=bg,
framesep=3mm}
% http://tex.stackexchange.com/questions/84936/
\usepackage[loadonly]{enumitem} % Enumitem-Beamer Incompatibility! See
% http://tex.stackexchange.com/a/52299/4912
\newlist{arrowlist}{itemize}{1}
\setlist[arrowlist]{label=$\Rightarrow$}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{xcolor}
\usepackage[normalem]{ulem}
\hypersetup{%
colorlinks=true,% hyperlinks will be coloured
urlcolor=blue,
}
\makeatletter
\DeclareUrlCommand\ULurl@@{%
\def\UrlFont{\ttfamily\color{blue}}%
\def\UrlLeft{\uline\bgroup}%
\def\UrlRight{\egroup}}
\def\ULurl@#1{\hyper@linkurl{\ULurl@@{#1}}{#1}}
\DeclareRobustCommand*\ULurl{\hyper@normalise\ULurl@}
\makeatother
\newenvironment{mydescription}[1]
{\begin{list}{}%
{\renewcommand\makelabel[1]{\textbf{##1}\hfill}%
\settowidth\labelwidth{\makelabel{#1}}%
\setlength\leftmargin{\labelwidth}
\addtolength\leftmargin{\labelsep}}}
{\end{list}}
% cite source for content in the frame in bottom right corner
% usage: \source{here my source}
\usepackage[absolute,overlay]{textpos}
\setbeamercolor{framesource}{fg=gray}
\setbeamerfont{framesource}{size=\scriptsize}
\newcommand{\source}[1]{\begin{textblock*}{5cm}(7.7cm,8.9cm)
\begin{beamercolorbox}[ht=0.5cm,right]{framesource}
\usebeamerfont{framesource}\usebeamercolor[fg]{framesource} {#1}
\end{beamercolorbox}
\end{textblock*}}
%%%%%%%%%%%%%%%%%%%%%%% stretching %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% from http://tex.stackexchange.com/questions/148365
% and https://gist.github.com/navarroj/7789910
\let\svpar\par
\let\svitemize\itemize
\let\svenditemize\enditemize
\let\svitem\item
\def\newpar{\def\par{\svpar\vfill}}
\def\newitem{\def\item{\vfill\svitem}}
\let\svcenter\center
\let\svendcenter\endcenter
\let\svcolumn\column
\let\svendcolumn\endcolumn
\newlength\columnskip
\columnskip 0pt
\def\newcolumn{%
\renewenvironment{column}[2]%
{\svcolumn{##1}\setlength{\parskip}{\columnskip}##2}%
{\svendcolumn\vspace{\columnskip}}}
\newcommand\stretchy{\only<2>{%
\newpar\def\item{\svitem\newitem}%
\renewenvironment{itemize}{\svitemize}{\svenditemize\newpar\par}%
\renewenvironment{center}{\svcenter\newpar}{\svendcenter\newpar}%
\newcolumn
}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title {File operations and data parsing}
%\subtitle{}
\author[Felix Hoffmann]{Felix Hoffmann \vspace{0.25cm} \newline \small [email protected]}
\institute[]{}
\date{\today}
\AtBeginSection[]
{
\begin {frame}<beamer>
\frametitle{}
\tableofcontents[currentsection]
\end{frame}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\definecolor{bg}{rgb}{0.95,0.95,0.95}
\definecolor{tg}{rgb}{0.35,0.35,0.35}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{frames/front}
\input{frames/load_save_data}
\input{frames/regex}
\input{frames/os_module}
\input{frames/back}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}