Beruflich Dokumente
Kultur Dokumente
Document Types
Front Matter
Inside Article
Lecture 2
LATEX- Documentation with article
Chintan Kr Mandal
Exercise
The Beginning
Document Types
Front Matter
Inside Article
Exercise
The editors
Texmaker, TeXworks
Vim
Kile (available only for Ubuntu / Fedora / . . . open source o/s)
WinEdt (available only for Microsoft Windows )
The Beginning
Document Types
Front Matter
Inside Article
Exercise
The Beginning
Document Types
Front Matter
Inside Article
Exercise
Steps . . .
Open the editor and write the following.
\documentclass{article}
\begin{document}
My first LaTeX document!
\end{document}
Save it as example.tex
By typing latex example.tex into your shell, one gets
example.dvi
The latex compiler (latex) generates .dvi (device independent)
files from the tex sources. .dvi files can be viewed by a dvi
viewer (e.g Yap which come with the mikTeX environment)
The Beginning
Document Types
Front Matter
Inside Article
The flowchart !!
Exercise
The Beginning
Document Types
Front Matter
Inside Article
Exercise
The Beginning
Document Types
Front Matter
Document Types
Inside Article
Exercise
The Beginning
Document Types
Front Matter
Inside Article
\documentclass[options]{class}
Different class-es
article
book
report
slides
beamer
Papers in general with no extra title page (scientific papers, seminar work, reports, descriptions,
etc.)
For books
For
reports
divisions:
chapter,section,subsections,subsubsection,paragraph
For slides and presentations
Exercise
The Beginning
Document Types
Front Matter
Inside Article
\documentclass[options]{class}
Different option-s
10pt / 11pt / 12pt
letterpaper / a4paper
/ portrait (default) /
landscape / letterpaper
/ oneside (default) /
twoside
onecolumn (default) /
twocolumn
font size
paper format
Number of columns in
the article
Exercise
The Beginning
Document Types
Front Matter
Inside Article
Exercise
The Beginning
Document Types
Front Matter
Inside Article
Front Matter
Exercise
The Beginning
Document Types
Front Matter
Inside Article
Exercise
The Beginning
Document Types
Front Matter
Inside Article
Exercise
The Beginning
Document Types
Front Matter
Inside Article
LaTeX Commands
Exercise
The Beginning
Document Types
Front Matter
Inside Article
Exercise
The Beginning
Document Types
Front Matter
Inside Article
Section of a document without section number : \section*[Short Section Name (opt)]{Long Section Name}
Sub-section of a section of a document without subsection
number : - \subsection*[Short Sub-section Name
(opt)]{Long Sub-section Name}
Sub-subsection of a section of a document without
sub-subsection number : - \subsubsection*[Short
Sub-secsection Name (opt)]{Long Sub-subsection Name}
Exercise
The Beginning
Document Types
Front Matter
Inside Article
Exercise
The Beginning
Document Types
Front Matter
Inside Article
Environments
Exercise
The Beginning
Document Types
Front Matter
Inside Article
Exercise
Grouping
Text can be grouped using {Some text}
Changes inside group are local
To emphasize text in a sentence
This is {\bf important} !!
This is important !!
Effect of command (or declaration) \bf ends with end of group
The Beginning
Document Types
Front Matter
Inside Article
Exercise
The Beginning
Document Types
Front Matter
Exercise
Inside Article
Exercise
The Beginning
Document Types
Front Matter
Inside Article
Exercise
Exercise
Create an article of your favourite topic by the name fav.tex
with your editor .
Remember, that as we move along in our discussion, we are
going to add new data to your article.
The article should have a heading, the authors name with his
affiliation.
The article should have at least a section and a subsection.
Pssstttt . . . . . . U can copy the data from the internet pages if
you want BUT dont tell anyone you copied from the internet
!!!!!
Time : 10 mins
The Beginning
Document Types
Front Matter
Questions !!
Inside Article
Exercise
The Beginning
Document Types
Front Matter
Thank you !!
Inside Article
Exercise