LAT E X week 2: Basics for Writing a Document

Similar documents
Introduction to L A T E X

simpletex Documentation

Mikkel Madsen

Introduction to L A TEX

Basic L A TEX. what is LaTeX?

Useful L A TEX Commands

Introduction to LATEX

Math 291: Lecture 2. Presented by Prof. James for Prof. Fagerstrom

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

Introduction to L A TEX

Learning L A TEX. Patrick Lam

An Introduction to L A TEX

L A T E X Week 11, Other Document Classes

Introduction to Latex. A workshop by Dr. Ala Eshmawi

L A TEX for Psychological Researchers

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

COMS 6100 Class note

L A TEXInstallation and Introduction

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

L A TEX From The Ground Up

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

Guide to using L A TEX

Math 291: Lecture 2. Justin A James. Minnesota State University Moorhead web.mnstate.edu/jamesju/

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

Introduzione a LaTex. Fabrizio Messina

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

Math 235: Introduction to LaTeX

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

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

Introduction to L A TEX beamer

My LaTeX Document. July 7, Introduction 2

About Downloads Basics Pictures Reference Help TeXer

L A TEX examples. a b c a b c b b a c b c c b a. This table was typeset with the following commands.

LaTeX A Tutorial. Mohsen Alimomeni, 2010

An introduction to L A TEX for students

GROUP ASSIGNMENT. L A TEX Assignment 1/3

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

A L A T E X quick start

LaTeX. Information Literacy II EN(IL2) Course

L A TEX for Psychological Researchers

L A TEX incollaboration

OER Publishing with LaTeX and GitHub

Introduction to L A TEX

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

Introduction to L A TEX

Introduction to LaTeX. Christoph Pickl

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

Introduction to LaTeX. Paul Fodor Stony Brook University

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

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

LaTex Exercise Introduction : 9.2 LATEX Working IT WORKSHOP LAB MANUAL

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

1 Different Document Classes

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

CS 189 L A TEX and Linux: Displaying Text

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

Introduction to L A T E X

Introduction to LATEX

Introduction to L A TEX

A quick guide to L A TEX

Introduction to L A TEX

Literate programming with R and L A TEX

Introduction to L A TEX

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

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

Lecture 1: Short summary of LaTeX basics

Basics. Options. Commands

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

Introduction to LAT E X

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

Writing Mathematics in L A TEX by Example

Introduction to LAT E X

How to get started in L A TEX

Formatting with LaTeX

LATEX TYPESETTING SYSTEM. CAAM 519, CHAPTER 3

Meeting One. Aaron Ecay. February 2, 2011

L A TEX Workshop. Don Brower

Getting started General Tables Figures Math Wrap up. UCLA Department of Statistics Statistical Consulting Center. LaTeX Bootcamp

Effective Programming Practices for Economists

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

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

A Sample L A TEX Document

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

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

Document Preparation Word Processors

Helen Cameron. A Brief Overview of LATEX

L A TEXday, morning session Discovering L A TEX

Introduction to LaTeX. M&S Talk Series August 16 th, 2016 AH Sheikh

Learning LaTeX: The Basics

Dashed lines represent \hof f set and \vof f set I 2 /5-,%

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

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

L A TEX 101. John Gardner and Alex Yuffa. May 2, How does L A TEX work? Exercise... 4

Latex Manually Set Font Size For Tables

Getting Started in L A TEX

An Introduction to LATEX

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

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

Academic Skills in Computer Science (ASiCS) II) Text Processing with Latex II.1) Introduction to Latex

Workshop: A Simple Introduction to L A TEX

Transcription:

L A T E X week 2: Basics for Writing a Document University of California Berkeley September 13, 2007

Example Latex Document \documentclass{class here} \usepackage{package 1,package 2} \setlength{\oddsidemargin}{0in} \setlength{\textwidth}{6.5in} \setlength{\topmargin}{-.7in} \setlength{\textheight}{9.0in} \title{the title} \author{we expect you know your own name} \date{the day} \begin{document} \maketitle Hello World \end{document}

Document Class At the top of every latex document you have to tell it what class you are using. Definition A class is like a template which tells latex what to do with the rest of the text that you input. Here are some document classes: article report book letter resume (to be installed) beamer (to be installed)

oddsidemargin Definition oddsidemargin refers to the space between the text and the left edge of the page. Default is 1in Positive value pushes to the right Negative value pushes to the left

topmargin Definition topmargin refers to the space between the text and the top edge of the page. Default is 1in positive value pushes down Negative value pushes up

textwidth and textheight Definition textwidth is the amount of characters per line. Basically the width of the text. It effects the right margin. Definition textheight refers to the number of lines on a page. The height of the text. it effects the bottom margin.

Setting Margins The Idea 1in margins Piece of U. S. letterpaper is 8.5inX11in.

Margin Specifications for 1in margins \setlength{\oddsidemargin}{0in} \setlength{\textwidth}{6.5in} \setlength{\topmargin}{-.7in} \setlength{\textheight}{9.0in}

Latex Commands Commands Use backslash to begin a latex command. There are two different categories of latex commands. They are: 1 Inline 2 Environment

Inline Commands Structure of Inline Commands \command[optional]{required} Example Here are some examples of inline commands: \documentclass[12pt]{article} \usepackage{package name} \emph{emphasized text}

Environment Commands Definition Environment commands tell latex what to do with specific blocks of text. They always include begin and end commands. Here are some examples of environment commands. \begin/end{document} \begin/end{itemize} \begin/end{enumerate} \begin/end{center} \begin/end{singlespace} \begin/end{quote}

Document Divisions Document divisions help you organize a document Such examples may include section, subsection, subsubsection, part, chapter, paragraph, or subparagraph. Ability to use some of the above may be contingent upon the documentclass. You can easily make a table of contents with a document that includes divisions.

What it looks like Example \chapter{chapter name} \part{part name} \section{section name} \subsection{section name} \tableofcontents

Bulleted and Numbered Lists list commands Bulleted and numbered lists are done with itemize and enumerate environments respectively. item 1 item 2 item 3 1 number 1 2 number 2 3 number 3

Source Example Here is the source of the materials on the last slide. \begin{itemize} \item item 1 \item item 2 \item item 3 \end{itemize} \begin{enumerate} \item number 1 \item number 2 \item number 3 \end{enumerate}

Different Text Styles Here are some text styles that you can use in your latex document. Bold Italicized underlined bold italicized \textbf{bold} \textit{italicized} \underline{underlined} \textbf{\textit{text}}

Text Sizes You select between 12pt and 10 pt fonts in the documentclass command. For other font sizes here are some useful commands. \tiny = 5pt \scriptsize = 7pt \footnotesize = 8pt \small = 9pt \normalsize = 10pt \large = 12pt \Large = 14pt \LARGE = 18pt \huge = 20pt \Huge = 24pt

Sources to look up For fonts: http: //web.image.ufl.edu/help/latex/fonts.shtml for margins: http: //web.image.ufl.edu/help/latex/margins.shtml