Anda di halaman 1dari 177

A L T EX

Preenu C S Introduction Making

A L TEX For Scientic Documentation

Type Setting Alligned Text Pictures

Preenu C S Assistant Professor Department of Mathematics College of Engineering Thiruvananthapuram


cspreenu@gmail.com

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

1 / 53

Name of the Game

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

Name of the Game

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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)

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Type Setting Alligned Text Pictures Floating Items Mathematics

(LA) (1980)

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

4 / 53

Why?...

A L T EX

Preenu C S Introduction
Why?... Prerequisites Distributions

Making

Ease of big document preparation

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

6 / 53

Prerequisites

A L T EX

Preenu C S Introduction
Why?... Prerequisites Distributions

Making Type Setting

Plain text editor


A L TEX compiler

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Output reader

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

7 / 53

Distributions

A L T EX

Preenu C S Introduction
Why?... Prerequisites Distributions

Making Type Setting

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

8 / 53

Making a .tex File

A L T EX

Preenu C S Introduction

A Any text editor can be used to make a L TEX le.

Making
Preamble Attributes Compiling

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

9 / 53

Making a .tex File

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

9 / 53

Making a .tex File

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

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

9 / 53

Making a .tex File

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

9 / 53

Preamble

A L T EX

Preenu C S Introduction Making


Preamble Attributes Compiling

Type Setting

The space between \documentclass and \begin{document}

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

10 / 53

Preamble

A L T EX

Preenu C S Introduction Making


Preamble Attributes Compiling

Type Setting

The space between \documentclass and \begin{document} Additional packages: \usepackage{ }

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

10 / 53

Preamble

A L T EX

Preenu C S Introduction Making


Preamble Attributes Compiling

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

10 / 53

Preamble

A L T EX

Preenu C S Introduction Making


Preamble Attributes Compiling

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

10 / 53

Commands, Environments, Comments

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

11 / 53

Commands, Environments, Comments

A L T EX

Preenu C S Introduction Making


Preamble Attributes Compiling

Commands starts with \

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

11 / 53

Commands, Environments, Comments

A L T EX

Preenu C S Introduction Making


Preamble Attributes Compiling

Commands starts with \ Environments are declared with

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

11 / 53

Commands, Environments, Comments

A L T EX

Preenu C S Introduction Making


Preamble Attributes Compiling

Commands starts with \ Environments are declared with \begin{Environment_Name} . . . \end{Environment_Name}

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

11 / 53

Commands, Environments, Comments

A L T EX

Preenu C S Introduction Making


Preamble Attributes Compiling

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

11 / 53

Compiling

A L T EX

Preenu C S Introduction Making


Preamble

lename.tex

Attributes Compiling

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

12 / 53

Compiling

A L T EX

Preenu C S Introduction Making

lename.tex

latex

Preamble

lename.dvi

Attributes Compiling

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

12 / 53

Compiling

A L T EX

Preenu C S Introduction Making

lename.tex
pdflatex

latex

Preamble

lename.dvi

Attributes Compiling

Type Setting Alligned Text Pictures Floating Items Mathematics

lename.pdf

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

12 / 53

Compiling

A L T EX

Preenu C S Introduction Making

lename.tex
pdflatex

latex

Preamble

lename.dvi

Attributes Compiling

Type Setting Alligned Text

dvipdf

Pictures Floating Items Mathematics

lename.pdf

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

12 / 53

Compiling

A L T EX

Preenu C S Introduction Making

lename.tex
pdflatex

latex

Preamble

lename.dvi
dvips

Attributes Compiling

Type Setting Alligned Text

dvipdf

Pictures Floating Items Mathematics

lename.pdf

lename.ps

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

12 / 53

Compiling

A L T EX

Preenu C S Introduction Making

lename.tex
pdflatex

latex

Preamble

lename.dvi
dvips

Attributes Compiling

Type Setting Alligned Text

dvipdf

Pictures Floating Items Mathematics

lename.pdf

ps2pdf

lename.ps

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

12 / 53

Compiling

A L T EX

Preenu C S Introduction Making

lename.tex
pdflatex

latex

Preamble

lename.dvi
dvips

Attributes Compiling

Type Setting Alligned Text

dvipdf

Pictures Floating Items Mathematics

lename.pdf

ps2pdf

lename.ps

Special Pages New Commands


AT L EX Beamer

Example: welcome.tex

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

12 / 53

