ShortCourseOfL A T E X Lecture I

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

Learning L A TEX. Patrick Lam

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

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 Tutorial. 1 Introduction. 2 Running L A TEX. J. E. Rice. May 2010

My LaTeX Document. July 7, Introduction 2

Lecture 1: Short summary of LaTeX basics

LATEX TYPESETTING SYSTEM. CAAM 519, CHAPTER 3

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

L A TEX for Psychological Researchers

David Helmbold, October 2005, Revised October 2007

Introduzione a LaTex. Fabrizio Messina

Introduction to LaTeX. Paul Fodor Stony Brook University

L A TEX incollaboration

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

How to get started in L A TEX

Abstract A quick intro by examples to the document preparation language L A TEX.

Introduction to LATEX

News from the Wrapper

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

Typesetting with TEX

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

Written & Oral Presentation: Computer Tools

Introduction to L A TEX

Appendix C. Numeric and Character Entity Reference

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

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

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

Assessments for CS students:

Introduction to L A TEX

Report Title. Author Name. January 15, Abstract

An Introduction to L A TEX

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

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

L A TEX: Online module 2

An Introduction to TeX and LaTeX: Lecture 2: Interior and exterior of documents

Introduction to Latex. A workshop by Dr. Ala Eshmawi

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

Learning LaTeX: The Basics

Report Writing with Lyx

LATEX Primer. 1 Introduction (Read Me)

Introduction to L A TEX

L A TEX From The Ground Up

L A TEX for Psychological Researchers

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

Introduction to L A TEX

Outline. A Sneak Peek

L A TEXInstallation and Introduction

Tools for Scientific Writing with LAT E X. Johan Carlson

LAT E X week 2: Basics for Writing a Document

Guide to using L A TEX

Guidelines for ETNA manuscripts 1

A brief introduction to L A TEX

Introduction to Math in LaTeX

LearningLatex. % This file walks you through some basic things with LaTex % Thanks to Patrick Lam and Maya Sen for letting me borrow their materials

Introduction to L A TEX

Typesetting with L A TEX: The Basics 1

A Short Introduction to L A TEX

ISO 31 conforming typesetting in L A TEX

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

This file contains an excerpt from the character code tables and list of character names for The Unicode Standard, Version 3.0.

Introduction to L A T E X

Character Entity References in HTML 4 and XHTML 1.0

ERNST. Environment for Redaction of News Sub-Titles

A quick guide to L A TEX

Tools for Scientific Writing with LAT E X. Johan Carlson

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

Basic L A TEX. what is LaTeX?

Appendix B: Latex survival guide

Meeting One. Aaron Ecay. February 2, 2011

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

Introduction to LAT E X

L A TEX Workshop. Don Brower

Workshop: A Simple Introduction to L A TEX

Formatting with LaTeX

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

Workshop P. Stallinga 16-X-2012

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

Math 235: Introduction to LaTeX

Intro to LaTeX Workshop

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.

CSCM10 Research Methodology A Taster of L A TEX

Useful L A TEX Commands

Introduction to L A TEX beamer

Lecture 5 C Programming Language

George Grätzer. Practical L A TEX

Style template and guidelines for SPIE Proceedings

Author Information: How to Avoid Common Conversion Problems L A TEX XML

L A TEX Primer. Randall R. Holmes. August 17, 2018

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

An Introduction to L A T E X

An introduction to L A TEX for students

VerTeX User s Manual

7/8. LaTex TeX -1 7/ LaTeX 7/10 2 7/11 EPS 7/12 IEEE

Jim Callahan. Revised: 6 August 2002

You 2 Software

Introduction to L A TEX

1 Obtaining LyX and L A TEX

simpletex Documentation

Transcription:

ShortCourseOfL A T E X Lecture I LukaG.Poniatowski ½ ¾ ½ DepartmentofPhysics,FacultyofExactandNaturalSciences, Tbilisi State University ¾ AbastumaniAstrophysicalObservatory, Ilia State University August 17, 2017 L A T E X Workshop LATEX WorkshopAugust 17, 20171/27

