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

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.  

Why use shopify?

Are you looking to setup an online store? You can setup your store and you can start selling in a week. There are many platforms available to use but Shopify is easiest, reliable and SEO friendly.   Not familiar with Shopify ? It is a great way to sell tour products, without worrying about managing a server, payment gateways, etc. as for a small monthly fee everything is included.  Click here to create a free trial store and start exploring. 

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...