Introduction to L A TEX

Similar documents
Introduction to L A TEX

Introduzione a LaTex. Fabrizio Messina

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

LAT E X week 2: Basics for Writing a Document

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

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

Introduction to Latex. A workshop by Dr. Ala Eshmawi

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

Helen Cameron. A Brief Overview of LATEX

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

L A TEX From The Ground Up

Helen Cameron. A Brief Overview of LATEX

GROUP ASSIGNMENT. L A TEX Assignment 1/3

Basic L A TEX. what is LaTeX?

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

Introduction to Scientific Typesetting Lesson 5: The Structure of a Document

Formatting with LaTeX

Using L A T E X for scientific writing

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

An Introduction to LATEX

Introduction to L A T E X

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

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

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

LaTeX A Tutorial. Mohsen Alimomeni, 2010

Introduction to Scientific Typesetting Lesson 1: Getting Started

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

Document Preparation Using L A TEX

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

Dec. 27 th, 2010 University of Isfahan

L A TEX incollaboration

Lecture 1: Short summary of LaTeX basics

L A TEX Course at ICT School

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

beginlatex /12/ : page #69

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

Useful L A TEX Commands

L A TEX for Psychological Researchers

An Introduction to L A TEX

LATEX Seminar Week 2 Jonathan Blair & Evan Ott. Document classes, basic math formatting, basic pictures, tables and matrices

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

The aaltoseries class

Basics. Options. Commands

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

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

Workshop: A Simple Introduction to L A TEX

A Quick L A TEX Primer

Part - I : Short Course Typing Text

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

Typesetting Papers for Proceedings of the ACM

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

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

A Short Introduction to L A TEX

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

Guide to using L A TEX

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

L A TEX Workshop. Don Brower

A quick guide to L A TEX

Introduction to LaTeX. Paul Fodor Stony Brook University

Presentation of Scientific Results

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

Absolute L A TEX Beginner

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

An Introduction to L A T E X

Standard Poster Talks for MPS with L A TEX

An Introduction to L A TEX

Introduction to LaTeX. Christoph Pickl

Getting started with Latex

L A T E X Week 11, Other Document Classes

LaTeX. Information Literacy II EN(IL2) Course

Introduction to L A TEX

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

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

COMS 6100 Class note

A Brief Introduction to L A TEX

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

Become a L A TEX Guru

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

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

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

VERY VERY SHORT GUIDE TO LATEX

A L A TEX-Package for IEEE PES Transactions

Essential L A TEX. Jon Warbrick Luis Rivera 1989/2014

Literate programming with R and L A TEX

LaTeX. Information Literacy II EN(IL2) Course

Introduction to L A TEX

EBESS and MESS Presents: Learn to LaTeX. Presented by Joshua Tambunan 13 February 2018

Introduction to L A TEX

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

David Helmbold, October 2005, Revised October 2007

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

Workshop on LaTeX. Outline. Muhammad Mostafa Monowar 11/13/2017

Literature Research. Advanced Topics in Future Internet Research Seminar Multimedia Communications I/II

CS 189 L A TEX and Linux: Displaying Text

Introduction to L A TEX

My First L A TEX Report Structure, Formatting, Useful Packages and Commands

The Honours Dissertation Class for L A TEX2e. Cara MacNish

L A TEX Thesis Class for University of Colorado

Math 235: Introduction to LaTeX

ADVICE TO AUTHORS. Société Mathématique de France

Transcription:

Introduction to L A TEX 2. Document structure Markus Harju Mathematical Sciences

2. Document structure Johdatus LaTeXiin (2/12) a Document classes The basic document classes in L A TEX are article, report and book. They are taken into use by starting the input file with the command \documentclass{class} One can supply options to document class as optional arguments: \documentclass[12pt, a4paper]{article} Other options include: 10pt (default), 11pt letterpaper (default), b5paper, a5paper,... draft (marks oversized lines), final (default, does not mark oversized lines) twoside (outputs text for book-like two-sided printing) twocolumn (outputs text into two columns).

a Document parts I Any document of reasonable length should be divided into sections, subsections, subsubsections, etc. This is done in article class with commands \section{} \subsection{} \subsubsection{} \paragraph{} \subparagraph{} report and book classes provide also \chapter{} There is also a \part{} command which does not affect the sectioning numbering. Note that this concerns only structure, not formatting. 2. Document structure Johdatus LaTeXiin (3/12)

Document parts II a The sectioning commands are usually used in the form \section[short title]{title} where short title is optional and meant for table of contents. L A TEX numbers sections automatically. The numbering can be avoided by adding asterisk sign (*), for example: \section*{unnumbered title} The \appendix command accepts no arguments and changes the section numbering to capital letters A, B, C,... It is useful for typesetting appendices, for example: \appendix \section{one long proof} \newpage command starts a new page Demo: Document sectioning. 2. Document structure Johdatus LaTeXiin (4/12)

a Table of contents \tableofcontents command produces the table of contents automatically right where it is given Table of contents is produced based on the previous L A TEX run. That s why it is sometimes necessary to run L A TEX twice to get the contents right. Unnumbered section titles are not included in the table of contents Demo: How to make a table of contents 2. Document structure Johdatus LaTeXiin (5/12)

2. Document structure Johdatus LaTeXiin (6/12) a Title page Title page is produced with the \maketitle command For that to work one must specify the title and author of the document in the preamble. The date command is optional. More than one author can be separated by the \and command An example: \documentclass{article} \author{m. Harju \and T. Harju} \title{dokumentin rakenne} \date{14.9.2016} \begin{document} \maketitle \end{document} Title page is put to separate page by supplying the titlepage option in article class

a Environments Environments are used to specify parts of the document that are to be formatted differently An environment is started with \begin{name} and ended with \end{name}, where name is the name of the environment. Each environment that is started must be ended too! Environments can be inside other environments, for example: \begin{ymp1} Oh, we are inside environment ymp1 Let s start another environment... \begin{ymp2} Some text... \end{ymp2} \end{ymp1} Note that you must start and end environments in correct order! (try) 2. Document structure Johdatus LaTeXiin (7/12)

Cool environments I a Abstracts are made with abstract environment: \begin{abstract} This thesis proves huge things. \end{abstract} The environments flushleft, center and flushright produce text that is either left justified, centered or right justified. For example: \begin{flushright} This text is justified to right margin and not to both left and right as is usually the case. \end{flushright} Demo: Illustrate abstract and justified text. 2. Document structure Johdatus LaTeXiin (8/12)

a Cool environments II Enumerated lists are made with enumerate environment. For example: \begin{enumerate} \item Do the dishes \item Run the vacuum cleaner \item Do the laundry \end{enumerate} 1. Do the dishes 2. Run the vacuum cleaner 3. Do the laundry List labels can be formatted also manually by using an optional argument. For example, \item[(a)],\item[(b)],... Bulleted (unnumbered) list similarly with the itemize environment. Demo: Making of lists 2. Document structure Johdatus LaTeXiin (9/12)

2. Document structure Johdatus LaTeXiin (10/12) a Cool environments III description environment is appropriate when a number of words or expressions are to be defined: \begin{description} \item[dvi] Device Independent. \item[pdf] Portable Document Format. \item[ps] PostScript. \end{description} DVI Device Independent. PDF Portable Document Format. PS PostScript.