Outline 1 L A T E X Simply Document First Compilation Different document classes 2 L A T E X environmentsandmodes Modes Environments 3 Usefulstuff Text Formatting Math Formatting 4 Extraenvironments LATEX WorkshopAugust 17, 20172/27

WhyL A T E X 1. Powerful Tool For Text Formatting Á Full text formatting control Á Piloting, Data manipulation Á Compatible with most calculation platform Á Master- slave support 2. Plane Text Editor 3. Small Memory Consumption 4. CrossplatformforthemostexistingOS 5. Best Math and Text visualization Æ Ë ½ ¼ ¼ Î Â Ë ¼ ¼ Ø Ë LATEX WorkshopAugust 17, 20173/27

WhyL A T E X 1. Powerful Tool For Text Formatting Á Full text formatting control Á Piloting, Data manipulation Á Compatible with most calculation platform Á Master- slave support 2. Plane Text Editor 3. Small Memory Consumption 4. CrossplatformforthemostexistingOS 5. Best Math and Text visualization Æ Ë ½ ¼ ¼ Î Â Ë ¼ ¼ Ø Ë LATEX WorkshopAugust 17, 20174/27

WhyL A T E X 1. Powerful Tool For Text Formatting Á Full text formatting control Á Piloting, Data manipulation Á Compatible with most calculation platform Á Master- slave support 2. Plane Text Editor 3. Small Memory Consumption 4. CrossplatformforthemostexistingOS 5. Best Math and Text visualization Æ Ë ½ ¼ ¼ Î Â Ë ¼ ¼ Ø Ë LATEX WorkshopAugust 17, 20175/27

WhyL A T E X 1. Powerful Tool For Text Formatting Á Full text formatting control Á Piloting, Data manipulation Á Compatible with most calculation platform Á Master- slave support 2. Plane Text Editor 3. Small Memory Consumption 4. CrossplatformforthemostexistingOS 5. Best Math and Text visualization Æ Ë ½ ¼ ¼ Î Â Ë ¼ ¼ Ø Ë LATEX WorkshopAugust 17, 20176/27

WhyL A T E X 1. Powerful Tool For Text Formatting Á Full text formatting control Á Piloting, Data manipulation Á Compatible with most calculation platform Á Master- slave support 2. Plane Text Editor 3. Small Memory Consumption 4. CrossplatformforthemostexistingOS 5. Best Math and Text visualization Æ Ë ½ ¼ ¼ Î Â Ë ¼ ¼ Ø Ë LATEX WorkshopAugust 17, 20177/27

WhyL A T E X 1. Powerful Tool For Text Formatting Á Full text formatting control Á Piloting, Data manipulation Á Compatible with most calculation platform Á Master- slave support 2. Plane Text Editor 3. Small Memory Consumption 4. CrossplatformforthemostexistingOS 5. Best Math and Text visualization Æ Ë ½ ¼ ¼ Î Â Ë ¼ ¼ Ø Ë LATEX WorkshopAugust 17, 20178/27

HowdoesL A T E X work? Script Òbegin equation ÒoiintÒlimits ÒpartialÒOmega Òmathbf E Òcdot Òd S = Òfrac 1 Òepsilon 0 ÒiiintÒlimits ÒOmega ÒrhoÒmathbf Òd V Òend equation µ L A T E X µ Æ S º ½ ¼ V º LATEX WorkshopAugust 17, 20179/27

HowdoesL A T E X work? Script Òbegin equation ÒoiintÒlimits ÒpartialÒOmega Òmathbf E Òcdot Òd S = Òfrac 1 Òepsilon 0 ÒiiintÒlimits ÒOmega ÒrhoÒmathbf Òd V Òend equation µ L A T E X µ Æ S º ½ ¼ V º Donotforget! Here: Òrenewcommand*ÒdÒmathrm d wasneededtoget ËandnotS º 10/27

Script 1. Header \documentclass[<options>]{<class>} 2. Additional Packages \usepackage[<options>]{<package>} 3. Document Body Òbegin document document Òend document 11/27

Simple Document 1. Create source file simple.tex 2. Add script Á Header Á No extra packages Á Document body [user@host DIR]$ vi simple.tex... Òdocumentclass[12pt,a4paper] article Òbegin document The simplest document with text Òend document... 12/27