Document Class

A L T EX

Preenu C S Introduction Making

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

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

13 / 53

Document Class

A L T EX

Preenu C S Introduction Making

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

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

13 / 53

Document Class

A L T EX

Preenu C S Introduction Making

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

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

13 / 53

Document Class

A L T EX

Preenu C S Introduction Making

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

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

13 / 53

Document Class

A L T EX

Preenu C S Introduction Making

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

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

13 / 53

Sections

A L T EX

Preenu C S Introduction Making Type Setting

Sections are made by using:


\part \chapter \section \subsection \subsubsection \paragraph \subparagraph

Document Class Sections Spacing Formatting Alignment

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Example: sections.tex

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

14 / 53

Spacing

A L T EX

Preenu C S Introduction Making Type Setting


Document Class Sections

Page break: \newpage

Spacing Formatting Alignment

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

15 / 53

Spacing

A L T EX

Preenu C S Introduction Making Type Setting


Document Class Sections

Page break: \newpage Para separation: Leave a blank line

Spacing Formatting Alignment

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

15 / 53

Spacing

A L T EX

Preenu C S Introduction Making Type Setting


Document Class Sections

Page break: \newpage Para separation: Leave a blank line Line break: \\,

Spacing Formatting Alignment

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

15 / 53

Spacing

A L T EX

Preenu C S Introduction Making Type Setting


Document Class Sections

Page break: \newpage Para separation: Leave a blank line Line break: \\, \\[2cm]

Spacing Formatting Alignment

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

15 / 53

Spacing

A L T EX

Preenu C S Introduction Making Type Setting


Document Class Sections

Page break: \newpage Para separation: Leave a blank line Line break: \\, \\[2cm] Small spaces: \, (a a)

Spacing Formatting Alignment

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

15 / 53

Spacing

A L T EX

Preenu C S Introduction Making Type Setting


Document Class Sections

Page break: \newpage Para separation: Leave a blank line Line break: \\, \\[2cm] Small spaces: \, (a a), \ : (a a), \; (a a), \ (a a)

Spacing Formatting Alignment

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

15 / 53

Spacing

A L T EX

Preenu C S Introduction Making Type Setting


Document Class Sections

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}

Spacing Formatting Alignment

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

15 / 53

Formatting

A L T EX

Preenu C S Introduction Making Type Setting

Font Style \textrm{ }

Document Class Sections

\rmfamily

Roman Family

Spacing Formatting Alignment

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

16 / 53

Formatting

A L T EX

Preenu C S Introduction Making Type Setting

Font Style \textrm{ } \textsf{ }

Document Class Sections

\rmfamily \sffamily

Roman Family Sans Serif Family

Spacing Formatting Alignment

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

16 / 53

Formatting

A L T EX

Preenu C S Introduction Making Type Setting

Font Style \textrm{ \textsf{ \texttt{ \textbf{ \textit{ \textsl{ \textsc{

Document Class Sections

} } } } } } }

\rmfamily \sffamily \ttfamily \bfseries \itshape \slshape \scshape

Roman Family Sans Serif Family Typewriter Family Bold Face Italic Shape Slanted Shape Small Caps

Spacing Formatting Alignment

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

16 / 53

Formatting...

A L T EX

Preenu C S Introduction Making Type Setting


Document Class Sections

Font Size
tiny

Spacing Formatting Alignment

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

17 / 53

Formatting...

A L T EX

Preenu C S Introduction Making Type Setting


Document Class Sections

Font Size
tiny

Spacing Formatting Alignment

footnotesize

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

17 / 53

Formatting...

A L T EX

Preenu C S Introduction Making Type Setting


Document Class Sections

Font Size
tiny

Spacing Formatting Alignment

footnotesize
script size

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

small

normalsize

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

17 / 53

Formatting...

A L T EX

Preenu C S Introduction Making Type Setting


Document Class

Font Size

Sections Spacing Formatting Alignment

large

Large

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

LARGE

huge

Huge

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

18 / 53

Left, Right and Center

A L T EX

Preenu C S Introduction Making Type Setting


Document Class

Center
\centering center

Sections Spacing Formatting Alignment

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

ushright ushleft Example: formatting.tex

Supporting Materials (DE)Merits References


AT L EX For Scientic Documentation

cspreenu@gmail.com

19 / 53

Tabbing

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text


Tabbing

