0% found this document useful (0 votes)
34 views43 pages

Phpapp01

The document discusses LaTeX and Beamer for presentations. It provides an introduction to LaTeX including what it is, why it should be used and available editors. It also covers how LaTeX works, document classes and syntax. The document contains detailed information on various topics related to LaTeX and Beamer.

Uploaded by

sevyn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views43 pages

Phpapp01

The document discusses LaTeX and Beamer for presentations. It provides an introduction to LaTeX including what it is, why it should be used and available editors. It also covers how LaTeX works, document classes and syntax. The document contains detailed information on various topics related to LaTeX and Beamer.

Uploaded by

sevyn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 43

INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX AND BEAMER


FOR BEGINNERS

Tilak D (1MS11EC117)
Harish A J (1MS11EC048)
Department of Electronics and Communication
M S Ramaiah Institute of Technology
February 5, 2014

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 1
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX INTRODUCTION

What is LATEX?

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 2
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX INTRODUCTION

What is LATEX?
ä Document Preparation System
ä Document Markup Language
Further information : http://en.wikipedia.org/wiki/LaTeX

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 2
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX INTRODUCTION

What is LATEX?
ä Document Preparation System
ä Document Markup Language
Further information : http://en.wikipedia.org/wiki/LaTeX
Why should I use LATEX?

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 2
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX INTRODUCTION

What is LATEX?
ä Document Preparation System
ä Document Markup Language
Further information : http://en.wikipedia.org/wiki/LaTeX
Why should I use LATEX?
ä Quality and Customizing
ä Math Mode
ä Compatibility and Stability
ä Open Source and Virus-free
ä Document Size
Further information : http://tex.stackexchange.com/questions/1756/why-should-i-use-latex

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 2
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX INTRODUCTION

What is LATEX?
ä Document Preparation System
ä Document Markup Language
Further information : http://en.wikipedia.org/wiki/LaTeX
Why should I use LATEX?
ä Quality and Customizing
ä Math Mode
ä Compatibility and Stability
ä Open Source and Virus-free
ä Document Size
Further information : http://tex.stackexchange.com/questions/1756/why-should-i-use-latex
TEX Editors and their Download Links:

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 2
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX INTRODUCTION

What is LATEX?
ä Document Preparation System
ä Document Markup Language
Further information : http://en.wikipedia.org/wiki/LaTeX
Why should I use LATEX?
ä Quality and Customizing
ä Math Mode
ä Compatibility and Stability
ä Open Source and Virus-free
ä Document Size
Further information : http://tex.stackexchange.com/questions/1756/why-should-i-use-latex
TEX Editors and their Download Links:
There are a variety of editors designed to work with TEX.
Some are : TexLive, TexStudio, Winedt, TexMaker, etc..
ä TexLive (Freeware): http://www.tug.org/texlive/acquire-iso.html
ä Winedt (Freeware/Paid): http://www.winedt.com/download.html
ä TexStudio (Freeware): http://texstudio.sourceforge.net/
ä TexMaker (Freeware): http://www.xm1math.net/texmaker/download.html
Installation Guide or to Download other Editors: google.com

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 2
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX working and its Syntax

How does LATEX work?

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 3
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX working and its Syntax

How does LATEX work?

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 3
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX working and its Syntax

How does LATEX work?

ä Reads in text
ä Creates a DVI file
Function of DVI file.
ä Encodes information on the fonts
ä Positioning of the characters
ä Translate the DVI file into page description
languages
ä Document Preview
Further info on Compilation Process refer:
http://tex.stackexchange.com/questions/3274/latex-architecture-how-does-it-all-work

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 3
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX working and its Syntax

How does LATEX work?

ä Reads in text
ä Creates a DVI file
Function of DVI file.
ä Encodes information on the fonts
ä Positioning of the characters
ä Translate the DVI file into page description
languages
ä Document Preview
Further info on Compilation Process refer:
http://tex.stackexchange.com/questions/3274/latex-architecture-how-does-it-all-work

