# Beamer (Presentation in LaTeX)

Beamer in LaTeX can be described as a strong and adaptable class in LaTeX that makes the presentations better. The tutorial below explains beamer, its importance and different features along with a table of contents, numbered and bulleted lists and list with columns and mini pages.

## What is Beamer?

Beamer in LaTeX helps us creating slides for presentations by supporting pdfLaTeX and LaTeX + dvips. The command \documentclass{beamer} is used to declare the beamer slideshow. The customary commands of LaTeX still work as in \tableofcontents create a table of contents, etc. A beamer can overlay and easily create effects and can amend the appearance of presentations using themes. The layout, colours and fonts used in a presentation can be changed globally by making sure that the detailing remains same. The final output that comes after compiling is always a pdf presentation which is highly portable and safe.


\documentclass{beamer}
\usepackage[utf8]{inputenc}
\title{Beamer Presentation}
\author{}
\institute{}
\date{}
\begin{document}
\frame{\titlepage}
\begin{frame}
\frametitle{Presentation next slide}
This text is put in the first frame. This is an example of beamer.
\end{frame}
\end{document}


### Output of the code above

Beamer offers handy and convenient features to make the presentation better. Some of them can be explained below:

## 1. Title Page:

Some of the options for a title to look better that are presented in the introduction. The code above uses the command title that is \title{Beamer Presentation}. The title should be between the braces. We can also use \subtitle{} for giving subtitle to the title in the presentation. Few other optional commands can be given are \author{} used to specify the user’s name or the name of any other author, \institute{} used to specify the institution or organisation, \date{} used to mention the date and \logo{ \includegraphics...} is used to include the graphics that includes putting the logo at a position.

## 2. Colour and Themes:

For setting a theme we use the command \usetheme{} and the name of the theme is put between the braces. This command is used with the \usecolortheme{} which is put before the \usetheme{} command describing the colour of the theme.
For more themes, check out the beamer theme gallery

## 3. Fonts:

Fonts used in a presentation can be altered in size and their type. The size of the font can be passed as a parameter to the beamer class and the font theme can be put in two ways, either a font theme can be directly used with the help of \usefonttheme{} command or it can be imported to the system by using a package.

## 4. Columns:

For the presentation of the information that we are giving can be given in a two – column format. We use the columns environment and the commands \begin{column} and \end{column}. The width of the columns can be declared with the code \column{0.5\textwidth}.

The best way to make a good structure of presentation is by using table of contents which can be done by the use of sections and subsections.


\documentclass{beamer}
\usetheme{Antibes}
\begin{document}
\begin{frame}
\tableofcontents\end{frame}
\section{Features}
\begin{frame}{This is frame for features}
...
\end{frame}
\section{Importance}
%Contents with current section highlighted
\frame{\tableofcontents[currentsection]}
\begin{frame}{This is frame for importance}
...
\end{frame}
\end{document}



## Enumerate (numbered list):

This feature is used to put a numbered list in the presentation for putting the details in an order.


\documentclass{beamer}
\usetheme{Antibes}
\begin{document}
\begin{frame}{Enumerate}
\begin{enumerate}
\item{ONE}
\item{TWO}
\item{THREE}
\end{enumerate}
\end{frame}
\end{document}


## Itemize (bulleted list):

This is used to put a bulleted list where the items are not in an order in a presentation.


\documentclass{beamer}
\usetheme{Antibes}
\begin{document}
\begin{frame}{Itemize}
\begin{itemize}
\item{ONE}
\item{TWO}
\item{THREE}
\end{itemize}
\end{frame}
\end{document}



## List with columns:

This is used for making presentation better by keeping a picture beside a list for pictorial as well as structural demonstration of a subject or a particular topic. This helps in detailed understanding.


\documentclass{beamer}
\usetheme{Antibes}
\begin{document}
\begin{frame}{Side-by-side figure/table/text with columns}
\begin{columns}
\begin{column}[C]{.45\textwidth}
\rule{\textwidth}{0.75\textwidth}
\end{column}
\begin{column}[C]{.45\textwidth}
\begin{enumerate}
\item{importance}
\item{figures}
\item{features}
\end{enumerate}
\end{column}
\end{columns}
\end{frame}
\end{document}



## List with a mini page:

This is used for making presentation better by keeping a mini page beside a list so that the user can refer to the page for understanding a topic which will be provided beside. This helps in detailed understanding.


\documentclass{beamer}
\usetheme{Antibes}
\begin{document}
\begin{frame}{Side-by-side figure/table/text with minipage}
\begin{minipage}{0.45\textwidth}
\rule{\textwidth}{0.75\textwidth}
\end{minipage}
\begin{minipage}{0.45\textwidth}
\begin{enumerate}
\item{importance}
\item{figures}
\item{features}
\end{enumerate}
\end{minipage}
\end{frame}
\end{document}



### Output of the code above

If you are finding Formatting document using LaTeX difficult, no worries, just send us your document and Get it formatted according guidlines.