-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.tex
66 lines (52 loc) · 1.5 KB
/
example.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
\documentclass{beamer}
\input{tutorial_preamble}
\begin{document}
\begin{frame}[fragile]
\frametitle{Title of the Slide}
\begin{itemize}
\item point 1
\begin{itemize}
\item point 1.a
\begin{itemize}
\item point 1.a.i
\item point 1.a.ii
\end{itemize}
\item point 1.b
\end{itemize}
\item point 2
\end{itemize}
\end{frame}
\begin{frame}[fragile]
\frametitle{Code Segment}
\begin{lstlisting}[basicstyle=\footnotesize]
for (remoteCount = 0; remoteCount < 6; remoteCount++) {
when updateGhosts[i](int i, int d, int w, int h, double b[w*h])
serial { updateBoundary(d, w, h, b); }
}
\end{lstlisting}
\end{frame}
\begin{frame}[fragile]
\frametitle{Column Layout w/image}
\begin{columns}
\begin{column}{0.6\textwidth}
\begin{itemize}
\item Overlap can be used to get back some of the asynchrony within a chare
\begin{itemize}
\item But it is constrained
\item Makes for more disciplined programming,
\begin{itemize}
\item with fewer race conditions
\end{itemize}
\end{itemize}
\end{itemize}
\end{column}
\begin{column}{0.4\textwidth}
\includegraphics[width=0.8\textwidth]{classSlides/diagrams/overlapFlow.png}
\end{column}
\end{columns}
\end{frame}
\begin{frame}[fragile]
\frametitle{Code Segment from File}
\lstinputlisting[basicstyle=\tiny,linerange={22-49}]{classSlides/code/jacobi3dSYNC.ci}
\end{frame}
\end{document}