Syntax
ä Document Class
ä Packages
ä Themes in case of BEAMER
ä Defines and New commands
ä Begin Document
ä Input Text with suitable commands
ä End Document

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 3
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX Document class

Syntax of Document class


\documentclass[options]{class}

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 4
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX Document class

Syntax of Document class


\documentclass[options]{class}
Contents
ä class–Article, Beamer, Book, Slides...etc
ä options

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 4
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX Document class

Syntax of Document class


\documentclass[options]{class}
Contents
ä class–Article, Beamer, Book, Slides...etc
ä options
options in Article class
ä Font size (10pt, 11pt, 12pt)
ä Paper size and format (a4paper, letterpaper, etc.)
ä Draft mode (draft)
ä Multiple columns (onecolumn, twocolumn)
ä Landscape print mode (landscape)
ä Single- and double-sided documents (onepage, twopage).....etc.
options in Beamer class
Similar to Article class there are lot of options in Beamer.
8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt, 20pt,draft,handout,xcolor=x11names....etc
Further info:
http://texblog.org/2013/02/13/latex-documentclass-options-illustrated/
http://texblog.org/2008/01/21/create-your-slides-presentations-with-latex/
Similarly we can choose other options for other classes.......

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 4
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX Commands
Two types of Commands: 1)Inbuilt 2)Custom

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 5
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX Commands
Two types of Commands: 1)Inbuilt 2)Custom
Inbuilt Commands
There are many inbuilt Commands, some of them are:
ä \author–declares the author(s)
ä \caption–generate caption for figures and tables
ä \color–Specifies color of the text
ä \footnote–Creates a footnote
ä \include–This command is different from \input in that it’s the output that is added instead of the commands
from the other files.
Similarly there are n number of inbuilt commands.....
Further information on inbuilt Commands follow the below url’s
http://en.wikibooks.org/wiki/LaTeX/Command_Glossary
http://www.stat.pitt.edu/stoffer/freetex/latex%20commands.pdf

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 5
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

LATEX Commands
Two types of Commands: 1)Inbuilt 2)Custom
Inbuilt Commands
There are many inbuilt Commands, some of them are:
ä \author–declares the author(s)
ä \caption–generate caption for figures and tables
ä \color–Specifies color of the text
ä \footnote–Creates a footnote
ä \include–This command is different from \input in that it’s the output that is added instead of the commands
from the other files.
Similarly there are n number of inbuilt commands.....
Further information on inbuilt Commands follow the below url’s
http://en.wikibooks.org/wiki/LaTeX/Command_Glossary
http://www.stat.pitt.edu/stoffer/freetex/latex%20commands.pdf
Custom Command
\newcommand{command name}[narg ][opt]{def }
ä narg–Number of arguments to the command (optional)
ä opt–Specify optional arguments (optional)
ä def–The denition of the new command.
Examples:\newcommand{\bsl }{$\backslash$}—Now we can typeset a backslash using just \bsl .
Similarly there are n number of custom commands..... Further information on custom Commands follow the below
url’s
http://www.cs.usask.ca/documents/LaTeX/macros.pdf
Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 5
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

PACKAGES
Packages and their need:
ä Many people have built their own commands and made them available to LATEXusers in packages.
ä Packages allow us to use extra commands without having to include tons and tons of code in the preamble of a
document.

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 6
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

PACKAGES
Packages and their need:
ä Many people have built their own commands and made them available to LATEXusers in packages.
ä Packages allow us to use extra commands without having to include tons and tons of code in the preamble of a
document.
Syntax for including Package
\usepackage[option]{package name}

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 6
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

PACKAGES
Packages and their need:
ä Many people have built their own commands and made them available to LATEXusers in packages.
ä Packages allow us to use extra commands without having to include tons and tons of code in the preamble of a
document.
Syntax for including Package
\usepackage[option]{package name}
Commonly used Packages
ä amsmath – It has a set of tailored matrix environments
ä geometry – It controls the overall margins, and text area
ä graphicx – It introduces the\includegraphics command, which is needed for inserting figures.
ä beamerposter – It introduces nice color box handling and alignment in the beamer class.
ä xcolor – Driver-independent color and access to different kinds of color specifications.
ä siunitx – Comes in handy when units and numbers are a big part of the writing.
ä hyperref – Can add hyperlinks to your pdf output.
ä booktabs – Tabulation
Similarly there are n number of packages that can simplify the job.....

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 6
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

