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

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

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

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

CLV Manual. How to Use CLV L A TEX Style. Odié N. Gementera SPI Publisher Services

My LaTeX Document. July 7, Introduction 2

LaTeX. Information Literacy II EN(IL2) Course

Using SIAM s Book Class

An Introduction to LATEX

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

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

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

A Demonstration of the L A TEX 2ε Class File for the Oxford University Press Ltd Journal. First Author 1 and Second Author 2.

LaTeX A Tutorial. Mohsen Alimomeni, 2010

Introduction to L A TEX

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

T E X and L A T E X Document preparation tools

Introduction to Latex. A workshop by Dr. Ala Eshmawi

A Document Preparation System. User's Guide and Reference Manual. Leslie Lamport

Introduction to L A TEX beamer

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

Why is there money? Received Date; Received in Revised Form Date; Accepted Date

Math 235: Introduction to LaTeX

My Mathematical Thesis

Title of Your Thesis: Subtitle of Your Thesis

LATEX TYPESETTING SYSTEM. CAAM 519, CHAPTER 3

Latex Tutorial 1 L A TEX. 1.1 Text

Basic L A TEX. what is LaTeX?

David Helmbold, October 2005, Revised October 2007

An introduction to L A TEX for students

A Latex Template for Independent Work Reports Version 2016v3

Version List of tables Tbl. 5.1 Additional fonts... 5 Tbl Types of index entries... 10

The Joys of L A T E X

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

Just Enough L A TEX, Week 4

An introduction. C.D. Emmery & M.M. van Zaanen. October 22, Tilburg University

Introduction to L A TEX

Meeting One. Aaron Ecay. February 2, 2011

Using L A T E X for scientific writing

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

The Joys of L A T E X

L A TEX incollaboration

L A T E X Workshop. Bijulal D & Anu Thomas Industrial Engineering and Operations Research Indian Institute of Technology

Preparation of ADSA and IJDE Manuscripts

Guidelines for ETNA manuscripts 1

TUTORIAL 5: LIST ENVIRONMENTS. 1. Welcome. (1) Hello. My name is Dr. Christopher Raridan (Dr. R).

Very Short Introduction to LaTeX

Introduzione a LaTex. Fabrizio Messina

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

A L A T E X quick start

Introduction to LaTeX. Christoph Pickl

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

Paul Gartside. March 2, 2013

LATEX Primer. 1 Introduction (Read Me)

looks slightly different when set in display style. (See next section).

VERY VERY SHORT GUIDE TO LATEX

Dec. 27 th, 2010 University of Isfahan

COMS 6100 Class note

The LYX Tutorial. by Mohammed M. Kadhum

AASHTO Materials Standard Template Users Guide

Acadia Psychology Thesis Template Guide

Without savetrees. An Example Document

This is page i Printer: Opaque this. The Title of a Book. Dr. Author Jones. The Date

INTRODUCTION TO 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.

An Introduction to L A T E X

Introduction to LaTeX. Paul Fodor Stony Brook University

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

A TALE OF GNUS, GNATS AND ARMADILLOS. THESIS A. U. Thor First Lieutenant, USAF AFIT/123/456/78-9. Approved for public release; distribution unlimited

Citation guide. Carleton College L A TEX workshop. You don t have to keep track of what sources you cite in your document.

Effective Programming Practices for Economists

Introduction to L A TEX

A L A TEX-Package for IEEE PES Transactions

A template for submissions to EMSS

Latex Tutorial. CIS400 Senior Design 9/5/2013

1 Obtaining LyX and L A TEX

GENERAL INFORMATION INSTRUCTIONS FOR MANUSCRIPT SUBMISSION

Helen Cameron. A Brief Overview of LATEX

LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting

A SAMPLE DOCUMENT GENERATED USING THE LATEX STYLE FILE FOR CSUF THESES. AThesis Presented to the Faculty of California State University, Fullerton

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

George Grätzer. Practical L A TEX

Instructions for Typesetting Manuscripts Using L A TEX

Introduction to L A TEX for MCS-236

Math 291: Lecture 4. Dr. Fagerstrom. Minnesota State University Moorhead web.mnstate.edu/fagerstrom

