add code/_ReadMe. Clean latex/ folder
[ppam-mpi.git] / latex / slides / startdoc.tex
CommitLineData
81923e5c
BA
1\documentclass[xcolor=dvipsnames,pdftex,12pt]{beamer}
2
3\usepackage{hyperref}
4\usepackage{colortbl}
5\usepackage[french]{babel}
6\usepackage[utf8]{inputenc}
7\usepackage{amsmath,amsfonts,amssymb}
8\usepackage{bbold,dsfont}
9\usepackage{theorem}
10\usepackage{wrapfig}
11\usepackage{graphics}
12\usepackage{xcolor}
13%\usepackage{times}
14\usepackage{bm}
15\usepackage{stmaryrd}
16\usepackage{dashundergaps}
17
18\graphicspath{ {./pics/} }
19
20\definecolor{vert}{RGB}{0,139,0}
21\definecolor{violet}{RGB}{74,0,255}%{102,0,204}
22\definecolor{gris}{RGB}{100,100,100}
23\definecolor{ebgreen}{RGB}{230,243,230}
24\newcommand{\blue}{\textcolor{blue}}
25\newcommand{\red}{\textcolor{red}}
26\newcommand{\green}{\textcolor{vert}}
27\newcommand{\violet}{\textcolor{violet}}
28
29\hypersetup{
30 colorlinks,
31 linkcolor=black,
32 urlcolor=violet,
33% hrefcolor=violet
34}
35
36\usepackage{listings}
37
38%\usepackage{minted}
39% \begin{minted}{c}
40% int main() {
41% printf("hello, world");
42% return 0;
43% }
44% \end{minted}
45
46\usepackage{textcomp}
47%\usepackage{bera}
48\definecolor{listinggray}{gray}{0.9}
49\definecolor{lbcolor}{rgb}{0.9,0.9,0.9}
50\lstset{
51 backgroundcolor=\color{lbcolor},
52 tabsize=4,
53 rulecolor=,
54 language=SQL,
55 basicstyle=\scriptsize,
56 upquote=true,
57 %aboveskip={1.5\baselineskip},
58 columns=fixed,
59 showstringspaces=false,
60 extendedchars=true,
61 breaklines=true,
62 prebreak = \raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}},
63 frame=single,
64 showtabs=false,
65 showspaces=false,
66 showstringspaces=false,
67 identifierstyle=\ttfamily,
68 keywordstyle=\color[rgb]{0,0,1},
69 commentstyle=\color[rgb]{0.133,0.545,0.133},
70 stringstyle=\color[rgb]{0.627,0.126,0.941},
71 escapeinside=""
72}
73
74\newcommand{\cC}{{\cal C}}
75\newcommand{\cF}{{\cal F}}
76\newcommand{\cH}{{\cal H}}
77\newcommand{\cM}{{\cal M}}
78\newcommand{\cO}{{\cal O}}
79\newcommand{\cP}{{\cal P}}
80\newcommand{\cU}{{\cal U}}
81\newcommand{\cV}{{\cal V}}
82\newcommand{\cS}{{\cal S}}
83\newcommand{\cX}{{\cal X}}
84\newcommand{\cY}{{\cal Y}}
85\newcommand{\cZ}{{\cal Z}}
86
87\newcommand{\N}{\mathbb{N}}
88\newcommand{\R}{\mathbb{R}}
89\newcommand{\C}{\mathbb{C}}
90\newcommand{\E}{\mathbb{E}}
91\newcommand{\M}{\mathbb{M}}
92\newcommand{\Z}{\mathbb{Z}}
93\newcommand{\Prob}{\mathbb{P}}
94\newcommand{\esp}{\thinspace}
95\newcommand{\1}{\mathbb{1}}
96\newcommand{\puiss}{e\thinspace \mbox{\small -}}
97\newcommand{\tr}{{}^t \negthinspace}
98
99\usetheme{Boadilla}%{Frankfurt}{Madrid}
100\setbeamertemplate{navigation symbols}{}
101
102%~ \setbeamercolor{section in head/foot}{fg=white, bg=black}
103%~
104%~ \makeatletter
105%~ \setbeamertemplate{footline}
106%~ {
107 %~ \leavevmode%
108 %~ \hbox{%
109 %~ \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{section in head/foot}%
110 %~ \usebeamerfont{author in head/foot}\insertshortauthor~~\beamer@ifempty{\insertshortinstitute}{}{(\insertshortinstitute)}
111 %~ \end{beamercolorbox}%
112 %~ \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{section in head/foot}%
113 %~ \usebeamerfont{title in head/foot}\insertshorttitle
114 %~ \end{beamercolorbox}%
115 %~ \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{section in head/foot}%
116 %~ \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
117 %~ \insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
118 %~ \end{beamercolorbox}}%
119 %~ \vskip0pt%
120%~ }
121%~ \makeatother
122
123\AtBeginSection[]{
124\begin{frame}
125 \tableofcontents[currentsection]
126\end{frame}
127}
128
129\AtBeginSubsection[]{
130\begin{frame}<beamer>
131 \tableofcontents[currentsubsection]
132\end{frame}
133}