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.

Slides:



Advertisements
Similar presentations
HTML for Bloggers and Content Managers Presented by Purple Pen Productions.
Advertisements

HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
Understand Web Page Development Software Development Fundamentals LESSON 4.1.
PZ14A Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, PZ14A - Text processing Programming Language Design and.
Introduction to LaTeX CPS470 Software Engineering Fall 1998.
13 February Building a Web Page. HTML Files Two types of information Text Instructions on how to display Instructions are in the form of tags Tags are.
Word vs. LaTeX Udi Boker April 2004.
Introduction to HTML CPS470 Software Engineering Fall 1998.
CIS101 Introduction to Computing Week 05. Agenda Your questions Exam next week - Excel Introduction to the Internet & HTML Online HTML Resources Using.
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Programming Introduction November 9 Unit 7. What is Programming? Besides being a huge industry? Programming is the process used to write computer programs.
CS 173 Fall Introduction to LaTeX David and Lucas CS 173 Fall 2009 Written with significant references to Oetiker et al. “The Not So Short Introduction.
Chapter 12: Network Programming Desktop Publishing Translator models Latex Documentation Preparation Postscript programming language WYSIWIG Editors.
XML October 24, Unit 6. What is XML? Stands for eXtensible Markup Language It is a markup language, like HTML But, –XML is designed to markup data –HTML.
CIS101 Introduction to Computing Week 06. Agenda Your questions Excel Exam during second hour Our status after the snow day Introduction to the Internet.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
Latex A document preparation system All academic staff in Computer Science publish their work using Latex – NOT Microsoft Word. Why? Note to self – press.
CPSC 203 Introduction to Computers Lab 39, 40 By Jie (Jeff) Gao.
For AMS 200, 2009 Dept. of Applied Math & Statistics School of Engineering University of California Santa Cruz, CA A Very Short Introduction to LaTeX.
Welcome to the 3-day Workshop on > Presented by Saeid Abolfazli Faculty of Computer Science and IT University Malaya 23,24, and.
Research Tools: LaTex A high quality document preparation system by Karthikeyan Umapathy.
9/4/2015 ©2006 Scott Miller, University of Victoria 1 HTML Introduction The Basics Syntax and Objects Successors Rev 2.0.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Basic tasks of generic software Chapter 3. Contents This presentation covers the following: – The basic tasks of standard/generic software including:
Multimedia & The World Wide Web winny HCI 201 Multimedia and the www.
Accessibility Standards. This PowerPoint will cover: – Web accessibility standards – Word file accessibility – PDF accessibility – PowerPoint accessibility.
Introduction to LaTeX CS157b John Eagle. TeX TeX is a computer program created by Donald E. Knuth. It is aimed at typesetting text and mathematical formulae.
Lecture # 3 HTML and Arrays. Today Questions: From notes/reading/life? From Lab # 2 – Preview of Lab # 2 1.Introduce: How do you make a Web Page?: HTML.
LATEXLATEX IPA – batch. LATEXLATEX  A document preparation system - pronounced as lay-tek  It is a markup and programming language created by.
LaTeX A Short Intro to Marco D. Santambrogio Politecnico di Milano Sala DEIB 2 Sept 2015 Ver. 2/9/15.
Course Content - Chapter 2 Introduction to HTML Introduction to a Text Editor as a web authoring tool Instructional Activity: Creating a webpage using.
TeX2Star A System for Converting TeX to OpenOffice By Jeffrey Starr.
1 Lecture 4 A Brief Introduction to LaTeX Introduction to Information Technology Dr. Ken Tsang 曾镜涛
1 LaTeX For Dummies Mulugeta Gebregziabher Division of Biostatistics and Epidemiology MUSC April 4, 2011.
1 Chinese Information Processing : Using Computers to Teach and Learn Chinese Week 6 and 7: Creating and maintaining web pages - html and ftp.
HTML and Web Pages. HTML?  HTML is not a programming language  A type of SGML (standard generalized markup language)  HTML uses paired tags to markup.
BRIEF A BRIEF Introduction to L A T E X For Physics Graduate Students Prof. L. S. Pinsky Physics Department University of Houston.
Academic Writing Using LaTeX
HTML Basics. HTML Introduction Stands for HyperText Markup Language. HTML files are plain text files with mark ups. Some characteristics of HTML: –No.
HTML ( HYPER TEXT MARK UP LANGUAGE ). What is HTML HTML describes the content and format of web pages using tags. Ex. Title Tag: A title It’s the job.
LBSC 690 Session 5A Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
LBSC 690 Session 5A Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
Introducing the World Wide Web Internet- a structure made up of millions of interconnected computers whose users communicate with each other and share.
LaTex By Wen Ying Gao.
LATEX B. R. Chandavarkar, Wireless Information Networking Group (WiNG), CSE Dept., NITK, Surathkal.
CS 111 – Oct. 4 Web design –HTML –Javascript Commitment: –This week, read sections 4.3 – 4.5.
Slide No. 1 Slide No. 1 HTML and Web Publishing CS 104 CS 104.
Text processing Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section 12.1.
How to Create Accessible Online Course Content Shivan Mahabir Athanasia (Tania) Kalaitzidis Kevin Korber Danny Villaroel.
Document Computing Technologies for Managing Electronic Document Collections Ross Wilkinson... [et al.] Circulation Counter [RES3H] ZA4080.D
CSE470 Software Engineering Fall Tools - Overview LaTeX – Tool to create documents RCS – Revision Control System, to maintain multiple versions.
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley What did we learn so far? 1.Computer hardware and software 2.Computer experience.
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
The idea of adding markup instructions to documents is not new. Before computers, authors would make annotations by hand in their written or typed documents.
Adding markup instructions to documents is not new. Before computers, authors would make annotations by hand in their written or typed documents. These.
LaTex -Computer scientist named Donald Knuth developed the program called Tex, in 1978.(mainly focused on formulae) -Later a mathematician and computer.
Computer Fundamentals Desktop Publishing & Web Design MSCH 233 Lecture 9.
LATEX By GerardoVela 3/27/2015.
NGUYEN THI THANH NHA HMCL
Introduction to LaTeX David and Lucas CS 173 Fall 2009
LaTeX Tutorial.
Basic usage and packages of TEX
A Very Short Introduction to LaTeX
Text processing Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section 12.1.
Microsoft Word Software
Layout Terms Visual Hierarchy
Presentation transcript:

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 Syntax 6. Examples: document and formula 7. References