Introduction to LATEX

Exercises in LaTeX IDA on AAU

Introduction to L A T E X

L A TEX Lab 3: advanced concepts

This is page i Printer: Opaque this. The Title of a Book. Dr. Author Jones. The Date

Become a L A TEX Guru

Manuscript Title. with Forced Linebreak. Ann Author a) and Second Author b) Authors institution and/or address This line break forced with \\

L A TEX for Psychological Researchers

Travels in TEX Land: Using memoir for a book

Formatting with LaTeX

My favorite LaTex distribution is TexLive. You can download TexLive free TUG, the Tex Users Group, at

L A TEX for Philosophers

Introduction to L A TEX

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

Title. Author 1 Author 2 Author 3. January 23, 2015

Transcription:

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

Contents 1 Table of Contents 1 Youmayneedtoaddextrainformation... 1 Adding to Contents 1 2 Make an Index 1 3 Sections 1 3.1 Subsections... 1 IV This is a Roman Numbered Section 2 IV.0.1 Subsubsections.... 2 5 Theorems, Lemmas, etc. 2 6 Tables and Figures 3 7 Itemizing 3 8 Graphics 4 9 Footnotes 5 10 Math 5 10.1DisplayedMath... 5 11 Special Commands 6 12 Macro Writing 6 13 Bibliographies 7 ii

14 Labeling and Referencing 8 15 Marking the Margin of a Paragraph 8 16 Text in Columns 8 Appendix 10 A List of Tables 10 B List of Figures 10 iii

Abstract L A TEX is widely used in typesetting mathematics. In this class you will review the basic L A TEX commands as well as ways to use L A TEX to fit your needs. iv

1 Table of Contents You can add a table of contents to your paper very easily. All you need to do is add \tableofcontents. The table of contents will give you all the sections and subsection, etc., with their page numbers. However, sometimes you need to add extra information to the table of contents that you only want on the contents page. You do this by adding \addcontentsline. Adding to Contents This section is not numbered, however, you want it to appear in the table of contents. 2 Make an Index You can make an index at the end of your paper by labeling certain information. 3 Sections When you type your first section, it will start with number 1. The next section will be 2, etc. 3.1 Subsections When you type your first subsection, it will start with 1.1, then 1.2, etc. You can change the numbering from Arabic to Roman by creating a \renewcommand. For example: 1

IV This is a Roman Numbered Section This will now number the section in Roman Numerals. You can also replace \Roman with \roman (lower case roman numerals), \alph (a,b,...,z), or \Alph (A,B,...,Z). IV.0.1 Subsubsections You can have a subsubsection after a subsection. It will number everything correctly. There is also a \paragraph and a \subparagraph. They look like this: Paragraph This is the paragraph.yellow Subparagraph This is the subparagraph. 5 Theorems, Lemmas, etc. When you need to add a Theorem, Lemma, Proposition, etc., you may need to create the appropriate environment. For example: \newtheorem{theorem}{theorem} and \newtheorem{lemma}{lemma} in the preamble you will get the following: Theorem 1. This is the first theorem. Theorem 2. This is the second theorem. 2

Lemma 1. This is the first lemma. You can add extra comments to the Theorem, etc., Theorem 3 (Add this). This is the third theorem. 6 Tables and Figures Table 1: This is the First Table. Name 1 2 3 Sam 2.00 23.5 1.00 Joe 3.00 5.9 8.00 Our next example is a Figure. B A C Figure 1: This is a design done in L A TEX picture. 7 Itemizing There are many ways to itemize lists. One way is to use the \begin{itemize} \end{itemize} This is the first example. When using this format you get a bullet mark to identify the item. 3

When you do another itemize in an itemize environment you get a, etc. If you need numerals, use the enumerate command 1. This is the first numbered list. 2. When using this format you get a numbered list. (a) When you do another enumerate in an enumerate environment you get an (a), etc. (b) You can also put a frame around a word by using \fbox, i.e., Meet me in the square. You can also change the thickness of the frame. (c) You can raise or lower words in a line by using the \raisebox command. You can also change the default with adding the information you need in brackets after the \item command. For example: This has an asterisk instead of a bullet. 8 Graphics There are many way to create graphics using L A TEX. One of those ways is by using the picture environment. See the example below. B A C You can also import a picture 4

