|
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
2 % Tutorial slides on Python. |
|
3 % |
|
4 % Author: FOSSEE <info at fossee dot in> |
|
5 % Copyright (c) 2005-2009, FOSSEE Team |
|
6 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
7 |
|
8 |
|
9 \documentclass[14pt,compress]{beamer} |
|
10 |
|
11 \mode<presentation> |
|
12 { |
|
13 \useoutertheme{split} |
|
14 \setbeamercovered{transparent} |
|
15 } |
|
16 |
|
17 \definecolor{darkgreen}{rgb}{0,0.5,0} |
|
18 |
|
19 \usepackage{listings} |
|
20 \lstset{language=Python, |
|
21 basicstyle=\ttfamily\bfseries, |
|
22 commentstyle=\color{red}\itshape, |
|
23 stringstyle=\color{darkgreen}, |
|
24 showstringspaces=false, |
|
25 keywordstyle=\color{blue}\bfseries} |
|
26 |
|
27 \newcommand{\kwrd}[1]{ \texttt{\textbf{\color{blue}{#1}}} } |
|
28 |
|
29 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
30 % Macros |
|
31 |
|
32 \newcounter{qno} |
|
33 \setcounter{qno}{0} |
|
34 \newcommand{\incqno}{\addtocounter{qno}{1}{Question \theqno}} |
|
35 |
|
36 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
37 % Title page |
|
38 \title[Basic Python]{Python for science and engineering: Day 1, Quiz 2} |
|
39 |
|
40 \author[FOSSEE Team] {FOSSEE} |
|
41 |
|
42 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} |
|
43 \date[] {\today \\ |
|
44 Day 1, quiz 2} |
|
45 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
46 |
|
47 |
|
48 \begin{document} |
|
49 |
|
50 \begin{frame} |
|
51 \titlepage |
|
52 \end{frame} |
|
53 |
|
54 \begin{frame} |
|
55 \frametitle{Write your details...} |
|
56 On the top right hand corner please write down the following: |
|
57 \begin{itemize} |
|
58 \item Name: |
|
59 \item University/College/Company: |
|
60 \item Student/Teacher/Professional: |
|
61 \end{itemize} |
|
62 \end{frame} |
|
63 |
|
64 \end{document} |
|
65 |
|
66 |