LaTeX. Information Literacy II EN(IL2) Course

Similar documents
LaTeX. Information Literacy II EN(IL2) Course

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

LaTeX A Tutorial. Mohsen Alimomeni, 2010

An introduction to L A TEX for students

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

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

Introduzione a LaTex. Fabrizio Messina

Math 235: Introduction to LaTeX

Latex Tutorial. CIS400 Senior Design 9/5/2013

Introduction to Latex. A workshop by Dr. Ala Eshmawi

Helen Cameron. A Brief Overview of LATEX

An Introduction to L A TEX

Document Preparation Using L A TEX

Basic L A TEX. what is LaTeX?

Dec. 27 th, 2010 University of Isfahan

An Introduction to L A TEX

Introduction to L A T E X

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

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

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

An Introduction to L A T E X

Information Literacy II EN(IL2) Course. LaTeX Presentation Skills

Introduction to LaTeX. Paul Fodor Stony Brook University

L A TEX From The Ground Up

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

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

Helen Cameron. A Brief Overview of LATEX

Mikkel Madsen

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

Formatting with LaTeX

COMS 6100 Class note

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

An Interactive Introduction to L A TEX. Part 2: Structured Documents & More. Dr John D. Lees-Miller. writel A TEX.

Introduction to L A TEX

Introduction to LATEX

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

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

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

Getting started with Latex

Learning L A TEX. Patrick Lam

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

Introduction to LATEX

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

Introduction to LaTeX. Christoph Pickl

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

Using L A TEX Tom Edgar

L A TEX for Psychological Researchers

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

What is L A T E X? Dan Yasaki. June 4, 2018 REU at Elon University. UNC Greensboro. Dan Yasaki What is LAT E X? 1 / 22

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

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

Introduction to Scientific Typesetting Lesson 1: Getting Started

Mikkel Madsen

David Helmbold, October 2005, Revised October 2007

Introduction to L A TEX beamer

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

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

L A TEX for Psychological Researchers

Effective Programming Practices for Economists

An Interactive Introduction to L A TEX

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

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

L A TEX Workshop. Don Brower

INSTALLING AND USING L A TEX

An Interactive Introduction to L A TEX. Part 1: The Basics. John Lees-Miller. writel A TEX

LAT E X week 2: Basics for Writing a Document

Very Short Introduction to LaTeX

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

Workshop: A Simple Introduction to L A TEX

L A TEX for psychological researchers

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

Lecture 1: Short summary of LaTeX basics

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

Introduction to L A TEX

Assessments for CS students:

VERY VERY SHORT GUIDE TO LATEX

LaTeX installation guide

GROUP ASSIGNMENT. L A TEX Assignment 1/3

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

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

A brief introduction to L A TEX

Using L A T E X for scientific writing

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

LaTeX Workshop. While you re waiting, please make an account at

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

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

Absolute L A TEX Beginner

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

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

Introduction to LAT E X

Introduction to. Research Seminar System Analysis. Florian Kragulj

CSCM10 Research Methodology A Taster of L A TEX

Introduction to L A TEX

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

Introduction to L A TEX

LATEX TYPESETTING SYSTEM. CAAM 519, CHAPTER 3

How to get started in L A TEX

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

Guide to using L A TEX

An Introduction to LATEX

Transcription:

LaTeX Information Literacy II EN(IL2) Course

Previous Lecture Saving plots to file Customizing plots Bar and pie charts

Today Introduction to Latex - Basic commands - Structure of the document - Mathematical expressions - Adding image Assignment 2 (and 3)

LaTeX A document preparation system developed by L. Lamport based on the TeX system created by D. Knuth. Will be written as "Latex" for simplicity. Takes a document created using the Latex markup language and converts into a format suitable for printing (typically PDF). Free software.

Latex (cont) Powerful support for mathematical formulas and diagrams, citations, cross-references, footnote, bibliographies, etc. Commonly used by publishers for preparation of books and academic journals. Flexible programming environment for creating new commands, environments, packages, etc.

Using Latex on your own computer Main Latex website: https://www.latex-project.org/ On MacOS: Install MacTeX: http://www.tug.org/mactex/ On Windows: Install MiKTeX: https://miktex.org/ Both distributions contain a complete system (including editor) Plenty of documentation online Easy to find help!

