SlideShare ist ein Scribd-Unternehmen logo
1 von 43
Downloaden Sie, um offline zu lesen
INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools
LATEX AND BEAMER
FOR BEGINNERS
Tilak D (1MS11EC117)
Department of Electronics and Communication
M S Ramaiah Institute of Technology
February 5, 2014
Tilak D (1MS11EC117) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 theincludegraphics 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) 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 theincludegraphics 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) 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) 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) 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) 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) 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
end{block}
Output
Put your data here
Tilak D (1MS11EC117) 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
end{block}
Output
Put your data here
Itemize
begin{itemize}
 barrow Data1
 barrow Data2
end{itemize}
Output
® Data1
® Data2
Tilak D (1MS11EC117) 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
end{block}
Output
Put your data here
Itemize
begin{itemize}
 barrow Data1
 barrow Data2
end{itemize}
Output
® Data1
® Data2
Enumerate
begin{enumerate}
 item Data1
 item Data2
end{enumerate}
Output
1. Data1
2. Data2
Tilak D (1MS11EC117) 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
end{block}
Output
Put your data here
Itemize
begin{itemize}
 barrow Data1
 barrow Data2
end{itemize}
Output
® Data1
® Data2
Enumerate
begin{enumerate}
 item Data1
 item Data2
end{enumerate}
Output
1. Data1
2. Data2
Verbatim
begin{verbatim}
Type your program here
end{verbatim}
Output
Type your program here
NOTE: One structure can be included inside another.
Further Info:http://en.wikibooks.org/wiki/LaTeX/List_Structures
Tilak D (1MS11EC117) 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) 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) 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) 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) 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) 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.5textwidth}
Column 1
end{column}
begin{column}[c]{0.5textwidth}
Column 2
end{column}
end{columns}
output
Column 1 Column 2
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) 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.5textwidth...etc
® image name with format can be given with formats such as .jpg, .pdf, .eps, ....etc
Tilak D (1MS11EC117) 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.5textwidth...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) 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) 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) 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) 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) 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) 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 17

Weitere ähnliche Inhalte

Was ist angesagt?

Event+driven+programming key+features
Event+driven+programming key+featuresEvent+driven+programming key+features
Event+driven+programming key+features
Faisal Aziz
 

Was ist angesagt? (20)

Event+driven+programming key+features
Event+driven+programming key+featuresEvent+driven+programming key+features
Event+driven+programming key+features
 
The principle of inclusion and exclusion for three sets by sharvari
The principle of inclusion and exclusion for three sets by sharvariThe principle of inclusion and exclusion for three sets by sharvari
The principle of inclusion and exclusion for three sets by sharvari
 
Lecture 04 syntax analysis
Lecture 04 syntax analysisLecture 04 syntax analysis
Lecture 04 syntax analysis
 
RSA ALGORITHM
RSA ALGORITHMRSA ALGORITHM
RSA ALGORITHM
 
Intro to Discrete Mathematics
Intro to Discrete MathematicsIntro to Discrete Mathematics
Intro to Discrete Mathematics
 
Context free grammar
Context free grammar Context free grammar
Context free grammar
 
Natural language processing (Python)
Natural language processing (Python)Natural language processing (Python)
Natural language processing (Python)
 
Theory of Computation Unit 2
Theory of Computation Unit 2Theory of Computation Unit 2
Theory of Computation Unit 2
 
Semantics analysis
Semantics analysisSemantics analysis
Semantics analysis
 
word level analysis
word level analysis word level analysis
word level analysis
 
Introduction to NP Completeness
Introduction to NP CompletenessIntroduction to NP Completeness
Introduction to NP Completeness
 
Theory of automata and formal language
Theory of automata and formal languageTheory of automata and formal language
Theory of automata and formal language
 
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language UnderstandingBERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
 
Technical writing using LaTeX
Technical writing using LaTeXTechnical writing using LaTeX
Technical writing using LaTeX
 
Pumping lemma for regular language
Pumping lemma for regular languagePumping lemma for regular language
Pumping lemma for regular language
 
Lecture optimal binary search tree
Lecture optimal binary search tree Lecture optimal binary search tree
Lecture optimal binary search tree
 
Lecture11 syntax analysis_7
Lecture11 syntax analysis_7Lecture11 syntax analysis_7
Lecture11 syntax analysis_7
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Semantic analysis
Semantic analysisSemantic analysis
Semantic analysis
 
Introduction to text classification using naive bayes
Introduction to text classification using naive bayesIntroduction to text classification using naive bayes
Introduction to text classification using naive bayes
 

Andere mochten auch