Compilation 1. Compile script file: somename.tex µ somename.dvi 2. Generate postscript: simename.dvi µ somename.ps 3. Convert to PDF: simename.ps µ somename.pdf 4. View dvi/ps/pdf [user@host DIR]$ latex simple.tex... [user@host DIR]$ dvips simple.dvi... [user@host DIR]$ ps2pdf simple.ps [user@host DIR]$ xdvi simple.dvi 13/27

Document classes Different classes different tools, different look Common classes: article, beamer, book 14/27

Document classes Different classes different tools, different look For now ARTICLE 15/27

Coffee Tea ßÞ Ð Break 16/27

L A T E X ModesI L A T E X supports:2mainmodes,2supplementarymode I Textmode Á Titles, subtitles, sections... Á Paragraphs, captions, descriptions... II Mathmode Á Mathformulas,intextentries... Á Tables,plots... III Commands Á Textsize,font,stile... Á Special characters, lines, boxes... IV Comments 17/27

L A T E X ModesII I Text mode- normal environment Òbegin document Text here is treated as a normal text in document body Òend document II Mathmodes-tobecalled $ expression $ Ò[ expression Ò] $$ expression $$ III Commands-tobecalled \<command> Òdots Òsmall Òit IV Comment % it treated as a comment 18/27

Practical use of modes 1. Edit source Òdocumentclass[12pt,a4paper] article Òbegin document This is text. This is command Òdots This is $f(y)=3 y$ math inline expression Ò[ g(x) =k x+b Ò] $$ fog=3 k x+3 b $$ %and this will not bee seen Òend document 2. Compile latex dvips ps2pdf 3. View 19/27

Environments Environment defines how is treated and formatted text or set of commands within there body Òbegin environment environment body Òend environment Á Equations Á Alignment Á Equ. array Á Cases Á Enumeration Á Itemization Á Tabulation Á Figures Donotforget! Some environments need special packages \usepackage{<some package>} 20/27

Some common environments Environment Function equation single line numbered equation eqnarray array of numbered equations multline multiple line numbered equations align specially aligned equation array cases forcases Table: Math mode environments Environment Function figure tools for formatting figures table tools for formatting tables tabular creating tables array creating arrays minipage create minipage within current page Table: Text/General mode environments 21/27

Text formatting Á Text sizing: \Huge \LARGE \Large \small \footnotesize \tiny Á Font style: \texit/\it \textbf/\bf \emph \underline \texttt Á Spacing: \newpage \pagebreak \\ \bigskip \medskip \vspace Á Sectioning: \part \section \subsection \subsubsection Á Titling: \title \author \date \today \maketitle Á Placing: \begin{} <center> <fleshleft> <fleshright> \end{} Á Listing: \begin{} <itemize> <enumerate> <list> \end{} \item Á Special Characters: \& \_\% \# \{ \} \S \textbackslash \textasciitilde 22/27

Math formatting Á Font style: \mathrm \mathbf \mathit \mathbb \mathcal \mathfrak Á Spacing: \, \: \; \quad \qquad \vspace{} Á Labeling and Referencing: \label \ref \cite Á Accents: \bar \dot \ddot \vec \tilde \hat Á Formatting: \frac{}{} \dfrac{}{} ^{} _{} \sqrt[]{} \left\right Á Greek Alphabet: \alpha \beta \Psi \gamma \Gamma \zeta \vartheta Á Relations: \pm \sim \equiv \propto \sum \int \oint \gg \ll \prime Á Special Characters: \hbar \infty \partial \Delta \nabla \square \bot \ 23/27

Not standard environments& commands Á Òcencle - Package cencle Á <multline> - Package asmmath Á Òoint - Package esint Á <multicols> - Package multicol Á Òcolor - Package color Á <empheq> - Package empheq Á Òincludegraphics - Package graphic 24/27

25/27

Thank you! tobecontinued... fornexttime? (multiple environment use, functions, styles, bibtex, include, titlepage,practicalwork,...?) CreatedwithL A T E X 26/27