|
1 \documentclass[dvipsnames,14pt,t]{beamer} |
|
2 \usepackage{beamerthemeplaincu} |
|
3 %%\usepackage[T1]{fontenc} |
|
4 \usepackage[latin1]{inputenc} |
|
5 \usepackage{mathpartir} |
|
6 \usepackage[absolute,overlay]{textpos} |
|
7 \usepackage{ifthen} |
|
8 \usepackage{tikz} |
|
9 \usepackage{pgf} |
|
10 \usepackage{calc} |
|
11 \usepackage{ulem} |
|
12 \usepackage{courier} |
|
13 \usepackage{listings} |
|
14 \renewcommand{\uline}[1]{#1} |
|
15 \usetikzlibrary{arrows} |
|
16 \usetikzlibrary{automata} |
|
17 \usetikzlibrary{shapes} |
|
18 \usetikzlibrary{shadows} |
|
19 \usetikzlibrary{positioning} |
|
20 \usetikzlibrary{calc} |
|
21 \usepackage{graphicx} |
|
22 |
|
23 \definecolor{javared}{rgb}{0.6,0,0} % for strings |
|
24 \definecolor{javagreen}{rgb}{0.25,0.5,0.35} % comments |
|
25 \definecolor{javapurple}{rgb}{0.5,0,0.35} % keywords |
|
26 \definecolor{javadocblue}{rgb}{0.25,0.35,0.75} % javadoc |
|
27 |
|
28 \makeatletter |
|
29 \lst@CCPutMacro\lst@ProcessOther {"2D}{\lst@ttfamily{-{}}{-{}}} |
|
30 \@empty\z@\@empty |
|
31 \makeatother |
|
32 |
|
33 \lstset{language=Java, |
|
34 basicstyle=\consolas, |
|
35 keywordstyle=\color{javapurple}\bfseries, |
|
36 stringstyle=\color{javagreen}, |
|
37 commentstyle=\color{javagreen}, |
|
38 morecomment=[s][\color{javadocblue}]{/**}{*/}, |
|
39 numbers=left, |
|
40 numberstyle=\tiny\color{black}, |
|
41 stepnumber=1, |
|
42 numbersep=10pt, |
|
43 tabsize=2, |
|
44 showspaces=false, |
|
45 showstringspaces=false} |
|
46 |
|
47 \lstdefinelanguage{scala}{ |
|
48 morekeywords={abstract,case,catch,class,def,% |
|
49 do,else,extends,false,final,finally,% |
|
50 for,if,implicit,import,match,mixin,% |
|
51 new,null,object,override,package,% |
|
52 private,protected,requires,return,sealed,% |
|
53 super,this,throw,trait,true,try,% |
|
54 type,val,var,while,with,yield}, |
|
55 otherkeywords={=>,<-,<\%,<:,>:,\#,@,->}, |
|
56 sensitive=true, |
|
57 morecomment=[l]{//}, |
|
58 morecomment=[n]{/*}{*/}, |
|
59 morestring=[b]", |
|
60 morestring=[b]', |
|
61 morestring=[b]""" |
|
62 } |
|
63 |
|
64 \lstset{language=Scala, |
|
65 basicstyle=\consolas, |
|
66 keywordstyle=\color{javapurple}\bfseries, |
|
67 stringstyle=\color{javagreen}, |
|
68 commentstyle=\color{javagreen}, |
|
69 morecomment=[s][\color{javadocblue}]{/**}{*/}, |
|
70 numbers=left, |
|
71 numberstyle=\tiny\color{black}, |
|
72 stepnumber=1, |
|
73 numbersep=10pt, |
|
74 tabsize=2, |
|
75 showspaces=false, |
|
76 showstringspaces=false} |
|
77 |
|
78 |
|
79 % beamer stuff |
|
80 \renewcommand{\slidecaption}{APP 03, King's College London, 8 October 2013} |
|
81 |
|
82 |
|
83 \begin{document} |
|
84 |
|
85 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
86 \mode<presentation>{ |
|
87 \begin{frame}[c] |
|
88 |
|
89 Dear All,\medskip |
|
90 |
|
91 While showing how to hack in the last lecture, I forgot to make an important announcement: the next lecture will be a guest lecture given by Richard Overill. He will present non-examinable material. I hope you still come. Richard is an expert in Cybercrime \& Cyberterrorism and often works with the Met Police Security Force. So he has first-hand knowledge about all sorts of hacking.\medskip |
|
92 |
|
93 The lecture on the 22nd will be "normal" again given by me. |
|
94 |
|
95 \end{frame}} |
|
96 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
97 |
|
98 \end{document} |
|
99 |
|
100 %%% Local Variables: |
|
101 %%% mode: latex |
|
102 %%% TeX-master: t |
|
103 %%% End: |
|
104 |