Getting Started in L A TEX

Similar documents
Introduction to LATEX

Math 235: Introduction to LaTeX

A Brief Introduction to L A TEX

LaTeX A Tutorial. Mohsen Alimomeni, 2010

Introduction to L A TEX

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

Basic L A TEX. what is LaTeX?

Why learning L A TEX is worth the effort

Typing Mathematics. Darrin Doud

Mikkel Madsen

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

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

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

Formatting with LaTeX

VERY VERY SHORT GUIDE TO LATEX

Introduction to L A TEX


An Introduction to LATEX

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

Using L A TEX. A numbered list is just that a collection of items sorted and labeled by number.

An introduction to L A TEX for students

Latex Tutorial. CIS400 Senior Design 9/5/2013

Introduction to LaTeX. Paul Fodor Stony Brook University

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

NCSU Linguistics Eric Wilbanks & Jeff Mielke. November 21, An open-source typesetting language used for document mark-up

Introduction to L A T E X

LATEX Workshop. Yi Liu Chen SUNY Geneseo PRISM Math Club. February 6, Wordmark Reversed Geneseo Wordmark Style Guide 4

COMS 6100 Class note

Guide to using L A TEX

Very Short Introduction to LaTeX

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

L A T E X crash course

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

Introduction to Latex. A workshop by Dr. Ala Eshmawi

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

An Introduction to L A TEX

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

Typesetting in wxmaxima

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

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

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

Lab1: Communicating science

Introduction to L A T E X

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

Introduction to MCS 220 and L A TEX

CSCM10 Research Methodology A Taster of L A TEX

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

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

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

Introduction to L A TEX

1 Obtaining LyX and L A TEX

LAT E X week 2: Basics for Writing a Document

Introduzione a LaTex. Fabrizio Messina

Assessments for CS students:

Using L A T E X for scientific writing

Free Software Alternatives to Commercial Math Software

Introduction to LATEX

Absolute L A TEX Beginner

Introduction to L A TEX

LaTeX. Information Literacy II EN(IL2) Course

L A T E X Week 11, Other Document Classes

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

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

Math 3820 Project. 1 Typeset or handwritten? Guidelines

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

Become a L A TEX Guru

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

Advanced Topics in Curricular Accessibility: Strategies for Math and Science Accessibility

An Introduction to LATEX

Outline. A Sneak Peek

A Grasshopper s Approach to L A TEX

Hypertext Markup Language, or HTML, is a markup

1. The Joy of TEX. Check out this example!

My Mathematical Thesis

Learning L A TEX. Patrick Lam

L A TEX and Basic Text Editing

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

Introduction to Scientific Typesetting Lesson 1: Getting Started

LATEX TYPESETTING SYSTEM. CAAM 519, CHAPTER 3

Usage of MathML for paper and web publishing

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

Using L A TEX Tom Edgar

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

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.

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

LYX with Beamer and Sweave

A brief introduction to L A TEX

Introduction to L A TEX

Introduction to L A TEX for MCS-236

Math 395 Homework #1 Due Wednesday, April 12

Document Preparation Using L A TEX

Helen Cameron. A Brief Overview of LATEX

L A TEX From The Ground Up

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.

How to L A TEX. George Wong, David Mykytyn. 6 October 2016

Introduction to L A TEX

My LaTeX Document. July 7, Introduction 2

Mathematical Notations in Web Pages

INSTALLING AND USING L A TEX

Transcription:

Getting Started in L A TEX Roy Martinez Tuesday May 7th, 2008 1 Welcome to L A TEX Welcome to L A TEX, this guide is designed to give you a quick crash course introduction to this great formating tool. This document should help you with the minimal framework necessary to create a document and get started in your learning process. 1.1 A Quick FAQ What is L A TEX L A TEX is a document markup language and document preparation system for the TeX typesetting program. 1 It could be described as a formatting language, in a close family with such things as HTML. Instead of using a graphical user interface to layout documents, in L A TEX you write out the information you want and you stylize it using the given commands and formatting codes. Much like programming, your documents are compiled into code that can be then transported across machines or printed and will appear identical no matter where you access it. Why not use Word? When you use Word or any other WYSIWYG (What You See is What You Get) program, you rely on the software, and the softwares internal formating structure to dictate the look and feel of the document. You can define styles, fonts, and sizes, but many times you have to fight auto-formatting, or turn it off entirely. When creating your documents your content is directly linked with the formating, to copy the content you generally are forced to copy the 1 From http://en.wikipedia.org/wiki/latex retrieved on April 29,2008 1

