You are here

A Ready-made Beamer Presentation Template

In this article, a beamer template is provided which can be used as is or with minimum modification. Beamer is used among the scientific community to produce beautiful and fancy presentations where the content is predominantly mathematical. Powerpoint is perhaps better suited for non-mathematical presentations, whereas beamer shines where there is math!

Here is a ready-made beamer presentation template for your use.

Please copy the following codes and paste it in your favorite TeX processor (for example, WinEdt).

Change log:
December 19, 2009: First published.
May 2, 2010: Added the codes for writing bibliography into the tex file.

COPY the following code or download it from the bottom of this article.

\documentclass{beamer}
\usetheme{Madrid} % My favorite!
%\usetheme{Boadilla} % Pretty neat, soft color.
%\usetheme{default}
%\usetheme{Warsaw}
%\usetheme{Bergen} % This template has nagivation on the left
%\usetheme{Frankfurt} % Similar to the default 
%with an extra region at the top.
%\usecolortheme{seahorse} % Simple and clean template
%\usetheme{Darmstadt} % not so good
% Uncomment the following line if you want %
% page numbers and using Warsaw theme%
% \setbeamertemplate{footline}[page number]
%\setbeamercovered{transparent}
\setbeamercovered{invisible}
% To remove the navigation symbols from 
% the bottom of slides%
\setbeamertemplate{navigation symbols}{} 
%
\usepackage{graphicx}
%\usepackage{bm}         % For typesetting bold math (not \mathbold)
%\logo{\includegraphics[height=0.6cm]{yourlogo.eps}}
%
\title[Short title of the talk]{Beautiful Presentation using Beamer}
\author{Name of the Speaker}
\institute[U of X]
{
University of [...] \\
\medskip
{\emph{email@domain.ca}}
}
\date{\today}
% \today will show current date. 
% Alternatively, you can specify a date.
%
\begin{document}
%
\begin{frame}
\titlepage
\end{frame}
%
\begin{frame}
\frametitle{Motivation}
\begin{block}
{Why Beamer?}
Does anybody need an introduction to Beamer? I don't think so.
\end{block}
\end{frame}
%
\begin{frame}
\frametitle{Example of a Theorem}
\begin{theorem}
The quick brown fox jumps over the lazy dog.
\end{theorem}
\end{frame}
%
\begin{frame}[fragile] % Notice the [fragile] option %
\frametitle{Verbatim}
\begin{example}[Putting Verbatim]
\begin{verbatim}
\begin{frame}
\frametitle{Outline}
\begin{block}
{Why Beamer?}
Does anybody need an introduction to Beamer?
I don't think so.
\end{block}
% Extra carriage return causes problem with verbatim %
\end{frame}\end{verbatim} 
\end{example}
\end{frame}
 
\begin{frame}[fragile]  % notice the fragile option, since the body
			% contains a verbatim command
Example of the \verb|\cite| command to give a reference is below:
Example of citation using \cite{key1} follows on.
\end{frame}
 
\begin{frame}
\frametitle{References}
\footnotesize{
\begin{thebibliography}{99}
 \bibitem[Label1, 2010]{key1} Author's name (1987)
 \newblock Title of the paper.
 \newblock \emph{Journal Name} 55(4), 765 -- 799.
\end{thebibliography}
}
\end{frame}
 
\begin{frame}
\centerline{The End}
\end{frame}
% End of slides
\end{document} 

UPDATE

Category: 
AttachmentSize
beamer_template.tex2.66 KB

Comments

There are other ways to process LaTeX file in Windows. Emacs and XEmacs -based solutions are also available. However, WinEdt is probably easier of them. Please write about other software available today.

Hi Riffat,

I find these posts very useful. Thanks a lot.

Can you give me some template for placing tables in the presentation.
I normally make the tables in Excel and then export it in Latex using an Adon. Howver I can not control the size of the table in beamer environment.

Naeem bajwa

Hello

Here is an example of a 2x2 table with the center-aligned columns:

\begin{table}
 \caption{Caption of your table}
\begin{tabular}{cc}
 Col 1 & Col 2 \\
\hline
100 & 200 \\
300 & 400 \\
\hline
\end{tabular}
\end{table}

If you want vertical separators between the columns, just change {cc} to {|c|c|}

Hope this helps.

Thanks, but my problem is how to control the size of the table so that it fits within the area i want. meaning adjusting the scale/size.

I use following and the table is half out of the slide frame

\begin{frame}
\begin{table}
 
\begin{tabular*}{16cm}[t] {|c|r|r|r|r|r|r|r|r|r|}
\hline
 
\multicolumn{ 1}{|c|}{} & \multicolumn{5}{|c|}{ } &                \multicolumn{ 4}{|c|}{{\bf $\gamma_{i,t}$}} \\
\hline
\multicolumn{ 1}{|c|}{{\bf $i$}} &    {\bf $C_i$} &    {\bf $h_i$} &    {\bf $Y_i$} & {\bf $\beta_i$} & {\bf $\alpha_i$} & {\bf $t = 1$} & {\bf $t = 2 $} & {\bf $t = 3$} & {\bf $t = 4$} \\
 
\hline
   {\bf 1} &         50 &          2.0 &        0.10 &       1.61 &       3000 &        0.20 &        0.20 &        0.30 &        0.30 \\
\hline
   {\bf 2} &         60 &          3.0 &       0.12 &       1.15 &       2000 &        0.20 &       0.25 &       0.25 &        0.30 \\
\hline
   {\bf 3} &         70 &          2.0 &       0.11 &        1.30 &       2300 &        0.20 &        0.20 &       0.25 &       0.35 \\
\hline
 
\end{tabular*}
\caption{Problem parameters}  
\label{Table_parameters}
\end{table}
 
\end{frame}

That is a common issue with table in latex/beamer. However, you may try reducing the font-size and see if that fits the table within the frame.

Try this:

{ \footnotesize
\begin{table}
.
.
\end{table}
}

or

{\tiny
\begin{table}
.
.
\end{table}
}

or

{ \small
\begin{table}
.
.
\end{table}
}

You can also define your own font-size (other than tiny, small, or footnotesize), which I don't remember right now. Let me know if any one of the above doesn't work for you.

Hi Rifat,

Thanks a lot for your help. Just a question concerning the font: how to obtain font with serf for equation and font without serif for text?

Hi, As far as I know, in the default beamer templates, the text font and the math font look the same with a subtle difference only. I do not know of any way to make the difference look bigger. You may try with roman font. For customizing font with latex, you may have a look at this webpage.

Really great post... thanks a lot