The environment tabbing \= is used for setting the tab \> is for jumping to the next tab Example: tabbing.tex

Listing Tables

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

20 / 53

End of Session I

Listing

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text


Tabbing

There are three types of listing


1

Listing Tables

enumerate

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

22 / 53

Listing

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text


Tabbing

There are three types of listing


1 2

Listing Tables

enumerate itemize

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

22 / 53

Listing

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text


Tabbing

There are three types of listing


1 2 3

Listing Tables

enumerate itemize description

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

22 / 53

Listing

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text


Tabbing

There are three types of listing


1 2 3

Listing Tables

enumerate itemize description

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Example: enumerate.tex

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

22 / 53

Tables

A L T EX

Preenu C S Introduction Making Type Setting

Environment tabular

Alligned Text
Tabbing Listing Tables

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

23 / 53

Tables

A L T EX

Preenu C S Introduction Making Type Setting

Environment tabular \begin{tabular}{..} \end{tabular}

Alligned Text
Tabbing Listing Tables

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

23 / 53

Tables

A L T EX

Preenu C S Introduction Making Type Setting

Environment tabular \begin{tabular}{..} \end{tabular} horizontal lines by \hline or \cline

Alligned Text
Tabbing Listing Tables

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

23 / 53

Tables

A L T EX

Preenu C S Introduction Making Type Setting

Environment tabular \begin{tabular}{..} \end{tabular} horizontal lines by \hline or \cline Cells are separated by &

Alligned Text
Tabbing Listing Tables

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

23 / 53

Tables

A L T EX

Preenu C S Introduction Making Type Setting

Environment tabular \begin{tabular}{..} \end{tabular} horizontal lines by \hline or \cline Cells are separated by & Example: tables.tex

Alligned Text
Tabbing Listing Tables

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

23 / 53

Pictures

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text

Draw Pictures

Pictures
External Pictures

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

24 / 53

Pictures

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text

Draw Pictures
The environment picture

Pictures
External Pictures

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

24 / 53

Pictures

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text

Draw Pictures
The environment picture PS-Tricks (Post Script) Tikz (PGF)

Pictures
External Pictures

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Include external Pictures

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

24 / 53

Including External Pictures

A L T EX

Preenu C S Introduction Making Type Setting

\usepackage{graphicx}

Alligned Text Pictures


External Pictures

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

25 / 53

Including External Pictures

A L T EX

Preenu C S Introduction Making Type Setting

\usepackage{graphicx} \includegraphics{ } Usually .eps or .ps

Alligned Text Pictures


External Pictures

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

25 / 53

Including External Pictures

A L T EX

Preenu C S Introduction Making Type Setting

\usepackage{graphicx} \includegraphics{ } Usually .eps or .ps For .jpeg or .png specify the dimension and use pdflatex

Alligned Text Pictures


External Pictures

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

25 / 53

Including External Pictures

A L T EX

Preenu C S Introduction Making Type Setting

\usepackage{graphicx} \includegraphics{ } Usually .eps or .ps For .jpeg or .png specify the dimension and use pdflatex scale options resize the images

Alligned Text Pictures


External Pictures

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

25 / 53

Including External Pictures

A L T EX

Preenu C S Introduction Making Type Setting

\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

Alligned Text Pictures


External Pictures

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

26 / 53

Floating Items

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text Pictures

table and gure

Floating Items
Cross-References

Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

26 / 53

Floating Items

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text Pictures

table and gure \caption{ }

Floating Items
Cross-References

Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

26 / 53

Floating Items

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text Pictures

table and gure \caption{ } \listoftables, \listoffigures

Floating Items
Cross-References

Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

27 / 53

Cross-References

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text

\label{ }

Pictures Floating Items


Cross-References

Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

27 / 53

Cross-References

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text

\label{ } \ref{ } Compile atleast two times Example: label.tex

Pictures Floating Items


Cross-References

Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

27 / 53

End of Session II

Mathematics

A L T EX

Preenu C S Introduction Making Type Setting

The packages amsmath, amssymb and amsthm...

Alligned Text Pictures Floating Items Mathematics


Matrices

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

29 / 53

Mathematics

A L T EX

Preenu C S Introduction Making Type Setting

The packages amsmath, amssymb and amsthm... In-line mathematical contends are between $ and $

Alligned Text Pictures Floating Items Mathematics


Matrices

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

29 / 53

Mathematics

A L T EX

Preenu C S Introduction Making Type Setting