What Is LaTeX? TeX – typesetting standard TeX – typesetting standard A TeX based document format A TeX based document format Used for typesetting documents Used for typesetting documents Uses tags to request elements of a document from the TeX typesetter Uses tags to request elements of a document from the TeX typesetter Not WYSIWYG Not WYSIWYG

TeX (the history of LaTeX)  Created by Donald E. Knuth in 1977  Ideal for typesetting text and mathematical formulae  Mr. Knuth did not like the way publishers were formatting/typesetting his articles so he set up his own standard for authors   His website – www-cs-faculty.stanford.edu/~knuth

History of LaTeX  LaTeX is pronounced “Lay-tech,” with a “k” sound, it is not pronounced “latex” as in rubber.  The “ch” originates from the Greek alphabet where X is the letter “ch” or “chi”.  tex is also the first syllable of the Greek word texnologia (technology).

  The LaTeX program is a macro package that allows authors to use TeX easily. It is similar to a simple programming language  It is very stable and can run on almost any computer History of LaTeX - cont

LaTeX Use 1. Download and install the free software. 2. Setup can be tricky, it is OS/machine dependant. 3. When using LaTeX, all document formatting is embedded within the text. 4. LaTeX uses control sequences (tags), which consist of a backslash (\) followed by a string of letters, possibly contained within { }, to indicate the format of the text. (see examples later)

LaTeX fundamentals An author writes a LaTeX input file in a text editor and then compiles this using LaTeX. An input file has literal text along with commands to process the text. There are some conceptual similarities to a markup language such as HTML. However, a fundamental difference is that LaTeX is designed as a page layout language, unlike HMTL which is functional markup. The whole point of LaTeX is to achieve perfect typographic output, which is not the purpose of HTML.

Typesetting – HTML vs. LaTeX

Syntax  Using LaTeX to produce a document: \documentclass\begin{document} (The text is typed here) (The text is typed here)…\end{document}  LaTeX will automatically indent and put it in paragraph form.  To not indent a paragraph, we can use the \noindent tag at the beginning of the paragraph.  See the documentation for a complete list of tags.

Tags – a short list 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 \emphEmphasized

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}

Mathematical Formula Example \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} This example prints the definition of variance and standard deviation using LaTeX syntax.

Result: Trying to do this in MSWord, or other popular WYSIWYG editor = too much work!

References John Eagle, Wen Gao; Spring 2006 cs157aJohn Eagle, Wen Gao; Spring 2006 cs157a