Lecture1 - \documentclass[11pt]cfw_article % Generic LaTex...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
\documentclass[11pt]{article} % Generic LaTex File -- anything after a % is a comment % The following is a list of LaTeX packages that we're going to import for this document. Most TeX distributions come with a large number of built in % packages. More can easily be found online as necessary. \usepackage{amssymb,amsmath,amsthm,graphicx} \usepackage{url} \parskip 7pt % sets spacing between paragraphs \parindent 0pt % sets leading space for paragraphs %The following 3 lines require the package amsmath or amsthm \newtheorem{theorem}{Theorem}[section] % Define a labeled enunciation called ``Theorem'' and label it by section \theoremstyle{definition} %So the definitions and examples don't appear italicized \newtheorem{definition}[theorem]{Definition} % Define a labeled enunciation called ``Definition'' and use the same counter as ``Theorem'' \newtheorem{example}[theorem]{Ex.} %Define a labeled enunciation called ``Ex.'' and use the same counter as ``Theorem'' \begin{document} \title{Introduction to \LaTeX} \author{Greggo Johnson, Tim Flaherty, Noel J. Walkington, et al.} \date{\today} \maketitle \begin{abstract} This document is a compilation of documents written by Noel J. Walkington, Tim Flaherty, Greggo Johnson and various LaTeX-related websites. \end{abstract} \section{Introduction} LaTeX is a document preparation system for high-quality typesetting. It is most often used for medium-to-large technical or scientific documents but it can be used for almost any form of publishing. LaTeX is based on Donald E. Knuth's TeX typesetting language or certain extensions. LaTeX was first developed in 1985 by Leslie Lamport, and is now being maintained and developed by the LaTeX3 Project. If you're new to TeX and LaTeX or just want an easy installation, get a full TeX distribution. \LaTeX is not a stand-alone typesetting program in itself, but document preparation software that runs on top of Donald E. Knuth's TeX typesetting system. TeX distributions usually bundle together all the parts needed for a working TeX system and they generally add to this both configuration and maintenance utilities. Nowadays LaTeX, and many of the packages built on it, form an important component of any major TeX distribution. The best and easiest way to learn LaTeX is by example. Compile this file and then read and compare the pdf file and the TeX file. \section{The Basics} When preparing input, try and get all the \verb|{|'s matched up with their corresponding \verb|}|'s. Similarly for the \verb|$|'s. LaTeX has a hard time with mismatched braces and dollars. LaTeX files have the following structure. \begin{verbatim}
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
\documentclass[11pt]{article} % Any preamble goes here. \begin{document} % The document you type goes here. \end{document}
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/19/2011 for the course MATH 21126 taught by Professor Johnson during the Spring '11 term at Carnegie Mellon.

Page1 / 7

Lecture1 - \documentclass[11pt]cfw_article % Generic LaTex...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online