PACKAGES
Packages and their need:
ä Many people have built their own commands and made them available to LATEXusers in packages.
ä Packages allow us to use extra commands without having to include tons and tons of code in the preamble of a
document.
Syntax for including Package
\usepackage[option]{package name}
Commonly used Packages
ä amsmath – It has a set of tailored matrix environments
ä geometry – It controls the overall margins, and text area
ä graphicx – It introduces the\includegraphics command, which is needed for inserting figures.
ä beamerposter – It introduces nice color box handling and alignment in the beamer class.
ä xcolor – Driver-independent color and access to different kinds of color specifications.
ä siunitx – Comes in handy when units and numbers are a big part of the writing.
ä hyperref – Can add hyperlinks to your pdf output.
ä booktabs – Tabulation
Similarly there are n number of packages that can simplify the job.....
Creating Packages
If you define a lot of new environments and commands, the preamble of your document will get quite long. In this
situation, it is a good idea to create a LaTeX package or class containing all your command and environment
definitions. It can be made dynamic enough to fit to all your future documents. For creating your custom package
refer:http://en.wikibooks.org/wiki/LaTeX/Creating_Packages
Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 6
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Beamer and its Themes

Beamer
ä LATEX document class
ä Creating slides
ä Presentations
ä Header:\documentclass[options]{beamer }
ä Advantages:
ã Overlays and dynamic effects
ã Appearance of your presentation
ã Presentation is in PDF format
ä User Guide: http://www.tex.ac.uk/ctan/macros/latex/contrib/beamer/doc/beameruserguide.pdf

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 7
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Beamer and its Themes

Beamer
ä LATEX document class
ä Creating slides
ä Presentations
ä Header:\documentclass[options]{beamer }
ä Advantages:
ã Overlays and dynamic effects
ã Appearance of your presentation
ã Presentation is in PDF format
ä User Guide: http://www.tex.ac.uk/ctan/macros/latex/contrib/beamer/doc/beameruserguide.pdf
Themes
\usetheme{theme name}
There are lot of themes and colors, some of the commonly used are:Antibes, Bergen, Berkeley, Frankfurt, Hannover,
Madrid, Warsaw.....etc
Further info:
For customizing the presentation content : http://en.wikibooks.org/wiki/LaTeX/Presentations
For customizing the presentation aesthtics: http://www.math.umbc.edu/~rouben/beamer/
For Themes :http://deic.uab.es/~iblanes/beamer_gallery/

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 7
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Elements in Document Block

Syntax
\begin{document}
Customize the document here.....
\end {document}

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 8
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Elements in Document Block

Syntax
\begin{document}
Customize the document here.....
\end {document}
Elements
Customizing the document can be done effectively using the below listed elements:
ä Blocks,Frames, Itemize, Enumerate, Verbatim
ä Allignment and Text Formating
ä Tabular Columns
ä Columns and Rows
ä Images
ä Videos
ä Math
ä Symbols
ä Sections, Subsections, Subsubsections...
ä Animations
ä And many others....

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 8
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Structures

Blocks
\begin{block}{Output}
Put your data here Output
Put your data here
\end {block}

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 9
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Structures

Blocks
\begin{block}{Output}
Put your data here Output
Put your data here
\end {block}
Itemize
\begin{itemize}
\ barrow Data1 Output
\ barrow Data2 ä Data1
\end {itemize} ä Data2

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 9
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Structures

Blocks
\begin{block}{Output}
Put your data here Output
Put your data here
\end {block}
Itemize
\begin{itemize}
\ barrow Data1 Output
\ barrow Data2 ä Data1
\end {itemize} ä Data2

Enumerate
\begin{enumerate}
\ item Data1 Output
\ item Data2 1. Data1
\end {enumerate} 2. Data2

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 9
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Structures

