Sunteți pe pagina 1din 59

LATEX

A comprehensive learning
tool to produce well-formed
print quality document
LaTeX
 LaTeX; What it is ?
 Very brief History of LaTex in nutshell.
 We as Engineers and prospective
researchers should learn LaTex ; Why ?
 List of Advantages and not the other
 The Work bench to produce the
document with LaTex support
 The organization of the Latex document
LATEX PRESENTATION DR YASHPAL SINGH 2
Learning Sources...
 www.ctan.org
CTAN (an acronym for "Comprehensive TeX
Archive Network") is the authoritative place
where TeX related material and software can
be found for download.
1. Latex Wiki Books
2. A guide to Latex by Helmunt Kopka
3. Latex document preparation System by
Leslie Lamport
LATEX PRESENTATION DR YASHPAL SINGH 3
Learning Sources...
4. The Kile Hand Book by Jonathan Pechta
5. The not so short Introduction to Latex
by Tokias Oetiker
6. Maths into Latex by George Gratzer
7. Latex Table hints and Tips by Adrian P
Robson
8. On Line Tutorial on LaTex by Indian Tex
users Group (ITUG)
9. LaTex an Introduction by Mike UnWalla

LATEX PRESENTATION DR YASHPAL SINGH 4


Learning Sources...
10. LaTex for Academics and researchers by Peter
Floam
11. The comprehensive Latex Symbol List by
Scroll Pakin
12. Writing a Paper with LaTex by Joe Struss
13. Learning Latex by David Griffiths
14. LaTex Tutorial by Jeff Clark
15. LaTex Graphics and Tables , D. M. Auslander
16. And above all, Your Google Search Engine and
Still Many more to Consult ………
LATEX PRESENTATION DR YASHPAL SINGH 5
What LaTex is ?
 It is a document preparation System not
as a word processor like MS Word, Open
Office and its variants like star office, libre
office suite etc.
 Unlike a word Processor, which produces
document as WYSIWYG basis, Latex does
not deliver WYSIWYG basis, it is rather a
Language Processor that delivers output
after processing.
LATEX PRESENTATION DR YASHPAL SINGH 6
Advantages…And Beyond…
The source file is Ascii text file
Editing through a Text editor and compilation
of the text file delivers the output in desired
format dvi, ps, pdf etc
 Very large document can be produced by
segmenting the desired text as a file consisting
of sequence of input of sub-files and compiling
the combined-input file
 Have a complete control over the output
Disadvantage: Steep Learning Curve
LATEX PRESENTATION DR YASHPAL SINGH 7
What the Creator Says...

 In the Language of Donad E. Knuth, the creator


of TeX in his TeX book addressed as ``GENTLE
READER : My few words about TEX, a new
typesetting system intended for the creation of
beautiful books and especially for books that
contain a lot of mathematics
 you will be telling a computer exactly how the
manuscript is to be transformed into pages
whose typographic quality is comparable to
that of the world’s finest printers;.
LATEX PRESENTATION DR YASHPAL SINGH 8
In the words of the Creator..

 yet you won’t need to do much more work


than would be involved If you were simply
typing the manuscript on an ordinary
typewriter.
 In fact, your total work will probably be
significantly less, if you consider the time it
ordinarily takes to revise a typewritten
manuscript, since computer text files are
so easy to change and to reprocess.''
LATEX PRESENTATION DR YASHPAL SINGH 9
LATEX PRESENTATION DR YASHPAL SINGH 10
The LaTex from TeX

 An important boost to that popularity


came in 1984 with the introduction of
\LaTeX by Leslie Lamport. This is a set of
commands that allows authors to interact
with the system at a higher level than
Knuth's original command set (called
Plain TeX).

LATEX PRESENTATION DR YASHPAL SINGH 11


The LaTex from TeX ...

 Another boost came in 1990, when Hans


Hagen introduced ConTeXt to the world;
Con\TeXt started with similar aims to
(though a different focus from) \LaTeX,
and is also very widely used. Both LaTeX
and ConTeXt have large and active user
communities.

LATEX PRESENTATION DR YASHPAL SINGH 12


Ten Good Reasons...
 These are the reasons most often cited for using
TeX, grouped into four areas:
 1. Output Quality, 2. Superior Engineering,
 3. Freedom, and 4. Popularity. (see the description )
 Details:
 TeX has the best output.
 TeX knows typesetting.
 TeX is fast.
 TeX is Stable
 TeX is stable, but not rigid.
 The input is plain text
 The output can be any of the desired formats.
 TeX is free.
 TeX runs anywhere
 TeX is the standard.
LATEX PRESENTATION DR YASHPAL SINGH 13
The Work bench
 Windows Based OS with MikTex (free ) , WinEdt
(Prop), Texnic Center (free), XeTex (Prop)
 Linux based OS with the following LaTex front
end IDEs ( All Free ) can be installed.
 Kile
 LaTexila
 TeXmaker
 TeXworks
 TeXstudio
 The LyX LaTex Word processor
LATEX PRESENTATION DR YASHPAL SINGH 14
LaTex Flavours ...
 Various Communities and authors have
customized the LateX to give standrds.
 AmTex American Mathematical Scoiety
LaTex
 RevTex : American Physical Scociety Latex
 VTex Earlier DOS Version

LATEX PRESENTATION DR YASHPAL SINGH 15


Getting Started
 Organization of a LaTex Document
Header --- Preamble---Body
Every LaTex document must contain
the following three entities. Every
thing else is optional.
1. \documentclass{classtype}
2. \begin{document}
3. \end{document}
LATEX PRESENTATION DR YASHPAL SINGH 16
Get Going with LaTex...
 Class type to process is article, report, book,