Andere mochten auch (17)

Latex in arabic
Latex in arabicLatex in arabic
Latex in arabic
 
عمل العروض التقديمية باستخدام برنامج مقدمه في استخدام برنامج Latex
عمل العروض التقديمية باستخدام برنامج مقدمه في استخدام برنامج Latexعمل العروض التقديمية باستخدام برنامج مقدمه في استخدام برنامج Latex
عمل العروض التقديمية باستخدام برنامج مقدمه في استخدام برنامج Latex
 
How to make a presentation with LATEX? Introduction to BeamerPresentation ben...
How to make a presentation with LATEX? Introduction to BeamerPresentation ben...How to make a presentation with LATEX? Introduction to BeamerPresentation ben...
How to make a presentation with LATEX? Introduction to BeamerPresentation ben...
 
Introduction to LaTeX (For Word users)
 Introduction to LaTeX (For Word users) Introduction to LaTeX (For Word users)
Introduction to LaTeX (For Word users)
 
Beamer tutorial
Beamer tutorialBeamer tutorial
Beamer tutorial
 
How to use LaTeX and Beamer to prepare presentation for Slideshare
How to use LaTeX and Beamer to prepare presentation for SlideshareHow to use LaTeX and Beamer to prepare presentation for Slideshare
How to use LaTeX and Beamer to prepare presentation for Slideshare
 
Eleoui mustafa latex_article
Eleoui mustafa latex_articleEleoui mustafa latex_article
Eleoui mustafa latex_article
 
Latex
LatexLatex
Latex
 
Latex workshop
Latex workshopLatex workshop
Latex workshop
 
Texstudio latex
Texstudio latexTexstudio latex
Texstudio latex
 
Latex slides
Latex slidesLatex slides
Latex slides
 
Beamer ppt
Beamer pptBeamer ppt
Beamer ppt
 
Beamer guide By KiJoo Kim (a.k.a. Daisyweb)
Beamer guide By KiJoo Kim (a.k.a. Daisyweb)Beamer guide By KiJoo Kim (a.k.a. Daisyweb)
Beamer guide By KiJoo Kim (a.k.a. Daisyweb)
 
Manual de programacion LaTeX
Manual de programacion LaTeXManual de programacion LaTeX
Manual de programacion LaTeX
 
LaTex Tutorial
LaTex TutorialLaTex Tutorial
LaTex Tutorial
 
نظام نور
نظام نورنظام نور
نظام نور
 
Manual de latex
Manual de latex Manual de latex
Manual de latex
 

Ähnlich wie LATEX and BEAMER for Beginners

C:\Users\User\Desktop\Eclipse Infocenter
C:\Users\User\Desktop\Eclipse InfocenterC:\Users\User\Desktop\Eclipse Infocenter
C:\Users\User\Desktop\Eclipse Infocenter
Suite Solutions
 
Shell tutorial
Shell tutorialShell tutorial
Shell tutorial
Vu Duy Tu
 
Visual Studio .NET2010
Visual Studio .NET2010Visual Studio .NET2010
Visual Studio .NET2010
Satish Verma
 

Ähnlich wie LATEX and BEAMER for Beginners (20)

BCA IPU VB.NET UNIT-II
BCA IPU VB.NET UNIT-IIBCA IPU VB.NET UNIT-II
BCA IPU VB.NET UNIT-II
 
LATEX.ppt
LATEX.pptLATEX.ppt
LATEX.ppt
 
BCA IPU VB.NET UNIT-I
BCA IPU VB.NET UNIT-IBCA IPU VB.NET UNIT-I
BCA IPU VB.NET UNIT-I
 
C:\Users\User\Desktop\Eclipse Infocenter
C:\Users\User\Desktop\Eclipse InfocenterC:\Users\User\Desktop\Eclipse Infocenter
C:\Users\User\Desktop\Eclipse Infocenter
 
Building scalable and language-independent Java services using Apache Thrift ...
Building scalable and language-independent Java services using Apache Thrift ...Building scalable and language-independent Java services using Apache Thrift ...
Building scalable and language-independent Java services using Apache Thrift ...
 
Chap02 scr
Chap02 scrChap02 scr
Chap02 scr
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
 
Shell tutorial
Shell tutorialShell tutorial
Shell tutorial
 
Write effectlively in late x
Write effectlively in late xWrite effectlively in late x
Write effectlively in late x
 
LaTeX Part 1
LaTeX Part 1LaTeX Part 1
LaTeX Part 1
 
Overview of asp .net
Overview of asp .netOverview of asp .net
Overview of asp .net
 
