cspreenu@gmail.com
1 / 53
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Supporting Materials
LA
AT L EX For Scientic Documentation
(DE)Merits References
cspreenu@gmail.com
2 / 53
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Supporting Materials
AT X L E
AT L EX For Scientic Documentation
(DE)Merits References
cspreenu@gmail.com
2 / 53
The Founders
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
Donald E Knuth
(January 1938)
Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
3 / 53
The Founders
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
Donald E Knuth
(January 1938) US Mathematician & Computer Scientist.
Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
3 / 53
The Founders
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
Donald E Knuth
(January 1938) US Mathematician & Computer Scientist. Author of the book The Art of Computer Programming
Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
3 / 53
The Founders
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
Donald E Knuth
(January 1938) US Mathematician & Computer Scientist. Author of the book The Art of Computer Programming
Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
(1978)
cspreenu@gmail.com
3 / 53
The Founders
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
Donald E Knuth
(January 1938) US Mathematician & Computer Scientist. Author of the book The Art of Computer Programming
Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
(1978) 3.1415926
cspreenu@gmail.com
3 / 53
The Founders
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
Making
Leslie Lamport
(February 1941) US Computer Scientist
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
4 / 53
The Founders
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
Making
Leslie Lamport
(February 1941) US Computer Scientist
(LA) (1980)
cspreenu@gmail.com
4 / 53
Why?...
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
Making
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
5 / 53
Why?...
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
Making
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
5 / 53
Why?...
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
Making
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
5 / 53
Why?...
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
Making
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
5 / 53
Why?...
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
Making
Ease of big document preparation Scientic features Layout quality Cost Works on low machines
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
5 / 53
Compexity-Time Graph
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
6 / 53
Prerequisites
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Output reader
cspreenu@gmail.com
7 / 53
Distributions
A L T EX
Preenu C S Introduction
Why?... Prerequisites Distributions
TEXLive : For Unix, Linux, MacOSX, Windows. MacTEX: For MacOSX MikTEX: For Windows ProTeXt : MiKTeX with additions
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
8 / 53
A L T EX
Preenu C S Introduction
Making
Preamble Attributes Compiling
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
9 / 53
A L T EX
Preenu C S Introduction
A Any text editor can be used to make a L TEX le. A The extension of the L TEX le name is .tex
Making
Preamble Attributes Compiling
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
9 / 53
A L T EX
Preenu C S Introduction
A Any text editor can be used to make a L TEX le. A The extension of the L TEX le name is .tex
Making
Preamble Attributes Compiling
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
9 / 53
A L T EX
Preenu C S Introduction
A Any text editor can be used to make a L TEX le. A The extension of the L TEX le name is .tex
Making
Preamble Attributes Compiling
The le starts with \documentclass{. . .} The data to be printed is between \begin{document} . text . \end{document}
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
9 / 53
Preamble
A L T EX
Type Setting
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
10 / 53
Preamble
A L T EX
Type Setting
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
10 / 53
Preamble
A L T EX
Type Setting
The space between \documentclass and \begin{document} Additional packages: \usepackage{ } User dened Macros (Denitions)
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
10 / 53
Preamble
A L T EX
Type Setting
The space between \documentclass and \begin{document} Additional packages: \usepackage{ } User dened Macros (Denitions) Global settings
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
10 / 53
A L T EX
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
11 / 53
A L T EX
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
11 / 53
A L T EX
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
11 / 53
A L T EX
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
11 / 53
A L T EX
Commands starts with \ Environments are declared with \begin{Environment_Name} . . . \end{Environment_Name} Comments are preceded by % symbol
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
11 / 53
Compiling
A L T EX
lename.tex
Attributes Compiling
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
12 / 53
Compiling
A L T EX
lename.tex
latex
Preamble
lename.dvi
Attributes Compiling
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
12 / 53
Compiling
A L T EX
lename.tex
pdflatex
latex
Preamble
lename.dvi
Attributes Compiling
lename.pdf
cspreenu@gmail.com
12 / 53
Compiling
A L T EX
lename.tex
pdflatex
latex
Preamble
lename.dvi
Attributes Compiling
dvipdf
lename.pdf
cspreenu@gmail.com
12 / 53
Compiling
A L T EX
lename.tex
pdflatex
latex
Preamble
lename.dvi
dvips
Attributes Compiling
dvipdf
lename.pdf
lename.ps
cspreenu@gmail.com
12 / 53
Compiling
A L T EX
lename.tex
pdflatex
latex
Preamble
lename.dvi
dvips
Attributes Compiling
dvipdf
lename.pdf
ps2pdf
lename.ps
cspreenu@gmail.com
12 / 53
Compiling
A L T EX
lename.tex
pdflatex
latex
Preamble
lename.dvi
dvips
Attributes Compiling
dvipdf
lename.pdf
ps2pdf
lename.ps
Example: welcome.tex
cspreenu@gmail.com
12 / 53
Document Class
A L T EX
The style of the document is given by \documentclass[Options]{Class Style} Class Styles: article, report, book, powerdot, IEEEtan etc
Type Setting
Document Class Sections Spacing Formatting Alignment
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
13 / 53
Document Class
A L T EX
The style of the document is given by \documentclass[Options]{Class Style} Class Styles: article, report, book, powerdot, IEEEtan etc Options:
a4paper, a3paper, letterpaper etc
Type Setting
Document Class Sections Spacing Formatting Alignment
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
13 / 53
Document Class
A L T EX
The style of the document is given by \documentclass[Options]{Class Style} Class Styles: article, report, book, powerdot, IEEEtan etc Options:
a4paper, a3paper, letterpaper etc 10pt,11pt,12pt
Type Setting
Document Class Sections Spacing Formatting Alignment
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
13 / 53
Document Class
A L T EX
The style of the document is given by \documentclass[Options]{Class Style} Class Styles: article, report, book, powerdot, IEEEtan etc Options:
a4paper, a3paper, letterpaper etc 10pt,11pt,12pt twocolumn, landscape
Type Setting
Document Class Sections Spacing Formatting Alignment
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
13 / 53
Document Class
A L T EX
The style of the document is given by \documentclass[Options]{Class Style} Class Styles: article, report, book, powerdot, IEEEtan etc Options:
a4paper, a3paper, letterpaper etc 10pt,11pt,12pt twocolumn, landscape, openany
Type Setting
Document Class Sections Spacing Formatting Alignment
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Example: article.tex
cspreenu@gmail.com
13 / 53
Sections
A L T EX
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Example: sections.tex
cspreenu@gmail.com
14 / 53
Spacing
A L T EX
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
15 / 53
Spacing
A L T EX
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
15 / 53
Spacing
A L T EX
Page break: \newpage Para separation: Leave a blank line Line break: \\,
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
15 / 53
Spacing
A L T EX
Page break: \newpage Para separation: Leave a blank line Line break: \\, \\[2cm]
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
15 / 53
Spacing
A L T EX
Page break: \newpage Para separation: Leave a blank line Line break: \\, \\[2cm] Small spaces: \, (a a)
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
15 / 53
Spacing
A L T EX
Page break: \newpage Para separation: Leave a blank line Line break: \\, \\[2cm] Small spaces: \, (a a), \ : (a a), \; (a a), \ (a a)
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
15 / 53
Spacing
A L T EX
Page break: \newpage Para separation: Leave a blank line Line break: \\, \\[2cm] Small spaces: \, (a a), \ : (a a), \; (a a), \ (a a) \vspace{2cm}, \hspace{2cm}
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
15 / 53
Formatting
A L T EX
\rmfamily
Roman Family
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
16 / 53
Formatting
A L T EX
\rmfamily \sffamily
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
16 / 53
Formatting
A L T EX
} } } } } } }
Roman Family Sans Serif Family Typewriter Family Bold Face Italic Shape Slanted Shape Small Caps
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
16 / 53
Formatting...
A L T EX
Font Size
tiny
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
17 / 53
Formatting...
A L T EX
Font Size
tiny
footnotesize
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
17 / 53
Formatting...
A L T EX
Font Size
tiny
footnotesize
script size
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
small
normalsize
cspreenu@gmail.com
17 / 53
Formatting...
A L T EX
Font Size
large
Large
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
LARGE
huge
Huge
cspreenu@gmail.com
18 / 53
A L T EX
Center
\centering center
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
19 / 53
Tabbing
A L T EX
The environment tabbing \= is used for setting the tab \> is for jumping to the next tab Example: tabbing.tex
Listing Tables
cspreenu@gmail.com
20 / 53
End of Session I
Listing
A L T EX
Listing Tables
enumerate
cspreenu@gmail.com
22 / 53
Listing
A L T EX
Listing Tables
enumerate itemize
cspreenu@gmail.com
22 / 53
Listing
A L T EX
Listing Tables
cspreenu@gmail.com
22 / 53
Listing
A L T EX
Listing Tables
Example: enumerate.tex
cspreenu@gmail.com
22 / 53
Tables
A L T EX
Environment tabular
Alligned Text
Tabbing Listing Tables
cspreenu@gmail.com
23 / 53
Tables
A L T EX
Alligned Text
Tabbing Listing Tables
cspreenu@gmail.com
23 / 53
Tables
A L T EX
Alligned Text
Tabbing Listing Tables
cspreenu@gmail.com
23 / 53
Tables
A L T EX
Environment tabular \begin{tabular}{..} \end{tabular} horizontal lines by \hline or \cline Cells are separated by &
Alligned Text
Tabbing Listing Tables
cspreenu@gmail.com
23 / 53
Tables
A L T EX
Environment tabular \begin{tabular}{..} \end{tabular} horizontal lines by \hline or \cline Cells are separated by & Example: tables.tex
Alligned Text
Tabbing Listing Tables
cspreenu@gmail.com
23 / 53
Pictures
A L T EX
Draw Pictures
Pictures
External Pictures
cspreenu@gmail.com
24 / 53
Pictures
A L T EX
Draw Pictures
The environment picture
Pictures
External Pictures
cspreenu@gmail.com
24 / 53
Pictures
A L T EX
Draw Pictures
The environment picture PS-Tricks (Post Script) Tikz (PGF)
Pictures
External Pictures
cspreenu@gmail.com
24 / 53
A L T EX
\usepackage{graphicx}
cspreenu@gmail.com
25 / 53
A L T EX
cspreenu@gmail.com
25 / 53
A L T EX
\usepackage{graphicx} \includegraphics{ } Usually .eps or .ps For .jpeg or .png specify the dimension and use pdflatex
cspreenu@gmail.com
25 / 53
A L T EX
\usepackage{graphicx} \includegraphics{ } Usually .eps or .ps For .jpeg or .png specify the dimension and use pdflatex scale options resize the images
cspreenu@gmail.com
25 / 53
A L T EX
\usepackage{graphicx} \includegraphics{ } Usually .eps or .ps For .jpeg or .png specify the dimension and use pdflatex scale options resize the images Example: pict.tex
cspreenu@gmail.com
25 / 53
Floating Items
A L T EX
Preenu C S Introduction Making Type Setting Alligned Text Pictures Floating Items
Cross-References
cspreenu@gmail.com
26 / 53
Floating Items
A L T EX
Floating Items
Cross-References
cspreenu@gmail.com
26 / 53
Floating Items
A L T EX
Floating Items
Cross-References
cspreenu@gmail.com
26 / 53
Floating Items
A L T EX
Floating Items
Cross-References
cspreenu@gmail.com
26 / 53
Cross-References
A L T EX
Preenu C S Introduction Making Type Setting Alligned Text Pictures Floating Items
Cross-References
cspreenu@gmail.com
27 / 53
Cross-References
A L T EX
\label{ }
cspreenu@gmail.com
27 / 53
Cross-References
A L T EX
cspreenu@gmail.com
27 / 53
End of Session II
Mathematics
A L T EX
cspreenu@gmail.com
29 / 53
Mathematics
A L T EX
The packages amsmath, amssymb and amsthm... In-line mathematical contends are between $ and $
cspreenu@gmail.com
29 / 53
Mathematics
A L T EX
The packages amsmath, amssymb and amsthm... In-line mathematical contends are between $ and $ $$. . .$$ is for display mathematical style.
cspreenu@gmail.com
29 / 53
Mathematics
A L T EX
The packages amsmath, amssymb and amsthm... In-line mathematical contends are between $ and $ $$. . .$$ is for display mathematical style. \[. . .\] or math environment.
cspreenu@gmail.com
29 / 53
Mathematics
A L T EX
The packages amsmath, amssymb and amsthm... In-line mathematical contends are between $ and $ $$. . .$$ is for display mathematical style. \[. . .\] or math environment. equation will produce numbered equations.
cspreenu@gmail.com
29 / 53
Mathematics
A L T EX
The packages amsmath, amssymb and amsthm... In-line mathematical contends are between $ and $ $$. . .$$ is for display mathematical style. \[. . .\] or math environment. equation will produce numbered equations. eqnarray will produce equation array
cspreenu@gmail.com
29 / 53
Mathematics. . .
A L T EX
cspreenu@gmail.com
30 / 53
Mathematics. . .
A L T EX
and _ are used for super and subscripts \frac{}{} for fractions
cspreenu@gmail.com
30 / 53
Mathematics. . .
A L T EX
and _ are used for super and subscripts \frac{}{} for fractions \sqrt[ ]{} for square roots
cspreenu@gmail.com
30 / 53
Mathematics. . .
A L T EX
and _ are used for super and subscripts \frac{}{} for fractions \sqrt[ ]{} for square roots \alpha, \beta,. . . for Greek alphabets
cspreenu@gmail.com
30 / 53
Mathematics. . .
A L T EX
and _ are used for super and subscripts \frac{}{} for fractions \sqrt[ ]{} for square roots \alpha, \beta,. . . for Greek alphabets \sin, \cos, \tan, \log,. . .
cspreenu@gmail.com
30 / 53
Mathematics. . .
A L T EX
and _ are used for super and subscripts \frac{}{} for fractions \sqrt[ ]{} for square roots \alpha, \beta,. . . for Greek alphabets \sin, \cos, \tan, \log,. . . \int for
cspreenu@gmail.com
30 / 53
Mathematics. . .
A L T EX
and _ are used for super and subscripts \frac{}{} for fractions \sqrt[ ]{} for square roots \alpha, \beta,. . . for Greek alphabets \sin, \cos, \tan, \log,. . . \int for Example: mathematics.tex
cspreenu@gmail.com
30 / 53
Matrices
A L T EX
cspreenu@gmail.com
31 / 53
Matrices
A L T EX
Example: matrices.tex
cspreenu@gmail.com
31 / 53
Special Pages
A L T EX
New Commands
AT L EX Beamer
cspreenu@gmail.com
32 / 53
Contents
A L T EX
New Commands
AT L EX Beamer
cspreenu@gmail.com
33 / 53
Contents
A L T EX
\tableofcontents will produce Contents \listoffigures will produce List of Figures \listoftables will produce List of Tables
New Commands
AT L EX Beamer
cspreenu@gmail.com
33 / 53
Contents
A L T EX
\tableofcontents will produce Contents \listoffigures will produce List of Figures \listoftables will produce List of Tables Example: contents.tex
New Commands
AT L EX Beamer
cspreenu@gmail.com
33 / 53
Index
A L T EX
To make the Index page Insert \usepackage{makeidx} and \makeindex in the preamble
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages
Contents Index Bibliography
New Commands
AT L EX Beamer
cspreenu@gmail.com
34 / 53
Index
A L T EX
To make the Index page Insert \usepackage{makeidx} and \makeindex in the preamble Adding an index entry by \index{. . .}
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages
Contents Index Bibliography
New Commands
AT L EX Beamer
cspreenu@gmail.com
34 / 53
Index
A L T EX
To make the Index page Insert \usepackage{makeidx} and \makeindex in the preamble Adding an index entry by \index{. . .} \printindex will insert the index page
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages
Contents Index Bibliography
New Commands
AT L EX Beamer
cspreenu@gmail.com
34 / 53
Index
A L T EX
To make the Index page Insert \usepackage{makeidx} and \makeindex in the preamble Adding an index entry by \index{. . .} \printindex will insert the index page
Run pdflatex to produce the .idx le Run makeindex to generate the .ind le Run pdflatex twice which will then incorporate the .ind le and produce the index page.
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages
Contents Index Bibliography
New Commands
AT L EX Beamer
cspreenu@gmail.com
34 / 53
Index
A L T EX
To make the Index page Insert \usepackage{makeidx} and \makeindex in the preamble Adding an index entry by \index{. . .} \printindex will insert the index page
Run pdflatex to produce the .idx le Run makeindex to generate the .ind le Run pdflatex twice which will then incorporate the .ind le and produce the index page.
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages
Contents Index Bibliography
New Commands
AT L EX Beamer
Example: index.tex
cspreenu@gmail.com
34 / 53
Bibliography
A L T EX
Bibliography can be produced in two ways Using thebibliography environment Using bibtex
New Commands
AT L EX Beamer
cspreenu@gmail.com
35 / 53
Bibliography
A L T EX
Bibliography can be produced in two ways Using thebibliography environment Using bibtex The environment thebibliography Similar to enumerate. Use \bibitem to list items
New Commands
AT L EX Beamer
cspreenu@gmail.com
35 / 53
Bibliography
A L T EX
Bibliography can be produced in two ways Using thebibliography environment Using bibtex The environment thebibliography Similar to enumerate. Use \bibitem to list items \cite{. .} is for citations
New Commands
AT L EX Beamer
cspreenu@gmail.com
35 / 53
Bibliography
A L T EX
Bibliography can be produced in two ways Using thebibliography environment Using bibtex The environment thebibliography Similar to enumerate. Use \bibitem to list items \cite{. .} is for citations Example: biblio.tex
New Commands
AT L EX Beamer
cspreenu@gmail.com
35 / 53
A L T EX
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages
Contents Index Bibliography
New Commands
AT L EX Beamer
cspreenu@gmail.com
36 / 53
A L T EX
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages
Contents Index Bibliography
New Commands
AT L EX Beamer
cspreenu@gmail.com
36 / 53
A L T EX
Using Bibliographic database Make the database with extension .bib Refer the items inside the document
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages
Contents Index Bibliography
New Commands
AT L EX Beamer
cspreenu@gmail.com
36 / 53
A L T EX
Using Bibliographic database Make the database with extension .bib Refer the items inside the document \bibliography{database}
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages
Contents Index Bibliography
New Commands
AT L EX Beamer
cspreenu@gmail.com
36 / 53
A L T EX
Using Bibliographic database Make the database with extension .bib Refer the items inside the document \bibliography{database} Compilation Steps
Run pdflatex to produce the .aux le Run bibtex to the .aux le to generate .bbl and .blg les Run pdflatex twice
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages
Contents Index Bibliography
New Commands
AT L EX Beamer
Example: /bib/bibdata.tex
cspreenu@gmail.com
36 / 53
New Commands
A L T EX
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
38 / 53
New Commands
A L T EX
The syntax of newcommand is \newcommand{CommandName}[Variables]{definition} The command renewcommand is for changing an existing command
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
38 / 53
New Commands
A L T EX
The syntax of newcommand is \newcommand{CommandName}[Variables]{definition} The command renewcommand is for changing an existing command The syntax of the newenvironment is \newenvironment{EnvironmentName} [Variables]{Begin}{End}
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
38 / 53
New Commands
A L T EX
The syntax of newcommand is \newcommand{CommandName}[Variables]{definition} The command renewcommand is for changing an existing command The syntax of the newenvironment is \newenvironment{EnvironmentName} [Variables]{Begin}{End} Example: newcommands.tex
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
cspreenu@gmail.com
38 / 53
A L T EX
\documentclass{beamer}
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
39 / 53
A L T EX
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
39 / 53
A L T EX
\documentclass{beamer} frame environment for slides \begin{frame}{Frame Title} . . . Contents... . . . \end{frame} Example: Welcome.tex
Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
39 / 53
A L T EX
Block Heading
This box is created by block environment
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
40 / 53
A L T EX
Block Heading
This box is created by block environment
Block Heading
This box is created by alertblock environment
cspreenu@gmail.com
40 / 53
A L T EX
Block Heading
This box is created by block environment
Block Heading
This box is created by alertblock environment The other box environments are theorem, lemma, corollary, example, proof
cspreenu@gmail.com
40 / 53
A L T EX
Block Heading
This box is created by block environment
Block Heading
This box is created by alertblock environment The other box environments are theorem, lemma, corollary, example, proof fancybox package is very useful to create fancy boxes
cspreenu@gmail.com
40 / 53
A L T EX
Block Heading
This box is created by block environment
Block Heading
This box is created by alertblock environment The other box environments are theorem, lemma, corollary, example, proof fancybox package is very useful to create fancy boxes Example: Boxes.tex
cspreenu@gmail.com
40 / 53
Columns
A L T EX
Preenu C S Introduction
columns environment is used to produce columns \begin{columns}[t] \column{0.5\textwidth} Column 1 contents \column{0.5\textwidth} Column 2 contents \end{columns}
Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
41 / 53
Columns
A L T EX
Preenu C S Introduction
columns environment is used to produce columns \begin{columns}[t] \column{0.5\textwidth} Column 1 contents \column{0.5\textwidth} Column 2 contents \end{columns} Example: Columns.tex
Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
41 / 53
Overlays
A L T EX
\pause
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
42 / 53
Overlays
A L T EX
\pause \alert<2>
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
42 / 53
Overlays
A L T EX
\pause \alert<2>
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
42 / 53
Overlays
A L T EX
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
42 / 53
Overlays
A L T EX
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
42 / 53
Overlays
A L T EX
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
42 / 53
Overlays
A L T EX
\pause \alert<2> \textbf< >, \textit< >,. . . \onslide< > \only(takes no space) \visible \alt
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
42 / 53
Overlays
A L T EX
\pause \alert<2> \textbf< >, \textit< >,. . . \onslide< > \only(takes no space) \visible \alt \temporal
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
42 / 53
Overlays
A L T EX
\pause \alert<2> \textbf< >, \textit< >,. . . \onslide< > \only(takes no space) \visible \alt \temporal \uncover
Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
42 / 53
Overlays
A L T EX
Environments
onlyenv
cspreenu@gmail.com
43 / 53
Overlays
A L T EX
Environments
onlyenv visibleenv
cspreenu@gmail.com
43 / 53
Overlays
A L T EX
Environments
onlyenv visibleenv uncoverenv
cspreenu@gmail.com
43 / 53
Overlays
A L T EX
Environments
onlyenv visibleenv uncoverenv invisibleenv
cspreenu@gmail.com
43 / 53
Overlays
A L T EX
Environments
onlyenv visibleenv uncoverenv invisibleenv
Example: Overlays.tex
cspreenu@gmail.com
43 / 53
Transition
\transblindshorizontal \transblindsvertical
A L T EX
Preenu C S Introduction Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
44 / 53
Transition
\transblindshorizontal \transblindsvertical \transboxin \transboxout \transdissolve \transglitter \transslipverticalin \transslipverticalout \transhorizontalin \transhorizontalout \transwipe \transduration{2}
A L T EX
Preenu C S Introduction Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
44 / 53
Transition
\transblindshorizontal \transblindsvertical \transboxin \transboxout \transdissolve \transglitter \transslipverticalin \transslipverticalout \transhorizontalin \transhorizontalout \transwipe \transduration{2} Example: Transitions.tex
AT L EX For Scientic Documentation
A L T EX
Preenu C S Introduction Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes
cspreenu@gmail.com
44 / 53
Themes
A L T EX
\usetheme{themename}
cspreenu@gmail.com
45 / 53
Themes
A L T EX
cspreenu@gmail.com
45 / 53
Themes
A L T EX
cspreenu@gmail.com
45 / 53
Hyperlinks
A L T EX
cspreenu@gmail.com
46 / 53
Hyperlinks
A L T EX
cspreenu@gmail.com
46 / 53
Hyperlinks
A L T EX
To a Slide:- \hyperlink{ target }{ text } To an external le:- \href{run: filename} To play a movie/music:- \movie{ }{ }
cspreenu@gmail.com
46 / 53
Hyperlinks
A L T EX
To a Slide:- \hyperlink{ target }{ text } To an external le:- \href{run: Example: Hyperlink.tex filename} To play a movie/music:- \movie{ }{ }
cspreenu@gmail.com
46 / 53
Supporting Materials
A L T EX
cspreenu@gmail.com
47 / 53
Supporting Materials
A L T EX
cspreenu@gmail.com
47 / 53
Supporting Materials
A L T EX
cspreenu@gmail.com
47 / 53
Supporting Materials
A L T EX
cspreenu@gmail.com
47 / 53
Supporting Materials
A L T EX
cspreenu@gmail.com
47 / 53
End of Session IV
Merits
Sources can be read with any text editor.
A L T EX
Preenu C S Introduction Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
References
cspreenu@gmail.com
49 / 53
Merits
Sources can be read with any text editor. Concentrate purely on the structure and contents of the document.
A L T EX
Preenu C S Introduction Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
References
cspreenu@gmail.com
49 / 53
Merits
Sources can be read with any text editor. Concentrate purely on the structure and contents of the document. Automatically adjust fonts, text sizes, line heights etc.
A L T EX
Preenu C S Introduction Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
References
cspreenu@gmail.com
49 / 53
Merits
Sources can be read with any text editor. Concentrate purely on the structure and contents of the document. Automatically adjust fonts, text sizes, line heights etc. The layout, fonts, tables and so on are consistent.
A L T EX
Preenu C S Introduction Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
References
cspreenu@gmail.com
49 / 53
Merits
Sources can be read with any text editor. Concentrate purely on the structure and contents of the document. Automatically adjust fonts, text sizes, line heights etc. The layout, fonts, tables and so on are consistent. Indexes, footnotes, citations and references are generated easily.
A L T EX
Preenu C S Introduction Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
References
cspreenu@gmail.com
49 / 53
Merits
Sources can be read with any text editor. Concentrate purely on the structure and contents of the document. Automatically adjust fonts, text sizes, line heights etc. The layout, fonts, tables and so on are consistent. Indexes, footnotes, citations and references are generated easily. Document structure
Visible to the user. Can be copied to another document. In WYSIWYG applications it is not obvious.
A L T EX
Preenu C S Introduction Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
References
cspreenu@gmail.com
49 / 53
Merits
Sources can be read with any text editor. Concentrate purely on the structure and contents of the document. Automatically adjust fonts, text sizes, line heights etc. The layout, fonts, tables and so on are consistent. Indexes, footnotes, citations and references are generated easily. Document structure
Visible to the user. Can be copied to another document. In WYSIWYG applications it is not obvious.
A L T EX
Preenu C S Introduction Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
References
cspreenu@gmail.com
49 / 53
Merits
Sources can be read with any text editor. Concentrate purely on the structure and contents of the document. Automatically adjust fonts, text sizes, line heights etc. The layout, fonts, tables and so on are consistent. Indexes, footnotes, citations and references are generated easily. Document structure
Visible to the user. Can be copied to another document. In WYSIWYG applications it is not obvious.
A L T EX
Preenu C S Introduction Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Mathematical formulae can be easily typeset. You are forced to structure your documents correctly.
AT L EX For Scientic Documentation
References
cspreenu@gmail.com
49 / 53
Demerits
A L T EX
References
cspreenu@gmail.com
50 / 53
Demerits
A L T EX
References
cspreenu@gmail.com
50 / 53
A L T EX
Preenu C S Introduction Making Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
References
cspreenu@gmail.com
51 / 53
References
A L T EX
A L TEX Wikibook, Wikipedia, March 2013 A E.Krishnan, L TEX Tutorials, Indian TEX Users Group, Thiruvananthapuram, September 2003
Till Tantau, Joseph Wright, Vedran Miletic, The beamer class User Guide for version 3.10., http://bitbucket.org/rivanvx/beamer
New Commands
AT L EX Beamer
cspreenu@gmail.com
52 / 53
A L T EX
I cant go to a restaurant and order food because I keep looking at the fonts on the menu. Donald E. Knuth
Thank You
cspreenu@gmail.com
53 / 53