The packages amsmath, amssymb and amsthm... In-line mathematical contends are between $ and $ $$. . .$$ is for display mathematical style.

Alligned Text Pictures Floating Items Mathematics


Matrices

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

29 / 53

Mathematics

A L T EX

Preenu C S Introduction Making Type Setting

The packages amsmath, amssymb and amsthm... In-line mathematical contends are between $ and $ $$. . .$$ is for display mathematical style. \[. . .\] or math environment.

Alligned Text Pictures Floating Items Mathematics


Matrices

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

29 / 53

Mathematics

A L T EX

Preenu C S Introduction Making Type Setting

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.

Alligned Text Pictures Floating Items Mathematics


Matrices

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

29 / 53

Mathematics

A L T EX

Preenu C S Introduction Making Type Setting

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

Alligned Text Pictures Floating Items Mathematics


Matrices

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

29 / 53

Mathematics. . .

A L T EX

Preenu C S Introduction Making Type Setting

and _ are used for super and subscripts

Alligned Text Pictures Floating Items Mathematics


Matrices

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

30 / 53

Mathematics. . .

A L T EX

Preenu C S Introduction Making Type Setting

and _ are used for super and subscripts \frac{}{} for fractions

Alligned Text Pictures Floating Items Mathematics


Matrices

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

30 / 53

Mathematics. . .

A L T EX

Preenu C S Introduction Making Type Setting

and _ are used for super and subscripts \frac{}{} for fractions \sqrt[ ]{} for square roots

Alligned Text Pictures Floating Items Mathematics


Matrices

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

30 / 53

Mathematics. . .

A L T EX

Preenu C S Introduction Making Type Setting

and _ are used for super and subscripts \frac{}{} for fractions \sqrt[ ]{} for square roots \alpha, \beta,. . . for Greek alphabets

Alligned Text Pictures Floating Items Mathematics


Matrices

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

30 / 53

Mathematics. . .

A L T EX

Preenu C S Introduction Making Type Setting

and _ are used for super and subscripts \frac{}{} for fractions \sqrt[ ]{} for square roots \alpha, \beta,. . . for Greek alphabets \sin, \cos, \tan, \log,. . .

Alligned Text Pictures Floating Items Mathematics


Matrices

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

30 / 53

Mathematics. . .

A L T EX

Preenu C S Introduction Making Type Setting

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

Alligned Text Pictures Floating Items Mathematics


Matrices

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

30 / 53

Mathematics. . .

A L T EX

Preenu C S Introduction Making Type Setting

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

Alligned Text Pictures Floating Items Mathematics


Matrices

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

30 / 53

Matrices

A L T EX

Preenu C S Introduction Making

The environments bmatrix, pmatrix, vmatrix will produce


1 4 1 pmatrix: 4 1 vmatrix: 4 7 bmatrix: 2 5 2 5 2 5 8 3 6 3 6 3 6 9

Type Setting Alligned Text Pictures Floating Items Mathematics


Matrices

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

31 / 53

Matrices

A L T EX

Preenu C S Introduction Making

The environments bmatrix, pmatrix, vmatrix will produce


1 4 1 pmatrix: 4 1 vmatrix: 4 7 bmatrix: 2 5 2 5 2 5 8 3 6 3 6 3 6 9

Type Setting Alligned Text Pictures Floating Items Mathematics


Matrices

Special Pages New Commands


AT L EX Beamer

Example: matrices.tex

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

31 / 53

Special Pages

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text Pictures

Contents Index Bibliography

Floating Items Mathematics Special Pages


Contents Index Bibliography

New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

32 / 53

Contents

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text Pictures

\tableofcontents will produce Contents

Floating Items Mathematics Special Pages


Contents Index Bibliography

New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

33 / 53

Contents

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text Pictures

\tableofcontents will produce Contents \listoffigures will produce List of Figures \listoftables will produce List of Tables

Floating Items Mathematics Special Pages


Contents Index Bibliography

New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

33 / 53

Contents

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text Pictures

\tableofcontents will produce Contents \listoffigures will produce List of Figures \listoftables will produce List of Tables Example: contents.tex

Floating Items Mathematics Special Pages


Contents Index Bibliography

New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

33 / 53

Index

A L T EX

Preenu C S Introduction Making

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

34 / 53

Index

A L T EX

Preenu C S Introduction Making

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

34 / 53

Index

A L T EX