formating along with it and manually change each part off it. Also many times authors and students spend untold amounts of time laying out the documents visually. Additionally Word lacks a strong built-in mathematical formula editor, one does exist but it is only designed for more basic functions. There are more advanced math expression editors such as MathType, but MathType alone costs almost $97 and is still linked to Word s layout engine and subsystems. So why use L A TEX, instead? With L A TEX you have a huge amount of control over the content and formating of your document. L A TEXallows granular control over things like spacing, text sizes, formating and general editing. The mathematical formating engine of TEXthat underlays L A TEX is extremely powerful and allow for all matter of complex equations and formula s. Additionally (and to some students the best part) is that L A TEX is free, both free as in speech and free as in beer, it is publicly available to download free of charge, and the source code is available, should one be so inclined. Whats up with the name? Good Question! The name is pronounced Lay-Tech, not latex. The spacing and look of the logo is to help set it apart and when written in normal ASCII characters it is written as LaTeX. 2 Basic Document Framework and Commands 2.1 The Most Basic Document To begin lets start with the most basic document you can create a page with the text Hello World on it. The % represent comments (statements that will not be converted) explaining each line. \documentclass[12pt]{article} %Specifies the type of document. \begin{document} %Start the Beginning of the document. Hello World! %Content Goes Here \end{document} %Close the Document 2

2.2 Title, Author, Date With any document it is common to include a title, a author s name or names, and generally a date of printing. L A TEXprovides a easy way to add this information to documents. The following commands are added in the preface of the document, the portion between the \documenttclass and \begin{document} tags. \title{a Example Document} \date{sunday April 27} \author{your Name} %The title of the document. %The Date %Your Name Now, these commands will not automatically put this information into your document, to do this simply put in-between the begin and end tags of your document \maketitle 2.3 Special Characters It is important to note that most characters can be typed natively, and retain their original function, however the following characters cannot be typed on their own as they are used in the L A TEXmarkup. \ { } $ˆ % # & To access these characters, and many more, there exist Control Sequences, similar to many programming languages you can access most of these characters by typing a backslash (\) then the character. For example to get the list of symbols above you would type \{ \} \$ \% \# \& \ However for the symbols \ ˆ you have to type: $\backslash$, \char94, or \char126 respectively. 3

2.4 Headings L A TEXallows you to easily add in headings! following tag. To do so simply add in the \section{this is a major section!} \subsection{this is a subsection!} \subsubsection{this is a Sub Sub Section yes they do go deep.} Additionally \LaTeX also offers two other section dividers \paragraph{...} \subparagraph{...} Other layouts may have more sectioning commands. 3 Mathematics Mode and Formulas 3.1 Enabling Mathematics Mode To enter math mode, there are two main ways to enter it. You can enter math mode inline, that is to create a equation in the same line as normal text for example: To solve this equation we take a = b + c and then we add 2 + c to calculate the total cost of the widget. To start math mode in this style simply place a $ before and a $ after the math code. Additionally, it is common to place equations on their own line, centered and away from the rest of the text for readability. L A TEXmakes this easy to do with one simple command. \[ Math Code Here! \] 3.2 Math Mode Examples Rather than list every possible command, I will instead provide some examples of code that will be particularly useful in designing a document for a Calculus report. All examples are done using the individual equation command from the previous section. 4

3.2.1 Fractions 3x 8y \frac{3x}{8y} 3.2.2 Limits lim x + \lim_{x \to +\infty} 3.2.3 Summations 3n i=1 4i 2 \sum_{i=1}^{3n}4i^2 3.2.4 Integrals \int_a^b f(x)\,dx b a f(x) dx. 3.2.5 Double Integrals \int_a^b f(x)\,dx b d a c f(x) dxdy. 5

4 Further Reading & Useful References What are TEX, L A TEX and friends?: A good site that argues some reasons for using L A TEX over a WYSIWYG editor like word. A interesting and convincing read. http://www.ctan.org/what_is_tex.html L A TEX &TEX articles on Wikipedia: Always a good place to start in, be sure to check out the related links. http://en.wikipedia.org/wiki/tex http://en.wikipedia.org/wiki/latex Getting Started with L A TEX A quick-start guide that covers all the basics. http://www.maths.tcd.ie/~dwilkins/latexprimer/gswlatex.pdf The Not So Short Introduction to L A TEX2ε: A extremely useful beginners guide to L A TEX easier and more accessible to the average user. A great place to start after reading this guide. http://tobi.oetiker.ch/lshort/lshort.pdf L A TEX - Wikibook: A community written reference guide to L A TEX, in a constant state of being updated with new information so may not be entirely comprehensive. Not the easiest thing to read, but does have some good reference examples for the information that is covered. http://en.wikibooks.org/wiki/latex L A TEX Cheat SheetA condensed pocket reference sheet detailing some of the more common L A TEX commands. http://stdout.org/~winston/latex/latexsheet.pdf L A TEX Symbols: A handy reference guide listing different mathematical symbols and how to access them in L A TEX. http://omega.albany.edu:8008/symbols.html 6