LaTex By Wen Ying Gao.

Slides:



Advertisements
Similar presentations
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
Advertisements

CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
Chapter 2 HTML Basics Key Concepts
Lesson 16 Enhancing Documents
Microsoft Word Objectives: Word processing using Microsoft Word
157A, Fall Semester 2006 Brent Turner. Presentation Contents: 1. What Is LaTeX? 2. History of LaTeX 3. LaTeX Use 4. Typesetting – HTML vs. LaTeX 5. LaTeX.
Word Processing Mathematics. Word Processing  More professional  Don’t use handwritten symbols  Don’t use poorly word processed symbols.
Rolando V. RaqueñoMonday, June 15, Quick LaTeX Tutorial.
Senior Project – I.D. Math & Computer Science jsMath Equation Editor Dana Cartwright Advisors – Prof. Cervone & Prof. Striegnitz Editor Design -
School of Aeronautics and Astronautics Introduction to by Arun K. Subramaniyan
Chapter 12: Network Programming Desktop Publishing Translator models Latex Documentation Preparation Postscript programming language WYSIWIG Editors.
Developing a Basic Web Page with HTML
How to Open Microsoft Word Click Start Click All Programs Click Microsoft Office Click Microsoft Word 2013.
LaTeX Tutorial. What is LaTeX? TeX is a typesetting system designed in 1978 to automate the production of high quality print using any type of computer.
Using Cascading Style Sheets (CSS) Dept. of Computer Science and Computer Information CSCI N-100.
Word Processing Mathematics. Word Processing  More professional  Don’t use handwritten symbols  Don’t use poorly word processed symbols.
Computer Applications I Unit 3 Study Guide 1 Introduction to Formatting, Alignment and Page Setup.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Latex A document preparation system All academic staff in Computer Science publish their work using Latex – NOT Microsoft Word. Why? Note to self – press.
For AMS 200, 2009 Dept. of Applied Math & Statistics School of Engineering University of California Santa Cruz, CA A Very Short Introduction to LaTeX.
Tux Paint Reviewed by team iTeach Jodi Hovest, Scottie Fetters, & Melanie Stainbrook.
Introduction to LaTeX PRISM Brownbag Series June 9 th, 2009 Byungwon Woo.
Introduction to… About Tex & LaTeX What is TeX? What is LaTeX? Advantages - Disadvantages.
Review Questions for Chapter 1 Test
Today’s Topic Language of web page - HTML (Hypertext Markup Language)
Using graphics/images in LaTeX By Matt Edwards. Introduction  How do you go about using graphics in LaTeX?  What we’ll cover: Syntax Attributes.
Tutorial 1 Developing a Basic Web Page. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives – Lesson 1 Introduction to the.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
XP Mohammad Moizuddin Creating Web Pages with HTML Tutorial 1 1 New Perspectives on Creating Web Pages With HTML Tutorial 1: Developing a Basic Web Page.
 What is a formula in Excel?  A formula is statement written by the user to be calculated. Formulas can be as simple or as complex as the user wants.
MSOffice WORD.
XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 01: Introduction to HTML.
Chapter 3 Basic Statistics Section 2.2: Measures of Variability.
Measures of Variability Objective: Students should know what a variance and standard deviation are and for what type of data they typically used.
Excel. Spreadsheet Software  What Is a Spreadsheet, and How Does It Work? A spreadsheet program allows users to perform simple and complex sorting. It.
SPREADSHEET BASICS SPREADSHEET BASICS What are the benefits of using a spreadsheet to solve a problem?
MSOffice WORD 1 Microsoft® Office 2010: Illustrated Introductory Part 1 ®
June LaTeX " A typesetting package for formatting and creating documents. Created by L. Lamport based on TeX designed by D. Knuth. " Alphanumeric.
1 LaTeX For Dummies Mulugeta Gebregziabher Division of Biostatistics and Epidemiology MUSC April 4, 2011.
1 Lesson 8: Basic Monte Carlo integration We begin the 2 nd phase of our course: Study of general mathematics of MC We begin the 2 nd phase of our course:
Text, not Word Processing Gordon J. Pace March 2006 First steps.
Pseudocode Simple Program Design Third Edition A Step-by-Step Approach 2.
SIGNewGrad: Intro to LaTeX
3.3 Expected Values.
Educational Research: Competencies for Analysis and Application, 9 th edition. Gay, Mills, & Airasian © 2009 Pearson Education, Inc. All rights reserved.
Seminar Sam Panzer. Good Evening, and Welcome First, an overview of what these seminars will cover Topics: – What you need to get started – What LaTeX.
 2008 Pearson Education, Inc. All rights reserved JavaScript: Introduction to Scripting.
C151 Multiuser Operating Systems Introduction to LaTeX.
CSE470 Software Engineering Fall Tools - Overview LaTeX – Tool to create documents RCS – Revision Control System, to maintain multiple versions.
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2- part 2 Key Concepts 1 Copyright © Terry Felke-Morris.
What is it and Why use it?.  MS Word is a word processor developed by Microsoft  Word Processor - an electronic device or a computer software application.
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Solving One-Step Equations Unit 10. To Solve an Equation 1.Isolate the variable – get the letter by itself Inverse Operation 2.Use the Inverse Operation.
PHP Form Processing * referenced from
R 賴威昇 Introduction 2. Why using LaTeX ? 3. LaTeX usage: ◦ Backbone ◦ Equation ◦ Figure ◦ Table ◦ BibTex 4. Compile 5. Conclusion.
Part 1 Learning Objectives To understand that variables are a temporary named location to store data and that programmers work with different data types.
LaTex -Computer scientist named Donald Knuth developed the program called Tex, in 1978.(mainly focused on formulae) -Later a mathematician and computer.
1 Winter Quarter 2003Rolando V. Raqueño Quick LaTeX Tutorial.
LaTeX Tutorial. What is LaTeX? TeX is a typesetting system designed in 1978 to automate the production of high quality print using any type of computer.
LATEX By GerardoVela 3/27/2015.
Chapter 6 JavaScript: Introduction to Scripting
Lesson 16 Enhancing Documents
Lesson 16 Enhancing Documents
LaTeX Tutorial.
Tutorial 4 – Desktop Publishing
Unit# 6: ICT Applications
Basic usage and packages of TEX
Unit 2 – Section 1 “Solving One-Step Equations”
Presentation transcript:

