LaTeXTeX - PowerPoint PPT Presentation

1 / 14
About This Presentation
Title:

LaTeXTeX

Description:

LaTeX/TeX. TeX is a document preparation system developed by Donald Knuth in an ... DVI file in turn can be converted in a wide variety of printable formats (eg pdf) ... – PowerPoint PPT presentation

Number of Views:46
Avg rating:3.0/5.0
Slides: 15
Provided by: hsa8
Category:

less

Transcript and Presenter's Notes

Title: LaTeXTeX


1
LaTeX/TeX
  • TeX is a document preparation system developed by
    Donald Knuth in an attempt to get nicer looking
    print.
  • LaTeX is a TeX based package build on TeX. LaTeX
    is easier to use and the recommended choice for
    most users.

2
LaTeX
  • Whats it good at?
  • Automatic layout of text
  • Excellent line spacing algorithm
  • Excellent at generating math typeset
  • Bibliography
  • Many journals accept LaTeX
  • Available on all platforms
  • Can be converted to many different formats, eg
    ps, pdf

3
LaTeX
The basic idea Write your document using a
normal text editor and place inside your text
document, LaTeX commands, for example \bf This
is a bold sentence are grouping symbols -
same as in C \x is a LaTeX command.
4
LaTeX
Skeleton File \documentclassarticle \begindo
cument Your text goes in here \enddocument
5
LaTeX
  • Running LaTeX on MiTeX

latex mydoc // run file through latex
(compile) yap mydoc // display results of
compile (or double-click on the dvi file from
windows explorer) pdflatex mydoc // generate pdf
file Compiling a LaTeX document generates an
intermediate file called a DVI file. The DVI file
in turn can be converted in a wide variety of
printable formats (eg pdf) LaTeX/TeX files must
have extension .tex With a bit of research you
would probably also find the WinEdt latex editor
which allows you to edit and run Latex from a
graphical interface instead of the MSDOS prompt.
6
LaTeX
  • Running LaTeX from genesis

latex mydoc // run file through latex
(compile) dvips mydoc // generate
postscript dvipdf mydoc // generate pdf LaTeX
? DVI ? render on to output
device LaTeX/TeX files must have extension .tex
7
LaTeX
  • Special Characters

_ \ If you want to generate these
in your text use \ \ \ \ \_ \\
\ \ is use to start a comment is used in
math _ and are used in math are used to
limit the scope of commands
8
LaTeX
  • Sample Code

\documentclassarticle \begindocument This is
a simple sentence. \bf To make things bold \em
To emphasize text An equation in a sentence is
written using x2n 4 An so-called
display equation is written using x2n 4
\enddocument
9
LaTeX
  • Sample Code

\documentclassarticle \begindocument \section
Introduction x \fracy z/2y2 1
z \sqrtx y
10
LaTeX
  • Sample Code

\frac\partial y\partial x \sumn
\alpha_i \frac\pi\chi \sumn_i1
x_i \int_01 f
11
LaTeX
  • Sample Code

\left \beginarrayccc x y
z\\ x2 y2 z2 \\
\endarray \right \underbracea
\overbraceb \cdots y24 x_26
\enddocument
12
LaTeX
  • Other facilities
  • Tables
  • Different kinds of lists
  • Importing postscript (eps) or other formats
  • Color
  • Many different kinds fonts and symbols
  • Extendible with the built-in programming language
  • Bibliography

13
LaTeX
  • Integration into PowerPoint

Use TexPoint to add LaTeX facilities to
PowerPoint slides http//raw.cs.berkeley.edu/texp
oint/TeXPoint.htm
14
LaTeX
  • Documentation

http//carbon.cudenver.edu/hgreenbe/sites/latex.h
tml http//www.silmaril.ie/downloads/documents/be
ginlatex.pdf
Write a Comment
User Comments (0)
About PowerShow.com