Blocks
\begin{block}{Output}
Put your data here Output
Put your data here
\end {block}
Itemize
\begin{itemize}
\ barrow Data1 Output
\ barrow Data2 ä Data1
\end {itemize} ä Data2

Enumerate
\begin{enumerate}
\ item Data1 Output
\ item Data2 1. Data1
\end {enumerate} 2. Data2

Verbatim
\begin{verbatim}
Type your program here Output
Type your program here
\end {verbatim}
NOTE: One structure can be included inside another.
Further Info:http://en.wikibooks.org/wiki/LaTeX/List_Structures

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 9
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Alignment and Text Formatting

Alignment
ä Alignment is the most important thing in Documenting,
ä Aligning can be done for tabular columnsa,videos,images,text....etc
ä Different alignments and info refer: http://en.wikibooks.org/wiki/LaTeX/Paragraph_Formatting
.

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 10
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Alignment and Text Formatting

Alignment
ä Alignment is the most important thing in Documenting,
ä Aligning can be done for tabular columnsa,videos,images,text....etc
ä Different alignments and info refer: http://en.wikibooks.org/wiki/LaTeX/Paragraph_Formatting
.

Text Formatting
ä Formatting refer to most things to do with appearance, so it makes the list of possible topics quite eclectic: text
style, spacing, etc.
ä LATEXis so flexible that we will actually only skim the surface, as you can have much more control over the
presentation of your document if you wish.
ä Line Spacing,Non-breaking spaces,Space between words and sentences,Stretched spaces,Manual
spacing,Hyphenation,Quote-marks,Diacritics and accents,Margin misalignment and interword spacing, Fonts....etc
can be customized..
ä Further info refer:
http://en.wikibooks.org/wiki/LaTeX/Text_Formatting
http://www.unc.edu/depts/econ/egsa/LaTeX.pdf

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 10
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Tabular Columns
ä Tables are a common feature in academic writing,
ä Summarise research results
ä Necessary to produce quality papers

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 11
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Tabular Columns
ä Tables are a common feature in academic writing,
ä Summarise research results
ä Necessary to produce quality papers
Syntax for including Tabular column
\begin{tabular }[pos]{tablespec}
Data
\end {tabular }
ä table spec
ã l – left-justified column
ã c – centered column
ã r – right-justified column
ã p’width’ – paragraph column with text vertically aligned at the top
ã m’width’ – paragraph column with text vertically aligned in the middle (requires array package)
ã b’width’ – paragraph column with text vertically aligned at the bottom (requires array package)
ã — – vertical line
ã —— – double vertical line
ä pos
ã b – bottom
ã c – center (default)
ã t – top
Other than the above Commands, we also have: & as column separator, \\for starting a new row, \hline for
horizontal line and \newline for a new line.
Further info:http://en.wikibooks.org/wiki/LaTeX/Tables
Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 11
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Columns
Syntax for puting a Column
\begin{columns}
\begin{column}[pos]{size}
Column 1
\end {column}
\begin{column}[pos]{size}
Column 2
\end {column}
\end {columns}
pos refers to center left or right align and size is the width of the particular column.

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 12
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Columns
Syntax for puting a Column
\begin{columns}
\begin{column}[pos]{size}
Column 1
\end {column}
\begin{column}[pos]{size}
Column 2
\end {column}
\end {columns}
pos refers to center left or right align and size is the width of the particular column.
Example
\begin{columns}
\begin{column}[c]{0.5\textwidth}
Column 1
\end {column} output
\begin{column}[c]{0.5\textwidth} Column 1 Column 2
Column 2
\end {column}
\end {columns}
For going to the next row with the same 2 columns repeat the code starting from begin{columns} to end{columns}.
Further Info: http:
//tex.stackexchange.com/questions/46115/using-columns-environment-in-normal-document
Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 12
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Images

Syntax for including images


ä For including images in the documents, use the below package (no need to include it in case of beamer)
\usepackage{graphix}
ä Call the below instruction wherever necessary.
\includegraphics[options]{image name with format}
ä options can be size given in mm, cm, m,textwidth and or angle in degrees
Example: In place of size: width = 20mm or width = 2cm or width = 0.5\textwidth...etc
ä image name with format can be given with formats such as .jpg, .pdf, .eps, ....etc

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 13
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Images