letter or any other customizable class like thesis,
question etc.,
 Good nos. of LaTex Front-end IDEs are
available, pick one after testing each.
 ‘’Kile IDE” ( I Like it ). You may choose any.
 A Linux based PC/ Laptop having any Linux based
OS (I preferred Fedora) installed, the following
commands will completely installed the IDEs

LATEX PRESENTATION DR YASHPAL SINGH 17


Finally..To LaTeX not To LaTeX

LATEX PRESENTATION DR YASHPAL SINGH 18


The LaTex Frontend and others
Installing in the Computer……………..
 Login as root and at the # prompt, with net connection,
execute the following commands one after the other.
 #yum install latex*
 #yum install tex*
 #yum install tetex*
 #yum install texlive*
 #yum install kile*
 #yum install lyx*
Once the software installation is complete, you are ready to
work with any of the latex front-ends to prepare a latex
document.
LATEX PRESENTATION DR YASHPAL SINGH 19
Preparing your first Document

 Your Desktop/ Laptop being installed with


fedora linux distribution and If you are using
the GNOME Desktop, from the all software
list locate the kile icon and add to your
favorites by right clicking and then accepting
by left clicking.
 Click on the kile icon from the left most
column of favourites to open the application
as shown below.
LATEX PRESENTATION DR YASHPAL SINGH 20
LATEX PRESENTATION DR YASHPAL SINGH 21
Kile, a brief introduction

LATEX PRESENTATION DR YASHPAL SINGH 22


LATEX PRESENTATION DR YASHPAL SINGH 23
LATEX PRESENTATION DR YASHPAL SINGH 24
LATEX PRESENTATION DR YASHPAL SINGH 25
Starting a new document using a predefined or
custom made template (Menu: File->New).

Starting a new document using a predefined


or custom made template (Menu: File->New).

LATEX PRESENTATION DR YASHPAL SINGH 26


LATEX PRESENTATION DR YASHPAL SINGH 27
LATEX PRESENTATION DR YASHPAL SINGH 28
Starting a new document using a predefined or
custom made template (Menu: Wizard->Quick Start).

LATEX PRESENTATION DR YASHPAL SINGH 29


After typing the first few characters of a (La)TeX
command, Kile can complete the command for you. The
behavior of this autocomplete feature is fully
configurable in Settings->Configure Kile->Complete.

LATEX PRESENTATION DR YASHPAL SINGH 30


There are keyboard shortcuts to select, delete
environments, paragraphs, TeX blocks. You can
even let Kile complete an "open" environment.

LATEX PRESENTATION DR YASHPAL SINGH 31


All the files in your project are scanned for labels
and references. You can use this by pressing Ctrl-Space
after typing \ref{ or \cite{. This feature works best
if your files belong to a project.

LATEX PRESENTATION DR YASHPAL SINGH 32


Easy insertion of difficult-to-remember LaTeX
symbols.

LATEX PRESENTATION DR YASHPAL SINGH 33


LaTeX command library for most
of the common commands

LATEX PRESENTATION DR YASHPAL SINGH 34


The results are clear and cleaner presentation.
Just click on the error or warning to jump to the location that
caused the problem

LATEX PRESENTATION DR YASHPAL SINGH 35


The structure view gives you an overview of
the structure of your document. Click on the
a section header in this view to jump to the
location of this section in your document.

LATEX PRESENTATION DR YASHPAL SINGH 36


The "Project & Files" view show the currently opened files and
projects. The projects are shown as a hierarchal tree of all the
files in your project. The allows you to easily navigate between
files in your project

LATEX PRESENTATION DR YASHPAL SINGH 37


In the "Project Options" dialog you can fine-tune the
settings for your project. For example, you might need
a different QuickBuild command for your project.

LATEX PRESENTATION DR YASHPAL SINGH 38


Kile can quickly create a tarball of your project
.

LATEX PRESENTATION DR YASHPAL SINGH 39


Edit, add or remove LaTeX tools at your will. The build
system can be completely reconfigured to meet your
needs.

LATEX PRESENTATION DR YASHPAL SINGH 40


To maximize your editing window the side and bottom
bars can be minimized. Also, there is a special full-
screen mode accessible through the View menu.

LATEX PRESENTATION DR YASHPAL SINGH 41


Place the cursor in a LaTex keyword and select Help->Context Help.
Kile will look up the relevant section in the TeX documentation. In
Settings->Configure Kile->Help you can choose between using the
brief LaTex reference or the more extended local TeX help system.

LATEX PRESENTATION DR YASHPAL SINGH 42


LATEX PRESENTATION DR YASHPAL SINGH 43
LATEX PRESENTATION DR YASHPAL SINGH 44
LATEX PRESENTATION DR YASHPAL SINGH 45
LATEX PRESENTATION DR YASHPAL SINGH 46
LATEX PRESENTATION DR YASHPAL SINGH 47
LATEX PRESENTATION DR YASHPAL SINGH 48
LATEX PRESENTATION DR YASHPAL SINGH 49
LATEX PRESENTATION DR YASHPAL SINGH 50
LATEX PRESENTATION DR YASHPAL SINGH 51
LATEX PRESENTATION DR YASHPAL SINGH 52
LATEX PRESENTATION DR YASHPAL SINGH 53
LATEX PRESENTATION DR YASHPAL SINGH 54
LATEX PRESENTATION DR YASHPAL SINGH 55
LATEX PRESENTATION DR YASHPAL SINGH 56
LATEX PRESENTATION DR YASHPAL SINGH 57
LATEX PRESENTATION DR YASHPAL SINGH 58
LATEX PRESENTATION DR YASHPAL SINGH 59

S-ar putea să vă placă și