Preenu C S Introduction Making

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

34 / 53

Index

A L T EX

Preenu C S Introduction Making

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

34 / 53

Index

A L T EX

Preenu C S Introduction Making

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

34 / 53

Bibliography

A L T EX

Preenu C S Introduction Making Type Setting

Bibliography can be produced in two ways Using thebibliography environment Using bibtex

Alligned Text Pictures Floating Items Mathematics Special Pages


Contents Index Bibliography

New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

35 / 53

Bibliography

A L T EX

Preenu C S Introduction Making Type Setting

Bibliography can be produced in two ways Using thebibliography environment Using bibtex The environment thebibliography Similar to enumerate. Use \bibitem to list items

Alligned Text Pictures Floating Items Mathematics Special Pages


Contents Index Bibliography

New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

35 / 53

Bibliography

A L T EX

Preenu C S Introduction Making Type Setting

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

Alligned Text Pictures Floating Items Mathematics Special Pages


Contents Index Bibliography

New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

35 / 53

Bibliography

A L T EX

Preenu C S Introduction Making Type Setting

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

Alligned Text Pictures Floating Items Mathematics Special Pages


Contents Index Bibliography

New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

35 / 53

Bibliography from the database

A L T EX

Preenu C S Introduction Making

Using Bibliographic database

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages
Contents Index Bibliography

New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

36 / 53

Bibliography from the database

A L T EX

Preenu C S Introduction Making

Using Bibliographic database Make the database with extension .bib

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages
Contents Index Bibliography

New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

36 / 53

Bibliography from the database

A L T EX

Preenu C S Introduction Making

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

36 / 53

Bibliography from the database

A L T EX

Preenu C S Introduction Making

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

36 / 53

Bibliography from the database

A L T EX

Preenu C S Introduction Making

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

36 / 53

End of Session III

New Commands

A L T EX

Preenu C S Introduction Making Type Setting

The syntax of newcommand is \newcommand{CommandName}[Variables]{definition}

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

38 / 53

New Commands

A L T EX

Preenu C S Introduction Making Type Setting

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

38 / 53

New Commands

A L T EX

Preenu C S Introduction Making Type Setting

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

38 / 53

New Commands

A L T EX

Preenu C S Introduction Making Type Setting

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

38 / 53

A Presentations Using L TEX Beamer

A L T EX

Preenu C S Introduction Making Type Setting

\documentclass{beamer}

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

39 / 53

A Presentations Using L TEX Beamer

A L T EX

Preenu C S Introduction Making Type Setting

\documentclass{beamer} frame environment for slides \begin{frame}{Frame Title} . . . Contents... . . . \end{frame}

Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

39 / 53

A Presentations Using L TEX Beamer

A L T EX

Preenu C S Introduction Making Type Setting

\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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

39 / 53

Boxes Inside Frames

A L T EX

Preenu C S Introduction Making

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

40 / 53

Boxes Inside Frames

A L T EX

Preenu C S Introduction Making

Block Heading
This box is created by block environment

Type Setting Alligned Text Pictures Floating Items

Block Heading
This box is created by alertblock environment

Mathematics Special Pages New Commands


AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

40 / 53

Boxes Inside Frames

A L T EX

Preenu C S Introduction Making

Block Heading
This box is created by block environment

Type Setting Alligned Text Pictures Floating Items

Block Heading
This box is created by alertblock environment The other box environments are theorem, lemma, corollary, example, proof

Mathematics Special Pages New Commands


AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

40 / 53

Boxes Inside Frames

A L T EX

Preenu C S Introduction Making

Block Heading
This box is created by block environment

Type Setting Alligned Text Pictures Floating Items

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

Mathematics Special Pages New Commands


AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

40 / 53

Boxes Inside Frames

A L T EX

Preenu C S Introduction Making

Block Heading
This box is created by block environment

Type Setting Alligned Text Pictures Floating Items

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

Mathematics Special Pages New Commands


AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

41 / 53

Overlays

A L T EX

Preenu C S Introduction Making

\pause

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

42 / 53

Overlays

A L T EX

Preenu C S Introduction Making

\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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

42 / 53

Overlays

A L T EX

Preenu C S Introduction Making

\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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

42 / 53

Overlays

A L T EX

Preenu C S Introduction Making

\pause \alert<2> \textbf< >

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

42 / 53

Overlays

A L T EX

Preenu C S Introduction Making