Syntax for including images


ä For including images in the documents, use the below package (no need to include it in case of beamer)
\usepackage{graphix}
ä Call the below instruction wherever necessary.
\includegraphics[options]{image name with format}
ä options can be size given in mm, cm, m,textwidth and or angle in degrees
Example: In place of size: width = 20mm or width = 2cm or width = 0.5\textwidth...etc
ä image name with format can be given with formats such as .jpg, .pdf, .eps, ....etc
Example
\includegraphics[width = 110mm]{Compilation process.png }
Output

Further Info: http://en.wikibooks.org/wiki/LaTeX/Importing_Graphics

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 13
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Video

Syntax for including Video


ä For including video in the documents, use the below package
\usepackage{multimedia}
ä Many other packages can be used to get the video for ecample movie9, movie15...etc.
ä Call the below instruction wherever necessary.
\movie[options]{postertext}{video name with format}
ä Many other instructions can be used to get the video depending on the need.
ä options can be externalviewer,autostart,borderwidth,depth,duration,label,loop,...etc
ä The movie will use a rectangular area whose size is determined either by the width= and height= options or by
the size of the poster text.

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 14
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Video

Syntax for including Video


ä For including video in the documents, use the below package
\usepackage{multimedia}
ä Many other packages can be used to get the video for ecample movie9, movie15...etc.
ä Call the below instruction wherever necessary.
\movie[options]{postertext}{video name with format}
ä Many other instructions can be used to get the video depending on the need.
ä options can be externalviewer,autostart,borderwidth,depth,duration,label,loop,...etc
ä The movie will use a rectangular area whose size is determined either by the width= and height= options or by
the size of the poster text.
Example
\movie[externalviewer , autostart]{CLICK HERE TO PLAY VIDEO}{video.flv }
Output
CLICK HERE TO PLAY VIDEO
Further Info: You can refer Section 14.1 of the Beamer User Guide
http://tex.stackexchange.com/questions/1574/embedding-videos-and-animations

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 14
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Math and Symbols

Math
ä Typesetting mathematics is one of LATEX’s greatest strengths
ä It is also a large topic due to the existence of so much mathematical notation
ä For including math package in the documents, use the below instruction
\usepackage{amsmath}
or
\usepackage{mathtools}
ä For those who are not familiar with the syntax use MATHTYPE software to get the mathematic datas
Further Info:http://en.wikibooks.org/wiki/LaTeX/Mathematics
.

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 15
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Math and Symbols

Math
ä Typesetting mathematics is one of LATEX’s greatest strengths
ä It is also a large topic due to the existence of so much mathematical notation
ä For including math package in the documents, use the below instruction
\usepackage{amsmath}
or
\usepackage{mathtools}
ä For those who are not familiar with the syntax use MATHTYPE software to get the mathematic datas
Further Info:http://en.wikibooks.org/wiki/LaTeX/Mathematics
.

Symbols
Latex offers n number of symbols...
The below link gives a list of all symbols
http://www.artofproblemsolving.com/Wiki/index.php/LaTeX:Symbols

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 15
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Animations and Overlays

ä Item-by-item list view: the \pause command


ä Item-by-item list view: the \item < n− > command
ä Item-by-item long list view: the [¡+-¿] command
ä Displaying and hiding text in slides: the \uncover < n− >, \uncover < n − m > and \uncover < p > commands
ä Displaying and hiding text in slides: the \only < n− >, \only < n − m > and \only < p > commands
ä Hide text in slides: the \invisible < n > commands
ä And many more....
For codes and further info:http://www.math-linux.com/latex-26/How-to-make-a-presentation-with

Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 16
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools

Interface with Other tools

Thus the latex with its own advantages can also be interfaced with other documenting tools like.

This interface creates a user friendly and efficient way of documenting.


.
.
.

The End
Thank You
Tilak D (1MS11EC117) Harish A J (1MS11EC048) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 17

You might also like