LaTex By Wen Ying Gao

What is LaTeX? LaTeX is a typesetting system with the features that enhance the formatting of the documents. It is efficient for using on publication of books or articles. It can save user’s time by automatically formatting the sections, equations, and pictures of the documents.

Example of LaTeX: Here is a sample of LaTeX syntax: \documentclass{article} \ttfamily\title{Wonderful Town} \author{Wendy Gao} \date{February 2006} \begin{document} \maketitle \itshape There is a \bfseries{Wonderful Town} \mdseries{located at the end of the country. This town full of happy people….} \end{document}

Sample of PDF formatted of the article:

Syntax of the LaTeX Using LaTeX to produce a document: \documentclass \begin{document} (The text is typed here) … \end{document} LaTeX will automatically indent and put in paragraph for the text by simply double line the text. For no indent paragraph, we can use the \noindent control sequence at the beginning of the paragraph.

Example for creating paragraphs in LaTeX: \documentclass{article} \begin{document} During the 1960s, many large software development efforts encountered severe difficulties. Software schedules were typically late, costs greatly exceeded budgets and the finished products were unreliable. \vspace{10 mm} \noindent People began to realize that software development was a far more complex activity than they had imagined. \end{document}

Result:

LaTeX for Simple Document By using LaTeX, all the document formats are typed within the text. LaTeX using control sequences, which consist of a backslash follow by a string of letters, to indicate the format of the text.

Text Format Control Sequences To change the font of the text, we can use the control sequences to edit particular word or a group of words. Control Sequences Text Format \textrm Roman font \textsf Sans serif font \texttt Typewriter font \textup Upright shape \textit Italic shape \textsl Slanted shape \textsc Small caps shape \textmd Medium font \textbf Bold face \emph Emphasized

Example: \documentclass{article} \begin{document} \textrm{PERL How To Program} \texttt{by Deitel, Nieto, and McPhie} \textsl{1.8 Object-Oriented Programming} \textsc{\textbf{One} of the key problems with procedural programming is that the program units programmers create do not easily mirror \emph{real-world} entities effectively.} \end{document}

Result:

Mathematical Formulae Control Sequences To indicate the mathematical formulae in the text, LaTeX provides many control sequences to organize the mathematical formulae and print its mathematical symbols.

Display Mathematical Formulae in LaTeX There are four ways that LaTeX will display the mathematical formulae: Use ‘$’ at the beginning and ending of the formula to indicate the formula within the document. Use ‘\(‘ at the beginning of the formula and ‘\)’ at the end of the formula to indicate the formula within the document. Use ‘\[‘ at the beginning of the formula and ‘\]’ at the end of the formula. This will display the formula on a line by itself. Use \begin{equation} at the beginning of the formula and \end{equation} at the end of the formula will display the formula on a line by itself.

Example The following LaTeX will display the definition of sample mean: \documentclass{book} \begin{document} \noindent Definition: The \textbf{sample mean} $\bar{x}$ of observations $x_1$,$x_2$,...,$x_n$ is given by \[ \bar{x} = \frac{x_1 + x_2 + ... + x_n}{n} = \frac{\sum_{i=1}^n x_i}{n} \] The numerator of $\bar{x}$ can be written more informally as $\sum x_i$, where the summation is over all sample observations. \end{document}

Result

Mathematical Symbol in LaTeX Many of the mathematical symbol are indicated by a backslash that follow by the name of the symbol. For example: Mathematical Symbol LaTeX Syntax  \cong  \Pi  \supseteq

Mathematical Operation in LaTeX The mathematical operation such as addition and subtraction will be using the keyboard symbol ‘+’ and ‘-’. However, the operation for multiplication, division, fraction, and square root will need to apply other LaTeX control sequences. Operations LaTeX control sequences Multiplication () \times Division () \div Fraction \frac{numerator}{denominator} Square Root \sqrt{expression}

Example This example prints the definition of variance and standard deviation. \documentclass{article} \begin{document} \noindent The \textbf{variance} of a continuous random variable $X$ with pdf $f(x)$ and mean value $\mu$ is \[\sigma_X^2 = V(X) = \int_{-\infty}^\infty (x - \mu)^2 \bullet f(x)dx = E[(X - \mu)^2]\] The \textbf{standard deviation} (SD) of $X$ is $\sigma_X = \sqrt{V(X)}$. \end{document}

Result

Conclusion There are a lot of features in the LaTeX that are not able to demonstrate all at one time. However, there are many tutorials on the web which contain the usage and syntax of LaTeX. The preferable LaTeX tutorial websites from my research are in the reference page. Also, LaTeX is a free system that we can download it from the site, which is in the reference page.

Reference Obtaining LaTeX. 16 Jan. 2006. 31 Jan. 2006 <http://www.latex-project.org/ftp.html> Wilkins, David R. Getting Started with LaTeX. 9 March 1998. School of Mathematics. 2 Feb. 2006 <http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/>