CSCE 222 Discrete Structures for Computing. LaTeX. Dr. Hyunyoung Lee. !!!!! Based on slides by Andreas Klappenecker

Similar documents
WYSIWYG Systems. CSCM10 Research Methodology Lecture 4 (11/2/16): A Taster of L A TEX WYSIWYM. Advantages/Disadvantages of WYSIWYG Systems

CSCM10 Research Methodology A Taster of L A TEX

CSCM10 Research Methodology A Taster of L A TEX

WYSIWYG Systems. CSCM10 Research Methodology A Taster of L A TEX WYSIWYM. Advantages/Disadvantages of WYSIWYG Systems.

Math 235: Introduction to LaTeX

Document Preparation Using L A TEX

Introduction to Latex. A workshop by Dr. Ala Eshmawi

Getting started with Latex

Performance Op>miza>on

Using LaTex and BibTex to Write Academic Documents. Ligang He Department of Computer Science University of Warwick

LaTeX. Information Literacy II EN(IL2) Course

Latex Tutorial. CIS400 Senior Design 9/5/2013

L A TEX: Eh? What is it, what isn t it, who cares? Andy Caird. LATEX: Eh? p.1/13

Introduction to L A T E X

VERY VERY SHORT GUIDE TO LATEX

Lecture 1. MA2730: Analysis I. Lecture slides for MA2730 Analysis I. Study and Assessment Components. MA L A TEX: topics for Lecture 1

An Introduction to. Rado Ivanov CIS400 Senior Design Tutorial September 18, 2014

Formatting with LaTeX

LaTeX A Tutorial. Mohsen Alimomeni, 2010

Introduction to L A TEX

L A T E X Week 11, Other Document Classes

An Introduction to L A TEX

What is LaTeX. Is a document markup language and document preparation system for the TeX typesetting program

MathType. Check with Design Science for site license pricing if order is greater then 5 units

How to Prepare Your Paper in L A T E X for IOE Graduate Conference 2017

A Brief Introduction to L A TEX

L A TEX Overview. Jiayi Liu. January 31, Colorado School of Mines

Introduction to LATEX

Helen Cameron. A Brief Overview of LATEX

LaTeX installation guide

A Very Brief Introduction to L A T E X MAT 3535

Helen Cameron. A Brief Overview of LATEX

An introduction to TeX. And other options for producing documents containing mathematics

LaTeX, automata,computability, and notation. CS154 Chris Pollett Jan. 25, 2006.

Very Short Introduction to LaTeX

INSTALLING AND USING L A TEX

Introduction to L A TEX

The basics of LaTeX. Cédric Buron. April 25, 2016

Basic L A TEX. what is LaTeX?

LaTeX and Turing Machines. CS254 Chris Pollett Aug. 30, 2006.

A Short L A TEX Introduction

L A TEX for psychological researchers

NAVIGATING UNIX. Other useful commands, with more extensive documentation, are

Math 395 Homework #1 Due Wednesday, April 12

Introduction to LaTeX. Paul Fodor Stony Brook University

(Yet Another) Introduction to L A TEX 2ε (V3)

A LAT E X Tutorial. Evangelos Milios. March 15, 2004

L A TEX Tutorial. 1 Introduction. 2 Running L A TEX. J. E. Rice. May 2010

Outline. A Sneak Peek

An introduction to L A TEX for students

Introduzione a LaTex. Fabrizio Messina

Mikkel Madsen

Using L A TEX Tom Edgar

Introduction to typesetting with L A TEX

Typing Mathematics. Darrin Doud

Become a L A TEX Guru

An Interactive Introduction to L A TEX

Introduction. LaTeX (pronounced lay-tech ) is a professional document preparation system.

Research Method and Report Writing Lecture 4: An Introduction to L A TEX

L A TEX. COMPSCI 111 / 111G Mastering Cyberspace: An introduction to practical computing. LaTeX. Development. Why?

Scientific Writing with LaTeX

1 Obtaining LyX and L A TEX

Intro to LATEX I. Aaron Erlich POLS/CSSS 510, Why LATEX? Programming Document Structure Floats Tables Lists Math

An Introduction to LATEX

Learning L A TEX. Patrick Lam

What is L A T E X? Dan Yasaki. June 4, 2018 REU at Elon University. UNC Greensboro. Dan Yasaki What is LAT E X? 1 / 22

Why do I need LaTeX? What is LaTeX? Where can I get LaTeX? How can I use LaTeX? Who can help me with LaTeX? Why What Where How Who

Scientific Writing with LaTeX

Introduction to L A TEX

An Introduction to. Andrew G. West, Jian Chang CIS400 Senior Design Tutorial September 15, 2009

Getting Started in L A TEX

TUTORIAL 10: ARRAYS AND MATRICES. 1. Welcome. Hello. My name is Dr. Christopher Raridan (Dr. R). I want to welcome you to the L A TEX Tutorial Series.

An Interactive Introduction to L A TEX. Part 1: The Basics. John Lees-Miller. writel A TEX

Began as TeX, in 1982 (Knuth). Purely a typesetting tool. LaTeX added macros, maintaining TeX as it s typesetting engine (Lamport).

COMS 6100 Class note

An Introduction to L A TEX

An Introduction to L A T E X

David Helmbold, October 2005, Revised October 2007

Assessments for CS students:

Dec. 27 th, 2010 University of Isfahan

Introduction to Scientific Typesetting Lesson 1: Getting Started

Lecture 1: Short summary of LaTeX basics

Getting ready for L A TEX. Alexis Dimitriadis. Version: March 28, 2013

Excellent support for mathematical formatting. Automatically downloads/installs missing components as needed Updates somewhat frequently

L A TEX minicourse. dstowell, mag, sar, scannell,... September Typeset by FoilTEX

