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

Similar documents
Introduction to Scientific Typesetting Lesson 1: Getting Started

Introduzione a LaTex. Fabrizio Messina

Meeting One. Aaron Ecay. February 2, 2011

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

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

Formatting with LaTeX

Latex Tutorial. CIS400 Senior Design 9/5/2013

1. Welcome. (1) Hello. My name is Dr. Christopher Raridan (Dr. R). (3) In this tutorial I will introduce you to the amsart documentclass.

LaTeX. Information Literacy II EN(IL2) Course

Introduction to LaTex 2ε. Based on The Not So Short Introduction to LaTeX 2ε by Tobias Oetiker et al., April 2001

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.

Document Preparation Using L A TEX

L A T E X Week 11, Other Document Classes

Using L A T E X for scientific writing

LaTeX A Tutorial. Mohsen Alimomeni, 2010

Introduction to L A TEX

My Mathematical Thesis

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

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

L A TEX for Psychological Researchers

Lecture 1: Short summary of LaTeX basics

COMS 6100 Class note

A Short Introduction to L A TEX

Introduction to LAT E X

A Brief Introduction to L A TEX

Getting to Grips with L A T E X. Andrew Roberts

Introduction to L A TEX for MCS-236

Part - I : Short Course Typing Text

VERY VERY SHORT GUIDE TO LATEX

Introduction to LAT E X

Without savetrees. An Example Document

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

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

An Introduction to L A TEX

Introduction to LATEX

Pimp your thesis: a minimal introduction to L A T E X.

A L A T E X quick start

Guide to using L A TEX

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

Basic L A TEX. what is LaTeX?

L A TEX: Online module 2

Written & Oral Presentation: Computer Tools

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

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

Literate programming with R and L A TEX

Very Short Introduction to LaTeX

CODING STYLE. Contents 1. List of style comments 1 2. Other chapters 3 References 5

Lecture 05 I/O statements Printf, Scanf Simple statements, Compound statements

Absolute L A TEX Beginner

SPEECH RECOGNITION COMMON COMMANDS

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

An Interactive Introduction to L A TEX

Typing Mathematics. Darrin Doud

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

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

An Introduction to LATEX

The Name of the Game. An Introduction to LATEX. Why L A TEX? The Name of the Game

beginlatex /12/ : page #199

Workshop on LATEX 2ε. Asst. Prof. Dr. Kemal Bagzibagli Department of Economics. 20 May 2015

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

L A TEX Class Holiday Inn Fisherman s Wharf San Francisco, CA July Cheryl Ponchin Sue DeMerritt

Useful L A TEX Commands

Introduction to MCS 220 and L A TEX

Helen Cameron. A Brief Overview of LATEX

Introduction to LaTeX. Christoph Pickl

LATEX. Leslie Lamport. Digital Equipment Corporation. Illustrations by Duane Bibby. v ADDISON-WESLEY

Dec. 27 th, 2010 University of Isfahan

GROUP ASSIGNMENT. L A TEX Assignment 1/3

L A TEX incollaboration

beginlatex /12/ : page #69

Math 235: Introduction to LaTeX

A brief introduction to L A TEX

HOW TO TYPESET THESES. Using iiscthesis style for LAT E X

INSTALLING AND USING L A TEX

L A TEX for Psychological Researchers

L A TEX Workshop. Don Brower

David Helmbold, October 2005, Revised October 2007

L A TEX Training Course Using L A TEX to write a thesis

Outline. Installing LaTeX. Opening TeXShop. Intro to LaTeX. Intro to LaTeX interface Working with text Tabbing and tables Figures Math and equations

L A TEX Workshop. An Introduction to L A TEX. Rakesh Jana Research Scholar Department of Mathematics IIT Guwhati

In another markup scheme it will be like as given hereunder:

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

Typesetting Tips. Put your best type forward.

L A T E X FOSSEE. Department of Aerospace Engineering IIT Bombay. FOSSEE (IIT Bombay) LAT E X 1 / 58

Getting Started with L A T E X for a Technical Document or Thesis

CS 189 L A TEX and Linux: Document Layout and Organization

The talk Document Class

Helen Cameron. A Brief Overview of LATEX

Effective Programming Practices for Economists

Introduction to Latex. A workshop by Dr. Ala Eshmawi

The LYX Tutorial. by Mohammed M. Kadhum

Latex Tutorial 1 L A TEX. 1.1 Text

L A TEX Gotchas - Common Pitfalls and Debugging

Guidelines for Authors (full paper submissions)

Typesetting in wxmaxima

Learning LaTeX: The Basics

Literate Programming

Introduction to L A TEX

Transcription:

LaTeX A document preparation system Used to typeset a document COMPSCI 111 / 111G Mastering Cyberspace: An introduction to practical computing LaTeX Compiler L A TEX http://en.wikipedia.org/wiki/latex 2 Why? Development Why use LaTeX when we have word processors? Donald Knuth Results look better Focus on structure helps document development Best tool available for mathematical layout Works well for large documents Automatically generates: Table of contents Lists of figures Lists of tables Index Glossaries Bibliography Free and runs on many platforms Stanford University The Art of Computer Programming Created TeX and METAFONT 1978 1989 Development of TeX Leslie Lamport LaTeX 1984 Extensions to TeX Easier than TeX Focus on the structure of the document Standard way to use TeX 3 4

Commands Used to tell LaTeX how to typeset something Commands are case sensitive Optional parts are in square brackets Compulsory parts are in curly braces Environments Apply a change to the content within the environment New environments start new paragraphs \commandname[options]{argument} \begin{environmentname}... \end{environmentname} 5 6 Comments Whitespace Used to annotate the document Whitespace characters Ignored by the compiler Aimed at other humans Space Tab Line break White space is largely ignored apart from: % Comments starts with a percentage sign % All text is ignored until the end of the % line is reached. Space between words. Blank lines between blocks of text that are used to make paragraphs. Two or more consecutive whitespace characters Reduced to a single space A B C D E F A B C D E F 7 8

Special characters Characters that are used in the syntax of the language Can't type these characters directly Need a special way to print them 10 characters \ $ % ^ & _ ~ # { } \documentclass Creating a LaTeX document Defines the type of document Book Report Article Letter The document environment encloses the contents of the document The space between the document class command and the start of the document environment is called the preamble. Contains commands that affect the entire document. 9 10 Creating a LaTeX document Adding a title \documentclass[a4paper]{article} Require four commands to create a title \title{ put the title here } \author{ author goes here } \date{ date goes here } Preamble \begin{document}... \end{document} Document contents Document environment Once the information has been defined, insert the title \maketitle... \begin{document} \title{a very short document} \author{andrew Luxton-Reilly} \date{2016} \maketitle This is the document. \end{document} 11 12

Structuring a document \part{ part name goes here } \chapter{ chapter name goes here } \section{ section name goes here } \subsection{ subsection name goes here } \subsubsection{ subsubsection name goes here } Table of contents Table of contents is automatically generated using the \tableofcontents command. Parts Chapters Sections Subsections Each command has an table of contents option Displays a different name in the table of contents \section[introduction]{an introduction to typesetting using the LaTeX language} \paragraph{ paragraph name goes here } 13 14 Footnotes Paragraphs and line breaks Footnotes are created in the text as you type them \footnote{ footnote text goes here } LaTeX will remove excess whitespace Need to explicitly include paragraphs and line breaks \documentclass[a4paper]{report} \begin{document} \title{a very short report} \author{andrew Luxton-Reilly} \date{2016} \maketitle Paragraph Leave a blank line in the input Line break Use the command \\ This is the document\footnote{note that the document is a report} that I am using as an example. A short paragraph. Another short paragraph. \end{document} And\\ some lines\\ that appear sequentially. 15 16

Quote marks Unidirectional quotes (") are inadequate Use the symbols ` and ' for single quotes Use the symbols `` and ' ' for double quotes Hyphen ( ) Dashes Short dash to join different words together merry go round He said, ``As they say, `you win some, you lose some' ''. En dash ( ) Longer dash used to indicate a range of values pages 45 50 He said, As they say, you win some, you lose some. Em dash ( ) Very long dash between words or phrases There are many commands some more complex than others that are used in LaTeX. 17 18 Ellipsis Spaces Three dots in a sequence Lines have to be broken to wrap text Used to indicate text that... has been removed Or an unfinished... Try to break at a space Try to break at a syllable Can't just use three full stops in a row LaTeX will use incorrect spacing Use the \ldots command Some spaces we don't want to be broken E.g. between initials and surnames \ldots or so he said. Bad layout The lecturer for this course is A. J. Luxton-Reilly Use a tilde ~ to signify a space that we can't break or so he said The lecturer for this course is A.~J.~Luxton-Reilly 19 20

Emphasis Emphasis \emph{ text to be emphasized here } It is \emph{very} important to practice the typesetting commands so that you don't \emph{forget} them. References There are many LaTeX tutorials on the Internet http://www.tug.org/interest.html http://www.latex project.org/ http://www.ctan.org Web site that allows you to try it out http://sciencesoft.at/index.jsp?link=latex&size=1280&js=1&lang=en Tutorial documents The (not so) short guide to LaTeX Online course reference manual 21 22