9 Footnotes Figure 2: This is the TUG logo. Footnotes 1 are easy to do with L A TEX. 10 Math L A TEX is also very good at typesetting mathematical formulas like: x 3y =7ora 1 >x 2n /y 2n >x. 10.1 Displayed Math Mathematical formulas may be placed within paragraphs of text. But they may also be displayed. In displayed math formulas, the formulas are displayed between lines of text, as shown below: x + y 2 = z 2 i. There are times when you need equations to be labeled (1a), (1b), etc. One way you can do this is by subequations. You can alsorefertoitasjustequation(1). x + y = z (1a) 1 This is an example of a footnote. 5

z = x + y (1b) 11 Special Commands L A TEX interprets some common characters as commands, so you must type special commands to generate them. These characters include the following: $, &, %, #, {, and}. 12 Macro Writing Macro writing is used to make your typing easier. I like \TeX. I like TEX. I like \LaTeX. I like L A TEX. is easier to write than I like T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\@. I like L\kern-.36em{\setbox0\hbox{T}\vbox to\ht0{% \hbox{$\m@th$\csname S@\f@size\endcsname\fontsize \sf@size\z@\math@fontsfalse\selectfont A}\vss}}% \kern-.15em T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\@ It is important to spaces after macro names. \TeX has been good to me. TEXhas been good to me. \TeX has been good to me. TEX has been good to me. Another reason to use macros is when you need the same expression with different arguments. This macro: \def\mat#1#2#3#4{\left(\begin{array}{cc}#1 & #2\\ #3 & #4\end{array}\right)} produces this: ( 3x 2y x 2y ) 6

by only having to type \[ \mat{3x}{-2y}{-x}{2y} \] 13 Bibliographies There are different ways to do Bibliographies. One way is to use BIBTEX. Create a BIBTEX file and include the appropriate information: \bibliographystyle{plain} \bibliography{paper} The bibliographystyle explains which style you are using. The bibliography line is the.bib file which is used. In the.bib file use the proper environment, for example, @book{lamport86, author = "Leslie Lamport", title = {\LaTeX: A Document Preparation System", publisher = "Addison--Wesley", year = 1986, } You can use this reference in the line of text by typing \cite{lamport86}. When you do this you get the reference number [1]. If you do not want to show the reference number anywhere in the paper, however you need to use it as a reference you can say \nocite{weening}. It will then only appear in the References section. 7

14 Labeling and Referencing Throughout these examples the sections have been labeled. That is so you can reference them in your paper. For example if you want to refer to the first section. You can say Section 3 was very interesting. You can also reference papers by using a page reference \pageref, i.e., Please see Page 2 for an example on Theorems. 15 Marking the Margin of a Paragraph This will mark the current paragraph with a line in the margin. You might want to do this if you want to bring attention to a specific margin in your paper. You can also add words in the margin if you want to add a specific statement that you want the reader to notice that is not necessarily in the paragraph itself. See this statement. 16 Text in Columns You can typeset a paper in a regular paragraph form. Which will go along until the margin that was set. Then if you need to you can change the number of columns to suit your needs. Now you can continue typing as usual only the column will not be in single column format, it will change to the amount of columns you suggest. 8

An Added Title Now you can continue typing as usual only the column will not be in single column format, it will change to the amount of columns you suggest. An Added Title Now you can continue typing as usual only the column will not be in single column format, it Now you can continue typing as usual only the column will not be in single column format, it will change will change to the amount of columns you suggest. to the amount of columns you suggest. Now you can continue typing as usual only the column will not be in single column format, it will change to the amount of columns you suggest. 9

Appendix A List of Tables List of Tables 1 ThisistheFirstTable... 3 B List of Figures List of Figures 1 This is a design done in L A TEX picture.... 3 2 This is the TUG logo..... 5 10

References [1] Leslie Lamport. L A TEX: A Document Preparation System. Addison Wesley, 1986. [2] Joe Weening. Macro writing. 11