L A TEX. The Logo. Introduction to L A TEX. Overview. Primary Benefits. Kinds of Documents. Bill Slough and Andrew Mertz

Preparing your scribe

عمادة البحث العلمي جامعة الملك سعود

An introduction to LaTeX

GROUP ASSIGNMENT. L A TEX Assignment 1/3

A Beginner s guide to L A TEX for CSCA67/MATA67. Kohilan Mohanarajan

L A TEX for Psychological Researchers

Statistics Statistical Computing Software

What is T E X? T E X and L A T E X Document preparation tools. Setting and casting type. What Knuth was setting. Setting and casting type

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

A brief introduction to L A TEX

Learn LaTeX in 30 Minutes. A. LOTFI School of Science and Technology Nottingham Trent University

An Interactive Introduction to L A TEX. Part 2: Structured Documents & More. Dr John D. Lees-Miller. writel A TEX.

The Joys of LAT E X. Vadim Ponomarenko. introducing the world s standard typesetting language.

The AES Convention Paper LATEX class Adam H. Lewenberg (October 18, 2008) 1

Transcription:

CSCE 222 Discrete Structures for Computing LaTeX Dr. Hyunyoung Lee!!!!! Based on slides by Andreas Klappenecker 1

Tripitaka Koreana Palman Daejanggyeong ( Eighty-Thousand Tripitaka ) South Korean collection of Buddhist scriptures Carved onto 81,258 wooden printing blocks in the 13th century The world s most comprehensive and oldest intact version of Buddhist canon in Hanja script, with no known errors or errata in the 52,382,960 characters 2

Haeinsa - UNESCO World Heritage Site 3

Gutenberg Johannes Gutenberg Introduced movable metal type to Europe (in around 1439) Invented the printing press Started a revolution in printing in Europe 4

Gutenberg Bible Gutenberg demonstrated his printing technology by printing a complete bible. The Gutenberg bible was produced at a significantly lower cost than hand copying. Still, cost: about 3 years salary of a clerk per bible. 1978: Copy sold for $2.2million 5

6

Fast Forward to 1974 Academic books often a mix of handwritten symbols (e.g. formulas) and typeset symbols. Note the arrows... 7

Fast Forward to 2011 (Homework Submission) The scan is a faithful reproduction of the submission! It remains a mystery how the TA was able to read it. 8

Late 70 s: Don Knuth invents TeX 9

Knuth Don Knuth illustrates the mathematical typesetting with TeX by writing the bible of computer programming: Four volumes published so far: 10

1984: LaTeX In 1984, Leslie Lamport writes the markup language LaTeX that makes TeX particularly easy to use. Key feature: The document is organized according to its structure (e.g. Title, Chapter, Sections, etc.) The language is easy to learn Available on virtually all computing platforms 11

LaTeX Computer programmers will feel right at home: The document is produced by a program. The language can be customized with macros Typesetting of formulas is easy: Once you understand the main features, most formulas are quickly written in LaTeX Much faster than any formula editor 12

Structure of a LaTeX Document \documentclass{article} % macro definitions \begin{document} Comments begin with % % text comes here \end{document} Commands start with \ 13

LaTeX Example \documentclass[12pt]{article}! \usepackage{amsmath}! \title{\latex}! \date{}! \begin{document}! \maketitle! \LaTeX{} is a document preparation system for the \TeX{}! typesetting program. It offers programmable desktop publishing! features and extensive facilities for automating most aspects of! typesetting and desktop publishing, including numbering and! cross-referencing, tables and figures, page layout, bibliographies,! and much more. \LaTeX{} was originally written in 1984 by Leslie! Lamport and has become the dominant method for using \TeX; few! people write in plain \TeX{} anymore. The current version is! \LaTeXe.!! % This is a comment; it will not be shown in the final output.! % The following shows a little of the typesetting power of LaTeX:! \begin{align}! E &= mc^2 \\! m &= \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}}! \end{align}! \end{document} 14

Emphasizing Text This is a \textbf{bold} text \\ This is a \textit{text} in italics \\ This is a \textsl{slanted} text This is a bold text This is a text in italics This is a slanted text 15

Inline Mathematics You can write a text and within the text you can have inline mathematical formulas, such as $\sqrt{x^2+1}$, that are simply enclosed in single dollar signs. You can write a text and within the text you can have inline mathematical formulas, such as p x 2 + 1, that are simply enclosed in single dollar signs. 16

Displayed Mathematics Important equations can be set in double dollar signs, for example $$ y = \sqrt{x^2+1}, $$ and will be displayed as a centered equation. Important equations can be set in double dollar signs, for example y = p x 2 +1, and will be displayed as a centered equation. 17

Numbering Equations A numbered equation \begin{equation}\label{eqn} z^2 = x^2 + y^2. \end{equation} It follows from equation (\ref{eqn}) that... A numbered equation z 2 = x 2 + y 2. (1) It follows from equation (??) that... Run LaTeX twice to resolve references 18

Compiling LaTeX Documents Suppose you have written a LaTeX document, say homework.tex Compiling the document, typesetting, and creating a pdf file: pdflatex homework.tex View your document homework.pdf with some pdf viewer (e.g., ghostview homework.pdf, preview homework.pdf,...) 19

LaTeX Distributions Windows: MikTeX Mac: MacTeX Unix: Tex Live Further information: http://www.ctan.org/ Already installed on unix.cs.tamu.edu 20

Homework Our problem sets will be assigned using a LaTeX file, say hw1.tex The file will typically contain 10 problems You add the solutions, your name, and all the resources that you have used. Submit your homework solution to ecampus: hw1.tex and hw1.pdf (BOTH!!!) Submit a hardcopy version of your hw1.pdf in class (no need to print out hw1.tex). 21