author | Nishanth <nishanth@fossee.in> |
Tue, 12 Oct 2010 11:44:33 +0530 | |
changeset 335 | d5248a15274c |
parent 256 | a3aa223c1662 |
permissions | -rw-r--r-- |
256
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
1 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
2 |
%Tutorial slides on Python. |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
3 |
% |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
4 |
% Author: FOSSEE |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
5 |
% Copyright (c) 2009, FOSSEE, IIT Bombay |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
6 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
7 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
8 |
\documentclass[14pt,compress]{beamer} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
9 |
%\documentclass[draft]{beamer} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
10 |
%\documentclass[compress,handout]{beamer} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
11 |
%\usepackage{pgfpages} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
12 |
%\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm] |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
13 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
14 |
% Modified from: generic-ornate-15min-45min.de.tex |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
15 |
\mode<presentation> |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
16 |
{ |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
17 |
\usetheme{Warsaw} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
18 |
\useoutertheme{infolines} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
19 |
\setbeamercovered{transparent} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
20 |
} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
21 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
22 |
\usepackage[english]{babel} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
23 |
\usepackage[latin1]{inputenc} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
24 |
%\usepackage{times} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
25 |
\usepackage[T1]{fontenc} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
26 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
27 |
\usepackage{ae,aecompl} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
28 |
\usepackage{mathpazo,courier,euler} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
29 |
\usepackage[scaled=.95]{helvet} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
30 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
31 |
\definecolor{darkgreen}{rgb}{0,0.5,0} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
32 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
33 |
\usepackage{listings} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
34 |
\lstset{language=Python, |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
35 |
basicstyle=\ttfamily\bfseries, |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
36 |
commentstyle=\color{red}\itshape, |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
37 |
stringstyle=\color{darkgreen}, |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
38 |
showstringspaces=false, |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
39 |
keywordstyle=\color{blue}\bfseries} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
40 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
41 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
42 |
% Macros |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
43 |
\setbeamercolor{emphbar}{bg=blue!20, fg=black} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
44 |
\newcommand{\emphbar}[1] |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
45 |
{\begin{beamercolorbox}[rounded=true]{emphbar} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
46 |
{#1} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
47 |
\end{beamercolorbox} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
48 |
} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
49 |
\newcounter{time} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
50 |
\setcounter{time}{0} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
51 |
\newcommand{\inctime}[1]{\addtocounter{time}{#1}{\tiny \thetime\ m}} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
52 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
53 |
\newcommand{\typ}[1]{\lstinline{#1}} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
54 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
55 |
\newcommand{\kwrd}[1]{ \texttt{\textbf{\color{blue}{#1}}} } |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
56 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
57 |
% Title page |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
58 |
\title{Your Title Here} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
59 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
60 |
\author[FOSSEE] {FOSSEE} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
61 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
62 |
\institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
63 |
\date{} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
64 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
65 |
% DOCUMENT STARTS |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
66 |
\begin{document} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
67 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
68 |
\begin{frame} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
69 |
\maketitle |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
70 |
\end{frame} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
71 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
72 |
\begin{frame}[fragile] |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
73 |
\frametitle{Outline} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
74 |
\begin{itemize} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
75 |
\item |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
76 |
\end{itemize} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
77 |
\end{frame} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
78 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
79 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
80 |
%% All other slides here. %% |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
81 |
%% The same slides will be used in a classroom setting. %% |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
82 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
83 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
84 |
\begin{frame}[fragile] |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
85 |
\frametitle{Summary} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
86 |
\begin{itemize} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
87 |
\item |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
88 |
\end{itemize} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
89 |
\end{frame} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
90 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
91 |
\begin{frame} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
92 |
\frametitle{Thank you!} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
93 |
\begin{block}{} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
94 |
\begin{center} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
95 |
This spoken tutorial has been produced by the |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
96 |
\textcolor{blue}{FOSSEE} team, which is funded by the |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
97 |
\end{center} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
98 |
\begin{center} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
99 |
\textcolor{blue}{National Mission on Education through \\ |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
100 |
Information \& Communication Technology \\ |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
101 |
MHRD, Govt. of India}. |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
102 |
\end{center} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
103 |
\end{block} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
104 |
\end{frame} |
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
105 |
|
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
106 |
\end{document} |