-
Notifications
You must be signed in to change notification settings - Fork 0
/
icclab-test.tex
executable file
·245 lines (180 loc) · 5.04 KB
/
icclab-test.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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
\documentclass{beamer}
%===============================================================%
\mode<presentation> %use <handout> for handout mode
{
\usetheme[compress, icclabt, numbers]{icclab}
\usefonttheme[onlymath]{serif}
% \useoutertheme{infolines}
\setbeamercovered{transparent}
}
\usepackage[english]{babel}
\beamerdefaultoverlayspecification{<+->}
\usepackage{mathptmx}
\usepackage{helvet}
\usepackage{courier}
\usepackage[T1]{fontenc}
\usepackage{trajan}
%===============================================================%
\title[BGP-Primer]
{Test Presentation}
\subtitle
{a brief primer on ICCLab}
\author[Harsh]{Piyush Harsh}
\institute
{
Institute of Applied Information Technology
}
\date[04.10.2014]
{Apr. 10, 2014}
\subject{ICCLab:Internal}
\begin{document}
% Comment out the following to remove the header & footer from the title page
\thispagestyle{empty}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents
\end{frame}
\section{Introduction}
%\subsection{you can add subsection}
\begin{frame}{Things I will say}
I will tell you...
\begin{itemize}
\item things,
\item stuffs,
\item and \alert{others}.
\end{itemize}
\end{frame}
\section{Simple Stuffs}
\subsection{Blocks}
\begin{frame}{Say it with Blocks}
\begin{block}<+->{Block}
This is a block environment.
\end{block}
\begin{example}
This is an example block environment.
\end{example}
\begin{alertblock}{Alert Block}
This is an alert block environment.
\end{alertblock}
\end{frame}
\subsection{Equations}
\begin{frame}{Say it with Equations}
\begin{equation}
f(x) = \frac{1}{{\sigma \sqrt {2\pi } }}e^{{{ - \left( {x - \mu } \right)^2 } \mathord{\left/ {\vphantom {{ - \left( {x - \mu } \right)^2 } {2\sigma ^2 }}} \right. \kern-\nulldelimiterspace} {2\sigma ^2 }}}
\end{equation}
\vspace*{.5cm}
You can put equations into block environment.
\vspace*{.5cm}
\begin{block}<+->{Gaussian Distribution}
\begin{equation}
f(x) = \frac{1}{{\sigma \sqrt {2\pi } }}e^{{{ - \left( {x - \mu } \right)^2 } \mathord{\left/ {\vphantom {{ - \left( {x - \mu } \right)^2 } {2\sigma ^2 }}} \right. \kern-\nulldelimiterspace} {2\sigma ^2 }}}
\end{equation}
\end{block}
\end{frame}
\section{Advanced Stuffs}
\subsection{Figure}
\begin{frame}{Say it with Figures}
\begin{figure}
\scalebox{0.7}
{
\includegraphics{examplefig}
}
\end{figure}
\end{frame}
\subsection{Tables}
\begin{frame}{Say it with Tables}
%------- Begin LaTeX code -------%
{\footnotesize
\def\sep{0.5em}
\def\fns{\footnotesize}
\def\onepc{$^{\ast\ast}$} \def\fivepc{$^{\ast}$}
\def\tenpc{$^{\dag}$}
\def\legend{\multicolumn{3}{l}{\footnotesize{Significance levels
:\hspace{1em} $\dag$ : 10\% \hspace{1em}
$\ast$ : 5\% \hspace{1em} $\ast\ast$ : 1\% \normalsize}}}
\begin{table}[htbp]\centering
\caption{Estimation results : regress
\label{tabresult regress}}
\begin{tabular}{l r @{} l }\hline\hline
\multicolumn{1}{c}
{\textbf{Variable}}
& \textbf{Coefficient} \\& \fns{(Std. Err.)} \\ \hline
mpg & -292.434&\onepc \\ & \fns{(60.227)} &\\[\sep]
foreign & 1023.208& \\ & \fns{(866.086)} &\\[\sep]
Intercept & 10586.485&\onepc \\ & \fns{(1555.745)} &\\[\sep]
\hline
\multicolumn{3}{c}{}\\
\hline N & \multicolumn{2}{c}{69}\\
R$^{2}$ & \multicolumn{2}{c}{0.267}\\
F $ _{(3,65)}$ & \multicolumn{2}{c}{7.88}\\
\hline
\end{tabular}
\end{table}
}
%------- End LaTeX code -------%
\end{frame}
\subsection{Game Trees}
\begin{frame}{Say it with Game Trees}
\begin{beamercolorbox}[sep=0.5em]{block title}
Transition Game from Przeworski (1991)
\end{beamercolorbox}
\vspace*{.5cm}
\footnotesize
\begin{figure}
\begin{center}
\begin{picture}(400,130)
\put(125,148){\bf{Reformers}}
\put(150,140){\circle*{6}}
\put(150,140){\vector(-1,-1){50}}
\put(90,120){ \textit{ally with} }
\put(80,110){ \textit{ Hardliners } }
\put(90,80){$ 2, ~ 1$}
\put(70,70){\alert{Status Quo}}
\put(70,60){\alert{Autocracy}}
\pause
\put(150,140){\line(1,-1){50}}
\put(175,120){\textit{negotiate with Moderates }}
\pause
\put(196,97){\bf{Moderates }}
\put(200,90){\circle*{6}}
\put(200,90){\vector(-1,-1){50}}
\put(160,73){\textit{give}}
\put(130,63){\textit{guarantees}}
\put(140,25){$ 4, ~3 $}
\put(120,15){ \alert{Democracy } }
\put(110,5){ \alert{ with guarantee } }
\pause
\put(200,90){\vector(1,-1){50}}
\put(225,63){\textit{no guarantees}}
\put(250,25){$ 1, ~4$}
\put(230,15){ \alert{Democracy } }
\put(220,5){ \alert{ without guarantee } }
\end{picture}
\end{center}
\end{figure}
%------- End LaTeX code -------%
\end{frame}
\section{Conclusion}
\subsection{more stuffs}
\begin{frame}
\frametitle{Things I have said}
\onslide<1>
\LaTeX~is cool.
\onslide<2>
How cool?
\onslide<3>
Very cool.
\begin{itemize}
\onslide<2-3>
\item You can control which elements to be visible at each time.
\onslide+<3->
\item \alert{So, create a cool presentation with \LaTeX~and beamer!}
\end{itemize}
\vspace*{1.5cm}
\onslide
Your feedback is much appreciated: \href{mailto:daina.chiba@gmail.com}{\texttt{daina.chiba@gmail.com}}
\end{frame}
\end{document}