Adopted from: PRISM Brownbag Series June 9 th, 2009 Byungwon Woo.

Slides:



Advertisements
Similar presentations
Document preparation for project reports Rob Pooley
Advertisements

Lecture 8 Introduction to Latex. Introduction TeX is essentially a Markup Language (like HTML, XML and RTF) TeX written by Donald Knuth in 70´s –A revolution.
SDT-Specific IT-INTRODUCTION IT at the IT-University Versioning LaTex TODAY.
Introduction to LaTeX CPS470 Software Engineering Fall 1998.
1 Mark Gleeson (01) Graduate Students‘ Union Trinity College, Dublin New Frontiers.
LaTeX 2e Basics CSE470 Fall 2000 Software Engineering B.J. Czerny Updated by J. Brown, A. Subramanian.
Applications of Tex for papers and your thesis Lecture by Natascha Niermann,in context of the phd progamm FB Physik, Surface Physics Universität Osnabrück,
School of Aeronautics and Astronautics Introduction to by Arun K. Subramaniyan
CS 173 Fall Introduction to LaTeX David and Lucas CS 173 Fall 2009 Written with significant references to Oetiker et al. “The Not So Short Introduction.
Chapter 12: Network Programming Desktop Publishing Translator models Latex Documentation Preparation Postscript programming language WYSIWIG Editors.
LaTeX Tutorial. What is LaTeX? TeX is a typesetting system designed in 1978 to automate the production of high quality print using any type of computer.
Latex A document preparation system All academic staff in Computer Science publish their work using Latex – NOT Microsoft Word. Why? Note to self – press.
1 LaTeX Introduction Wenguang Wang Department of Computer Science University of Saskatchewan February 28, 2000.
For AMS 200, 2009 Dept. of Applied Math & Statistics School of Engineering University of California Santa Cruz, CA A Very Short Introduction to LaTeX.
Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Writing Large Documents with LaTeX and WinEdt Emmett Ientilucci.
Welcome to the 3-day Workshop on > Presented by Saeid Abolfazli Faculty of Computer Science and IT University Malaya 23,24, and.
Research Tools: LaTex A high quality document preparation system by Karthikeyan Umapathy.
Introduction to LaTeX PRISM Brownbag Series June 9 th, 2009 Byungwon Woo.
Introduction to… About Tex & LaTeX What is TeX? What is LaTeX? Advantages - Disadvantages.
Introduction to LaTeX CS157b John Eagle. TeX TeX is a computer program created by Donald E. Knuth. It is aimed at typesetting text and mathematical formulae.
Introduction to Unix – CS 21 Lecture 16. Lecture Overview LaTeX History Running and creating LaTeX documents Documents and Articles Tables Lists Fonts.
Introduction to LaTeX Thomas Gorry. What is Latex?  A typesetting system used to produce professional looking documents.  Particularly good at handling.
LaTeX Tutorial Fiona Shearer May 11th, 2004 Disclaimer added
LATEXLATEX IPA – batch. LATEXLATEX  A document preparation system - pronounced as lay-tek  It is a markup and programming language created by.
LaTeX A Short Intro to Marco D. Santambrogio Politecnico di Milano Sala DEIB 2 Sept 2015 Ver. 2/9/15.
CC510 - LaTeX 1 Lecturer - 김한규 (Hangyu Kim) 1CC510 – 2011.
LaTeX (+ BibTeX) Tutorial
1 Lecture 4 A Brief Introduction to LaTeX Introduction to Information Technology Dr. Ken Tsang 曾镜涛
June LaTeX " A typesetting package for formatting and creating documents. Created by L. Lamport based on TeX designed by D. Knuth. " Alphanumeric.
1 LaTeX For Dummies Mulugeta Gebregziabher Division of Biostatistics and Epidemiology MUSC April 4, 2011.
Academic Writing Using LaTeX
Visualizing and Presenting1Söhn (SS 2008) Visualizing and Presenting in Research and Teaching Introduction to LaTeX Jan-Philipp Söhn Adapted from David.
McGraw-Hill Career Education© 2008 by the McGraw-Hill Companies, Inc. All Rights Reserved. Office Word 2007 Lab 3 Creating Reports and Tables.
SIGNewGrad: Intro to LaTeX
LATEX B. R. Chandavarkar, Wireless Information Networking Group (WiNG), CSE Dept., NITK, Surathkal.
Seminar Sam Panzer. Good Evening, and Welcome First, an overview of what these seminars will cover Topics: – What you need to get started – What LaTeX.
An introduction to LaTeX a document preparation language Richard Bower (from an original lecture by Shaun Cole and Cedric Lacey)
C151 Multiuser Operating Systems Introduction to LaTeX.
CSE470 Software Engineering Fall Tools - Overview LaTeX – Tool to create documents RCS – Revision Control System, to maintain multiple versions.
Introduction to LaTeX and Bibtex
Lecture 3- Microsoft Word COE 201- Computer Proficiency.
Chapter 5 More About LaTex. Packages A package, which takes the form of a file with a sty extension, can be used to alter formatting parameters, create.
Information SKL for Graduate Students Instructors: Sina Mater 3 December 2010.
Introduction to LaTeX A Mathematical typesetting system.
R 賴威昇 Introduction 2. Why using LaTeX ? 3. LaTeX usage: ◦ Backbone ◦ Equation ◦ Figure ◦ Table ◦ BibTex 4. Compile 5. Conclusion.
Prepared by the Academic Faculty Members of IT. Tables Creating Tables. Merging Cells. Splitting Cells. Sorting Tables. Performing Calculations.
Sébastien Le Roux. not What I am not going to talk about The explanations are in my HowTo ! Check my web IPCMS Basic tutorial to programming.
Formatting a Research Paper Lesson 10 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft Word 2013.
Vereniging voor Technische Physica workshop 2016.
Go to View > Master > Slide Master to insert your unit name here Author 1 | Author 2 | Author 3 (edit this list on View > Slide Master) Go to View > Slide.
Department of Mathematics, Jazan University, Jazan.
LaTex -Computer scientist named Donald Knuth developed the program called Tex, in 1978.(mainly focused on formulae) -Later a mathematician and computer.
LaTeX Tutorial. What is LaTeX? TeX is a typesetting system designed in 1978 to automate the production of high quality print using any type of computer.
LATEX By GerardoVela 3/27/2015.
Formatting a Research Paper
Vereniging voor Technische Physica workshop 2016.
By Rajyalakshmi Divi IIT Bombay
Introduction to LaTeX David and Lucas CS 173 Fall 2009
LaTeX Tutorial.
Introduction to LaTeX By Dan Burke.
LaTeX is not... rubber a Bill Gates product WYSIWYG (see) VooDoo
Basic usage and packages of TEX
A Very Short Introduction to LaTeX
Engineering Librarian
Outline Basic English Information Inquiry Reading Technical Materials
A high quality document preparation system
Making Math Look Pretty – or How to Use LaTeX
LaTeX A typesetting package for formatting and creating documents. Created by L. Lamport based on TeX designed by D. Knuth. Alphanumeric source files are.
LaTeX Documents Document Body Preamble 8/3/2019 ARENA Tutorial - LaTeX
Presentation transcript:

