Introducing Document Preparation with LATEX Stan Reeves A Introduction Introducing Document Preparation with LTEX LATEX Editors Automation Prosper Stan Reeves Beamer Posters Department of Electrical and Computer Engineering June 28, 2010 1 / 38 TEX(τχ) is a typesetting system. METAFONT – Font description language A point on a glyph is found as the intersection of a line segment and a Bezier´ cubic curve Computer modern typeface. 62 parameters control the widths and heights of elements Author of TEX Donald Knuth (1978), computer science professor at Stan- ford TEX Introducing Document Preparation Preparation of a document involves with LATEX Entering text Stan Reeves Formatting text Introduction Display on a screen Printing LATEX Editors Automation Prosper Beamer Posters 2 / 38 TEX Introducing Document Preparation Preparation of a document involves with LATEX Entering text Stan Reeves Formatting text Introduction Display on a screen Printing LATEX Editors TEX(τχ) is a typesetting system. Automation METAFONT – Font description language Prosper A point on a glyph is found as the intersection of a line Beamer segment and a Bezier´ cubic curve Posters Computer modern typeface. 62 parameters control the widths and heights of elements Author of TEX Donald Knuth (1978), computer science professor at Stan- ford 2 / 38 A total-fit line-breaking algorithm Assigns badness. Minimizes SS of badness Hyphenation algorithm Removes prefixes and suffixes Will attempt to put a break between consonants in a pattern of the form vowel-consonant-consonant-vowel. Line breaks LATEX is a set of macros for TEX Written by Leslie Lamport (1984), current release LATEX2" TEX and LATEX Introducing Document Preparation with LATEX Math spacing carefully derived based on typesets in: Stan Reeves Acta Mathematica Indagationes Mathematicae Introduction Addison-Wesley’s books LATEX Editors Automation Prosper Beamer Posters 3 / 38 Hyphenation algorithm Removes prefixes and suffixes Will attempt to put a break between consonants in a pattern of the form vowel-consonant-consonant-vowel. LATEX is a set of macros for TEX Written by Leslie Lamport (1984), current release LATEX2" TEX and LATEX Introducing Document Preparation with LATEX Math spacing carefully derived based on typesets in: Stan Reeves Acta Mathematica Indagationes Mathematicae Introduction Addison-Wesley’s books LAT X E Line breaks Editors total-fit Automation A line-breaking algorithm Assigns badness. Minimizes SS of badness Prosper Beamer Posters 3 / 38 LATEX is a set of macros for TEX Written by Leslie Lamport (1984), current release LATEX2" TEX and LATEX Introducing Document Preparation with LATEX Math spacing carefully derived based on typesets in: Stan Reeves Acta Mathematica Indagationes Mathematicae Introduction Addison-Wesley’s books LAT X E Line breaks Editors total-fit Automation A line-breaking algorithm Assigns badness. Minimizes SS of badness Prosper Beamer Hyphenation algorithm Posters Removes prefixes and suffixes Will attempt to put a break between consonants in a pattern of the form vowel-consonant-consonant-vowel. 3 / 38 TEX and LATEX Introducing Document Preparation with LATEX Math spacing carefully derived based on typesets in: Stan Reeves Acta Mathematica Indagationes Mathematicae Introduction Addison-Wesley’s books LAT X E Line breaks Editors total-fit Automation A line-breaking algorithm Assigns badness. Minimizes SS of badness Prosper Beamer Hyphenation algorithm Posters Removes prefixes and suffixes Will attempt to put a break between consonants in a pattern of the form vowel-consonant-consonant-vowel. LATEX is a set of macros for TEX Written by Leslie Lamport (1984), current release LATEX2" 3 / 38 Pronunciation of LATEX Introducing Document Preparation with LATEX Stan Reeves no single agreed-upon pronunciation Introduction T X derives from the Greek τχνη, which means “art, LATEX E Editors skill, craft” Automation origin of the name suggests that “X” be pronounced like Prosper the “ch” in “technical” Beamer Options: Posters LAYtek LAHtek LahTEK 4 / 38 FREE & open source Why LATEX? Introducing Document It is a natural choice if you want to create beautiful Preparation with LATEX output Stan Reeves A structured system of typesetting. Spend time and Introduction effort on content not on layout LATEX Works across platforms Editors Handles math well Automation Table of contents, list of figures, bibliography etc. Prosper Cross-referencing features Beamer Stable processing engine Posters Highly extensible Input is plain text Output can be anything Complete document preparation. Articles, presentations, posters, HTML. 5 / 38 Why LATEX? Introducing Document It is a natural choice if you want to create beautiful Preparation with LATEX output Stan Reeves A structured system of typesetting. Spend time and Introduction effort on content not on layout LATEX Works across platforms Editors Handles math well Automation Table of contents, list of figures, bibliography etc. Prosper Cross-referencing features Beamer Stable processing engine Posters Highly extensible Input is plain text Output can be anything Complete document preparation. Articles, presentations, posters, HTML. FREE & open source 5 / 38 LATEX vs. MS Word Introducing Document Preparation with LATEX Stan Reeves LATEX MS Word Introduction WYSIWYG × X LATEX Platform independent X × Editors Math XX Automation Citations & references X × Prosper Automated TOC, LoF X × Beamer Cross-references X × Posters Style changes XX Multimedia XX Free X × 6 / 38 LATEX MS Word Equation Editor Why LATEX? Introducing Document Preparation with LATEX Stan Reeves Introduction 1 LATEX Z rm+wm Z rn+wm+pT 2 X 0 0 Editors Imn(λ) = I0(λ)Tm(λ) dx PSF(x − x )dx r rn+pT Automation p=−∞ m Prosper Beamer Posters 7 / 38 Why LATEX? Introducing Document Preparation with LATEX A Stan Reeves LTEX Introduction 1 LATEX Z rm+wm Z rn+wm+pT 2 X 0 0 Editors Imn(λ) = I0(λ)Tm(λ) dx PSF(x − x )dx r rn+pT Automation p=−∞ m Prosper Beamer MS Word Equation Editor Posters 7 / 38 Why LATEX? Introducing Document Preparation with LATEX Stan Reeves Introduction LATEX Editors Automation Prosper Beamer Posters 8 / 38 Installation Introducing Document Preparation with LATEX Packages Stan Reeves Back-end Front-end Introduction Windows MikTEX,TEXLive WinEdt, TEXnicCenter LAT X E Mac CMacTEX, OzTEXTEXShop iTEXMac Editors Linux teT X, T X Live Kile Automation E E Prosper Beamer Posters CoE Windows labs have: MikTEX TEXnicCenter 9 / 38 LATEX for the PC Introducing Document Preparation with LATEX Stan Reeves To install LATEX on your PC you need: Introduction The back-end: The base TEX package LATEX Windows Editors (MikTEX). Available at the MikTEX homepage Automation TEXLive Prosper Ghostscript, Ghostview, and GSview. Beamer The front-end:ALAT X editor (WinEdt, T XnicCenter) Posters E E WinEdt: evaluation version. TEXnicCenter: free Available at the WinEdt homepage or at Sourceforge.net 10 / 38 The downside Introducing Document Preparation with LATEX Stan Reeves Introduction There are certain “disadvantages” LATEX Editors Somewhat steep learning curve Automation Not interactive. Have to use pre-viewer before finalizing Prosper Beamer document Posters Difficult to create your own document type 11 / 38 LATEX workflow LATEX workflow Document preparation Introducing with LATEX Document PreparationAuburn U. withChapter LATEX of SIAM and StanIEEE Reeves Student Chapter Introduction Introduction LATEX A EditorsLTEX Editors Automation Automation Prosper Prosper Beamer Beamer Posters Posters pdflatex is an alternative workflow that goes straight from the *.tex file to a PDF file. 12 / 38 Getting started Introducing Document Preparation \documentclass{article} with LATEX Stan Reeves \begin{document} Introduction \section{Introduction} LATEX The conditional probability of an event $A$ assuming another Editors event $M$, denoted by $P(A\,|M)$, is by definition the ratio Automation \begin{align} P(A\,|M) &= \frac{P(AM)}{P(M)} Prosper \end{align} Beamer \subsection{Bayes’s theorem} Posters Bayes’s theorem for probability densities is given by: \begin{align} p(x|y) &= \frac{p(y|x)p(x)}{p(y)} \end{align} \end{document} 13 / 38 Getting started Introducing Document Preparation with LATEX Stan Reeves Introduction LATEX Editors Automation Prosper Beamer Posters 14 / 38 LaTeX Documents Introducing Document Preparation with LATEX Stan Reeves Introduction n is used to start LAT X commands LATEX E Editors % is used to start a comment Automation &, $, #, , ˆ, f g and ˜ are special characters Prosper Beamer Words are separated by one or more spaces. Posters Paragraphs are separated by one or more blank lines. 15 / 38 Sectioning commands Introducing Document Preparation with LATEX Stan Reeves The sectional units in an article are produced by the Introduction following commands: LATEX Editors \chapter{title} Automation \section{title} Prosper Beamer \subsection{title} Posters \subsubsection{title} \paragraph{title} 16 / 38 List Environments Introducing \begin{itemize} Document Preparation \item enumerate: Numbered lists with LATEX \item itemize: Bulletted lists Stan Reeves \end{itemize} Introduction LAT X E enumerate: Numbered lists Editors Automation itemize: Bulleted lists Prosper Beamer \begin{enumerate} Posters \item enumerate: Numbered lists \item itemize: Bulletted lists \end{enumerate} 1 enumerate: Numbered lists 2 itemize: Bulletted lists 17 / 38 Math Introducing Document Preparation with LATEX Inline math Stan Reeves Inline math appears within a line and must appear enclosed in $ signs. $xˆ2 = 2 Introduction \Rightarrow x = \pm
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages47 Page
-
File Size-