Introduction to Latex
Introduction to LatexIntroduction to Latex
Introduction to Latex
 
Building scalable and language independent java services using apache thrift
Building scalable and language independent java services using apache thriftBuilding scalable and language independent java services using apache thrift
Building scalable and language independent java services using apache thrift
 
Visual Studio .NET2010
Visual Studio .NET2010Visual Studio .NET2010
Visual Studio .NET2010
 
FileMaker Developer Conference 2010: Small Things | Loosely Joined
FileMaker Developer Conference 2010: Small Things | Loosely JoinedFileMaker Developer Conference 2010: Small Things | Loosely Joined
FileMaker Developer Conference 2010: Small Things | Loosely Joined
 
Small Things | Loosely Joined
Small Things | Loosely JoinedSmall Things | Loosely Joined
Small Things | Loosely Joined
 
Unified Documentation
Unified DocumentationUnified Documentation
Unified Documentation
 
POS 433 Education Organization / snaptutorial.com
POS 433 Education Organization / snaptutorial.com POS 433 Education Organization / snaptutorial.com
POS 433 Education Organization / snaptutorial.com
 
IRJET- New Approach of Documentation through LaTeX
IRJET-  	  New Approach of Documentation through LaTeXIRJET-  	  New Approach of Documentation through LaTeX
IRJET- New Approach of Documentation through LaTeX
 
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for DevelopersMSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
 

Kürzlich hochgeladen

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Kürzlich hochgeladen (20)

ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 

LATEX and BEAMER for Beginners

  • 1. INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools LATEX AND BEAMER FOR BEGINNERS Tilak D (1MS11EC117) Department of Electronics and Communication M S Ramaiah Institute of Technology February 5, 2014 Tilak D (1MS11EC117) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 1
  • 2. INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools LATEX INTRODUCTION What is LATEX? Tilak D (1MS11EC117) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 2
  • 3. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 2
  • 4. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 2
  • 5. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 2
  • 6. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 2
  • 7. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 2
  • 8. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 3
  • 9. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 3
  • 10. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 3
  • 11. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 3
  • 12. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 4
  • 13. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 4
  • 14. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 4
  • 15. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 5
  • 16. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 5
  • 17. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 5
  • 18. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 6
  • 19. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 6
  • 20. 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 theincludegraphics 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 6
  • 21. 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 theincludegraphics 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 6
  • 22. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 7
  • 23. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 7
  • 24. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 8
  • 25. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 8
  • 26. INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools Structures Blocks begin{block}{Output} Put your data here end{block} Output Put your data here Tilak D (1MS11EC117) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 9
  • 27. INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools Structures Blocks begin{block}{Output} Put your data here end{block} Output Put your data here Itemize begin{itemize} barrow Data1 barrow Data2 end{itemize} Output ® Data1 ® Data2 Tilak D (1MS11EC117) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 9
  • 28. INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools Structures Blocks begin{block}{Output} Put your data here end{block} Output Put your data here Itemize begin{itemize} barrow Data1 barrow Data2 end{itemize} Output ® Data1 ® Data2 Enumerate begin{enumerate} item Data1 item Data2 end{enumerate} Output 1. Data1 2. Data2 Tilak D (1MS11EC117) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 9
  • 29. INTRO WORKING AND SYNTAX CLASSES COMMANDS PACKAGES BEAMER ELEMENTS Interface with Other tools Structures Blocks begin{block}{Output} Put your data here end{block} Output Put your data here Itemize begin{itemize} barrow Data1 barrow Data2 end{itemize} Output ® Data1 ® Data2 Enumerate begin{enumerate} item Data1 item Data2 end{enumerate} Output 1. Data1 2. Data2 Verbatim begin{verbatim} Type your program here end{verbatim} Output Type your program here NOTE: One structure can be included inside another. Further Info:http://en.wikibooks.org/wiki/LaTeX/List_Structures Tilak D (1MS11EC117) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 9
  • 30. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 10
  • 31. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 10
  • 32. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 11
  • 33. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 11
  • 34. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 12
  • 35. 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.5textwidth} Column 1 end{column} begin{column}[c]{0.5textwidth} Column 2 end{column} end{columns} output Column 1 Column 2 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 12
  • 36. 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.5textwidth...etc ® image name with format can be given with formats such as .jpg, .pdf, .eps, ....etc Tilak D (1MS11EC117) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 13
  • 37. 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.5textwidth...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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 13
  • 38. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 14
  • 39. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 14
  • 40. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 15
  • 41. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 15
  • 42. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 16
  • 43. 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) LATEX AND BEAMER PRESENTATION February 5, 2014 Slide 17