Adopted from: PRISM Brownbag Series June 9 th, 2009 Byungwon Woo

What is LaTeX?  LaTeX is pronounced “lay-tech” or “lah- tech,” not “la-teks.”  LaTeX is a document preparation system for high-quality typesetting.  LaTeX is most often used to produce technical or scientific documents, but it can be used for almost any form of publishing.

Why Use LaTeX?  Designed by academics and easily accommodates academic use.  Professionally crafted predefined layouts make a document really look as if “printed.”  Mathematical symbols and equations are easily integrated.  Even complex structures such as footnotes, references, table of contents, and bibliographies can be generated easily.  Forces author to focus on logical instead of aesthetic structure of a document.  Creates more beautiful documents.  Portable, compatible, flexible, versatile, and cheap (or free)!

Installing LaTeX  In Windows  MiKTeX MiKTeX is a typesetting system for the Windows. Download from for freewww.miktex.org It is generally recommended to install MiKTeX first, then WinEdt.  WinEdt WinEdt is a text editor. WinEdt creates the source file (.tex and others). Download from for free for 30 days. WinEdt costs $30.

Installing LaTeX  Other text editors There are other text editors. Winshell for free ( Scientific Workplace ○ Combination of LaTeX and Mathematics program ○ Does a good job of calculating and graphing, very user friendly, but expensive  In Mac  TexShop Download for free Includes everything!

DIY

Basic Document Structure The format of a document is pretty simple. – In the preamble Documentclass Packages – In the front matter Title/author – In the body Contents – In the back matter bibliography

In the Preamble  You specify your document class. Document classes: letter, article, report, book, slides(beamer, prosper) ○ \documentclass[12pt]{article} ○ Backslash – at the beginning of text markup command Packages: numerous packages are available ○ \usepackage[margin=1in]{geometry} ○ \usepackage{setspace} ○ \usepackage{harvard}

In the Front Matter  \begin{document}  \title{}  \author{}  \maketitle  \begin{abstract}  \end{abstract}  \pagebreak

Journal Article

Document Class  Article – has sections, subsections etc  Report – has chapters, sections, subsections etc.  Book – all the stuff for real books  Slides – clearly for slides

Document Class Options  Size of main font in document  Paper size  Number of columns in document  Duplexing or not (double sided printing)  Page layout  Whether chapters must begin on a RHS page

Project Management  Sometimes you don’t want to keep everything in one text file  Often it is more convenient to have one file per chapter, section, etc.

Multiple-file Project \begin{document}[letter,12pt]{report} \title{A Simple Report} \include{Chapter1} \include{Chapter2} \end{document} Main.tex Chapter2.tex Chapter1.tex

In the Body To begin a new section \section{} – Similarly, \subsection{}, \subsubsection{}, \subsubsubsection{} – LaTeX does automatic numbering. If you don’t like it, use section*{} \emph{}, \textbf{} \singlespacing, \doublespacing, \onehalfspacing \centering or \begin{centering} & \end{centering}

Footnotes/Quotes/Equations  \footnote{}  \begin{quote} & \end{quote}  ` ’, `` ’’ for quatations  Mathematical Equations Math always in between $ & $ ○ Alternatively, \begin{equation} & \end{equation} $ 1+4=5 $ \frac{}{}, \sqrt{}, \sum_{k=1}^{n} ^{}, _{} \greek letters (e.g. \alpha or \Alpha) WinEdt also provides click and type functions.

Citations  \cite{bibtexkey}, citeyear{bibtexkey}  It is more convenient to create a bibliography file, called bibtex file(.bib) and use it as needed.  WinEdt is capable of creating a bib file, but there are more convenient tools out there.  JabRef (

Typing Normal Text  Quotation marks – `` -> “ and ‘‘ -> ”  & symbol is saved so use \&  % symbol is saved so use \%  ~ is a non-breaking space so use ~~

Cross-referencing  First label what you wish to reference \section{Wing Design}\label{sec:wingDesign}  Then you can reference it by using \ref{} So as I was saying in~\ref{sec:wingDesign}  Bibliographies work very similarly

Environments  Environments are used to hold special things like Figures and Tables  Figures will float – meaning they will move with the text so that they appear in the best spot for the manuscript’s appearance This means that figures are placed at the top or bottom of pages wherever possible.  Also includes things like lists

Lists  There are 3 basic types of lists Enumerate (numbered lists) Itemize (bulleted lists) Description (lists started by a descriptor) \begin{enumerate} \item Birds \item Trees \end{enumerage} 1.Birds 2.Trees \begin{itemize} \item Birds \item Trees \end{ itemize } \begin{description} \item[Birds] fly \item [Trees] don’t \end{description} Birds Trees Birds fly Trees don’t

Tables  Tables are anchored in the text C1C2C3 ABC DEF \begin{table} \center\caption{A Simple Table}\label{tb:simple} \begin{tabular}{r|rc} C1 & C2 & C3 \\ \hline A & B & C\\ D & E & F\\ \end{tabular} \end{table} Table 1: A Simple Table

Figures  Tables are anchored in the text \begin{figure}[h] % Requires \usepackage{graphicx} \includegraphics[width=8in]{SimpleFigure}\\ \center\caption{A Simple Figure}\label{fig:simple} \end{figure} Figure 1: A Simple Figure

Mathematical Formulae  Multiple ways to enter math mode 1. In line with text using $ 2. Equation environment – This will number your equations off to the side! 3. Equation array environment – Allows you to type multiple equations at a time in a single environment and have them nicely separated.

Math Mode  Changes many rules from normal text Most spaces in math mode have no significance and are ignored Empty lines are not allowed – only one paragraph per formula  There are LOTS and LOTS of symbols Use references or GUI shortcuts until you learn the ones you will need

In line with Text

Equation Environment \begin{equation} \label{eq:eps} \epsilon > 0 \end {equation} From (\ref{eq:eps}), we gather \ldots{}From \eqref{eq:eps} we do the same.

Equation Array Environment \begin{eqnarray} f(x) & = & \cos x\\ f ’(x) & = & -\sin x\\ \int_{0}^{x} f(y)dy & = & \sin x \end{eqnarray}

In the Back Matter  Don’t forget bibliography{filename} Make sure that the bibtex file is saved in the same location where the main tex file is saved.  Don’t forget end{document}

Seeing the Document Press on the smiling bear to convert to.dvi Press on the PDF/LaTeX to convert to.pdf Press on the PDF+happy bear to convert to.pdf and open it

Common Mistakes  Often times, you make a mistake when creating a document. You will notice the log file reporting a problem.  There are some common mistakes: “end” doesn’t follow “begin” $ doesn’t follow $ Using commands from packages lot defined in the preamble Don’t forget “\”s.

Other Resources  Books Leslie Lampert LaTeX: A Document Preparation System. Helmut Kopta and Patrick W. Daly Guide to LaTex Frank Mittelbach et al The LaTeX Companion  Online Guides CV and dissertation templates are available on line