Skip to main content

How to make a presentation with LaTeX / TeX / Beamer

Here we will see how we can create a presentation using LaTeX / TeX / Beamer. LaTeX is a newer version of TeX. Beamer is a special class of LaTeX used to create presentations.

The options available with beamer and Latex make it a very powerful combination for making professional presentations. We start with a simple example. Here is the code for a simple presentation

\documentclass{beamer}
\usetheme{Frankfurt}
\title{How to make a presentation using Beamer/ \LaTeX2e  ?}
\author{Gappu}
\institute{http://tech-gupshup.blogspot.co.uk/}
\date{July, 2012}
\begin{document}

\begin{frame}
\titlepage
\end{frame}


\begin{frame}{Introduction}
Beamer class is used to make presentations using \LaTeX. Like any \LaTeX document you can create it with any text editor. 
\end{frame}

\begin{frame}{Features of \textbf{Beamer}}
\begin{itemize}
 \item \textbf{Beamer} is used to make presentations 
 \item It allows to add animations
 \item you can embed images, videos , sounds and other media
\item It also has option to print handouts
\end{itemize} 
 \end{frame}
\begin{frame}{Basics}
\begin{itemize}
\item Document type for presentation id \textbf{beamer}
\item each slide is inclosed in \textbf{frame}
\item \LaTeX Code within frame is same as in any \LaTeX  document
\end{itemize} 
 \end{frame}
\begin{frame}{What Next?}
\begin{itemize}
\item This is your basic \textbf{beamer} presentation
\item save it in a .tex file and apply pdfLaTeX 
\item Enjoy presentation and read more tutorials to learn advanced techniques 
\end{itemize} 
 \end{frame}
\end{document}

Preamble

\documentclass{beamer}
Set document type beamer to tell LaTeX compiler that it is a beamer presentation
\usetheme{Frankfurt}
Set theme to Franfurt. A full list of themes is available here.
\title{How to make a presentation using Beamer/ \LaTeX2e  ?}
\author{Gappu}
\institute{http://tech-gupshup.blogspot.co.uk/}
\date{July, 2012}
Set title, author institute and date of presentation.

Body

Body of presentation is enclosed in 
\begin{document}
\end{document}
Each slide is enclosed in
\begin{frame}
\end{frame}
Here is the code for first slide
\begin{frame}
\maketitle
\end{frame}
in this slide \maketitle is used to make title slide using title, author institute and date we gave in preamble

Comments

  1. "Very helpful guide! Using LaTeX for presentations ensures clean formatting and professional design—Beamer is a great tool. Thanks for sharing the steps clearly."

    best regards

    monitors that can go vertical,

    ReplyDelete

Post a Comment

Popular posts from this blog

How to add JCalendar/ date chooser to WindowBuilder, for Swing GUI in Java?

WindowBuilder is most popular eclipse plugin for drag and drop GUI design. It supports SWT and Swing. Swing does not have a date chooser component of its own. But there are many components available that you can use. My personal favourite is JCalendar . You can add JCalendar components to your WindowBuilder  palette  by following these instructions. Download and extract JCalendar.  Right-click on the palette   in WindowBuilder Select jar file of Jcalendar select all componetnts Restart Eclipse. Now you will see JCalendar components in your  palette . For more information about  visit this page.  

Loading data in MySQL Table from a Text File

There are many situation when we need to load some text data into a table. In this post I will tell you some simple steps to load Data into a MySQL table from a text File . First of all data should be in proper format Fields/ Columns should be separated by some character like space, tab or comma etc. Rows /Records/ Lines should be separated by some character like "\r\n" if there is one record per line. If data is Enclosed using some character it should be same for all columns. Create a Table in MySQL to hold data. Use LOAD DATA command to load data into the Table. Example: I have following data saved in a file c:\sample.txt "http://dbpedia.org/resource/AfghanistanHistory" "http://www.w3.org/2000/01/rdf-schema#label" "AfghanistanHistory" "http://dbpedia.org/resource/AfghanistanGeography" "http://www.w3.org/2000/01/rdf-schema#label" "AfghanistanGeography" "http://dbpedia.org/resource/Access...

Find and remove duplicate files in Ubuntu / Mint Linux

If you have accumulated thousands of files , some times you will have more than one versions of same file. If you use Ubuntu of Mint linux you can find and remove these duplicates very easily. There are two popular tools for this fdupes and fslint Using fdubes ftubes is the most popular, simple and powerful tool to find duplicates and remove them. It is a command line tool so if you don't like command line move to next heading. It compares file size  and MD5 signatures(Do not worry if you don't know what it is). So it will find duplicates even if they have different names. Installation From terminal execute following command  sudo apt-get install fdupes ftubes Syntax fdupes [options] directory where  options available are -r --recurse include files residing in subdirectories -s --symlinks follow symlinked directories -H --hardlinks normally, when two or more files point to the same disk area they are treated as non-duplicates; this ...