Advantage of Latex: Latex vs. Word - Portable: can be used on any computer - Stable: old documents can still be read - Standard in Academic world - Easier to use but only after some time Drawback of Latex: - Not WYSIWYG - Not so common outside of university - More difficult at the beginning

Latex General Idea Focus on the content Do not focus on the design Latex will choose automatically the best design How to use Latex: 1 Write a source file report.tex 2 Compile using Latex 2 Fix the errors and compile again 3 Check the result, typically report.pdf

Latex First Example \documentclass{article} \title{my first Latex document} \author{francois Bonnet} \begin{document} Always start with \documentclass[ ]{ } Latex commands use backslash: \commandname { } is for mandatory arguments [ ] is for optional arguments Use the \title{ }, \author{ }, and \date{ } to give title, author, and date \maketitle This is my first document written in Latex. It seems difficult but as we will see, it is not so difficult! \end{document} The main content of the document is between the \begin{document} and \end{document} commands The command \maketitle creates the top of the document

Latex In this room Use TeXShop to write Latex documents Compile using the Typeset button (or Cmd-T shortcut) Check/correct errors (if any)

Latex First Example \documentclass{article} \title{my first Latex document} \author{francois Bonnet} \begin{document} \maketitle This is my first document written in Latex. It seems complex but as we will see, it is not so difficult to write good documents using Latex! \end{document}

Latex Document structure... \begin{document} \section{how to use matplotlib} I describe here how to use matplotlib Use the commands \section{ } and \subsection{ }to structure your document. \section{how to use \LaTeX} I describe here how to use LaTeX. I will first explain history of Latex, then some basic commands, then... New paragraph starts after an empty line. Use an empty line to start a new paragraph. \subsection{history} Bla bla bla bla \subsection{basic commands} Bla bla bla bla Automatic numbering of sections and subsections Try subsubsection or \subsection{something else} \end{document} subsubsubsection or

Latex List... \begin{document} The itemize environment can be used to create a list of items. There are three main OS: \begin{itemize} \item macos To create numbered list, one should use the enumerate environment. \item Linux \item Windows \end{itemize} Try enumerate on your computer. Try nested lists on your computer. \end{document}

Latex Math expressions... \begin{document} It is very easy to write ``complex'' mathematical expressions: \begin{itemize} \item $\alpha$, $\beta$, $\gamma$, $\Gamma$, \ldots \item $\sqrt{256} = 16$ \item $x_1 + x_2 + x_3$ \item $(x+y)(x-y) = x^2 - y^2$ \end{itemize} \[ \sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6} \] \end{document} Inline mathematical expression appears between $...$ Display mode is activated using \[ \] and should be used for more complex formulas Use the `` and '' for quotes. Do not use the (double quotation mark) Note also the \ldots command that produces

\documentclass{article} Latex Insert images \usepackage{graphicx}... \begin{document} Use the graphicx package. Need to add it in the preamble with \usepackage{graphicx} \begin{figure} \centering \includegraphics[width=6cm]{figure4.pdf} \caption{a simple curve} \end{figure} \begin{figure} Use the figure environment to insert figures in the document. Specify the size of the figure with the width or height. \centering \includegraphics[width=\textwidth]{figure4.png} \caption{the same curve but larger and from a.png file} \end{figure} Use width=\textwidth to specify the full textwidth. \end{document}

Assignment 2 Create a Latex document assign2.tex that contains (at least): - A title and your name (as author) - Some short text (just a few lines) - The mathematical expression on the right: (Attention to parenthesis, look for help online) - One picture (for example, the one from Assignment 1) Typeset the file assign2.tex to create assign2.pdf Compress assign2.tex, the picture, and assign2.pdf into assign2.zip Submit via OCW-i the compressed file before July 10.

Assignment 3 Write a short document (2-5 pages) in Latex You can choose the topic: About your country, about sport, about videogame, about music, It should contains at least three graphs (made with matplotlib) of at least two different types (line, bar, pie, histogram, ) Deadline probably around end of July Do not wait for the last minute to start it!

Next time Other documentclass Some packages (and CTAN) Labels and references Bibliography and citations Table Japanese characters