Introduction to LaTeX - PowerPoint PPT Presentation

About This Presentation
Title:

Introduction to LaTeX

Description:

Introduction to LaTeX A Mathematical typesetting system – PowerPoint PPT presentation

Number of Views:94
Avg rating:3.0/5.0
Slides: 12
Provided by: Librar148
Learn more at: https://www2.kenyon.edu
Category:

less

Transcript and Presenter's Notes

Title: Introduction to LaTeX


1
Introduction to LaTeX
A Mathematical typesetting system
2
The Required ElementsAll LaTeX documents must
include the following parts
  • \documentclass12ptarticle
  • \begindocument
  • \enddocument

The PREAMBLE goes here
The BODY of the document goes here
3
Environments
  • LaTeX code is set up with environments.
    Everything is enclosed in the document
    environment.
  • \begindocument
  • \enddocument

The document environment
4
Environments
  • You enter and leave most environments with
    beginning and ending commands of the form
  • \beginenvironmentname
  • \endenvironmentname

The code/text goes here
5
Some Formatting environments
  • \begincenter . . . \endcenter
  • Numbered lists
  • \beginenumerate
  • \item
  • \item
  • \endenumerate

The first item in the numbered list goes here
The second item in the numbered list goes here
6
More on enumeration
  • If you want sub-headings, nest the lists
  • \beginenumerate
  • \item
  • \beginenumerate
  • \item
  • \item
  • \endenumerate
  • \item
  • \endenumerate

The first item in the sub-list goes here
The second item in the sub-list goes here
7
More on lists
  • If you want bulleted lists, you use the same
    format as for numbered lists with
  • \beginitemize
  • \item
  • \beginitemize
  • \item
  • \item
  • \enditemize
  • \item
  • \enditemize

8
More on lists
  • If you want to designate the headings for the
    lists, you use the description environment
  • \begindescription
  • \itemCase i.
  • \itemCase ii.
  • \enddescription

The text for Case i. goes here
The text for Case ii. goes here
9
Typesetting Mathematics
  • There are two main math environments
  • In-line math mode. This is for equations that
    occur in the same line as narrative. You enter
    and leave in-line math mode with dollar signs.
    Ex f(x)x3-x
  • Displayed math. Several entry/exit choices
  • \begindisplaymath . . . \enddisplaymath
  • . . .
  • \ . . . \

10
Some Miscellaneous Expressions
  • Normal text
  • How many subsets does
    have?
  • LaTeX code
  • How many subsets does \emptyset have?

Notice the use of the backslash ( \ ). This is
your message to LaTeX that you are about to give
it a command.
11
Some Miscellaneous Expressions
  • Normal text
  • How many subsets does
    have?
  • LaTeX code
  • How many subsets does \emptyset have?
  • A \ 1,2,3,4 \
  • A \subseteq B and B \subseteq A.
  • f(x)\fracx31x2.
Write a Comment
User Comments (0)
About PowerShow.com