\pause \alert<2> \textbf< >, \textit< >,. . .

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

42 / 53

Overlays

A L T EX

Preenu C S Introduction Making

\pause \alert<2> \textbf< >, \textit< >,. . . \onslide< > \only

Type Setting Alligned Text Pictures Floating Items Mathematics Special Pages New Commands
AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

42 / 53

Overlays

A L T EX

Preenu C S Introduction Making

\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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

42 / 53

Overlays

A L T EX

Preenu C S Introduction Making

\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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

42 / 53

Overlays

A L T EX

Preenu C S Introduction Making

\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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

42 / 53

Overlays

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text

Environments
onlyenv

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

43 / 53

Overlays

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text

Environments
onlyenv visibleenv

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

43 / 53

Overlays

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text

Environments
onlyenv visibleenv uncoverenv

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

43 / 53

Overlays

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text

Environments
onlyenv visibleenv uncoverenv invisibleenv

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

43 / 53

Overlays

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text

Environments
onlyenv visibleenv uncoverenv invisibleenv

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Example: Overlays.tex

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits References

cspreenu@gmail.com

44 / 53

Themes

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text Pictures

\usetheme{themename}

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

45 / 53

Themes

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text Pictures

\usetheme{themename} \setbeamercolor{background canvas}{bg= }

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

45 / 53

Themes

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text Pictures

\usetheme{themename} \setbeamercolor{background canvas}{bg= } \usebackgroundtemplate{ } Example: Themes.tex

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

45 / 53

Hyperlinks

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text Pictures

To a Slide:- \hyperlink{ target }{ text }

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

46 / 53

Hyperlinks

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text Pictures

To a Slide:- \hyperlink{ target }{ text } To an external le:- \href{run: filename}

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

46 / 53

Hyperlinks

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text Pictures

To a Slide:- \hyperlink{ target }{ text } To an external le:- \href{run: filename} To play a movie/music:- \movie{ }{ }

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

46 / 53

Hyperlinks

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text Pictures

To a Slide:- \hyperlink{ target }{ text } To an external le:- \href{run: Example: Hyperlink.tex filename} To play a movie/music:- \movie{ }{ }

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer
Boxes and Columns Overlays Transitions Themes

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

46 / 53

Supporting Materials

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text

Handouts The option handout in \documentclass

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

47 / 53

Supporting Materials

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text

Handouts Printout The option printout in \documentclass

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

47 / 53

Supporting Materials

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text

Handouts Printout Transparencies The option trans in \documentclass

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

47 / 53

Supporting Materials

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text

Handouts Printout Transparencies Notes The command \note{ }

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

47 / 53

Supporting Materials

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text

Handouts Printout Transparencies Notes Example: Suport.tex

Pictures Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits


Merits Demerits

References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits


Merits Demerits

References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits


Merits Demerits

References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits


Merits Demerits

References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits


Merits Demerits

References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits


Merits Demerits

References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits


Merits Demerits

Mathematical formulae can be easily typeset.

References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits


Merits Demerits

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

Preenu C S Introduction Making Type Setting Alligned Text Pictures

Unable to view the nal version of the document while editing.

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits


Merits Demerits

References

AT L EX For Scientic Documentation

cspreenu@gmail.com

50 / 53

Demerits

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text Pictures

Unable to view the nal version of the document while editing.


A Awareness of the commands for L TEX markup is the prerequisite.

Floating Items Mathematics Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits


Merits Demerits

References

AT L EX For Scientic Documentation

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

Supporting Materials (DE)Merits


Merits Demerits

References

AT L EX For Scientic Documentation

cspreenu@gmail.com

51 / 53

References

A L T EX

Preenu C S Introduction Making Type Setting Alligned Text

A L TEX Wikibook, Wikipedia, March 2013 A E.Krishnan, L TEX Tutorials, Indian TEX Users Group, Thiruvananthapuram, September 2003

Pictures Floating Items Mathematics Special Pages

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

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

52 / 53

A L T EX

Preenu C S Introduction Making

I cant go to a restaurant and order food because I keep looking at the fonts on the menu. Donald E. Knuth

Type Setting Alligned Text Pictures Floating Items Mathematics

Thank You

Special Pages New Commands


AT L EX Beamer

Supporting Materials (DE)Merits References

AT L EX For Scientic Documentation

cspreenu@gmail.com

53 / 53

Anda mungkin juga menyukai