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.

Slides:



Advertisements
Similar presentations
Document preparation for project reports Rob Pooley
Advertisements

By Saeid Abolfazli Faculty of Computer Science and IT, University Malaya, Malaysia. Website:
Html: getting started HTML is hyper text markup language. It is what web browsers look at on the Internet. HTML documents should be created in a simple.
Some LaTeX features By Andreas Grondoudis 1. Contents This week we'll look at some TeX features Before specifics – Already uploaded on my website; the.
INSERT BOOK COVER 1Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Access 2010 by Robert Grauer, Keith Mast,
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall. 1 Skills for Success with Office 2010 Vol. 1, 2e PowerPoint Lecture to Accompany.
PZ14A Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, PZ14A - Text processing Programming Language Design and.
Introduction to LaTeX CPS470 Software Engineering Fall 1998.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Word 2003 Lab 3 Creating Reports and Tables.
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,
LaTeX 2e Basics CSE470 Spring 2000 Software Engineering B.J. Czerny Updated by Prasad.
Chapter 12: Network Programming Desktop Publishing Translator models Latex Documentation Preparation Postscript programming language WYSIWIG Editors.
PDFs & Dorsetforyou.com Laura Hall Senior Website Officer
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.
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.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
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.
CITY UNIVERSITY / Vysoká Škola Manažmentu.:MG Information Systems :. © Martina Cesalova, 2005 MS FRONTPAGE 1 1.Open FrontPage – View -> Page 2.Open.
Introduction to Latex A very quick look at typesetting documents Andrei Gurtov (based on Troy D. Milner and Simon Cuce slides)
Using a Spreadsheet Chapter 5.
MLA Report Formatting.
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.
Committed to Shaping the Next Generation of IT Experts. Exploring Microsoft Office Word 2007 Chapter 4: Share, Compare and Document Robert Grauer, Keith.
CC510 - LaTeX 1 Lecturer - 김한규 (Hangyu Kim) 1CC510 – 2011.
Intro to LaTeX WING meeting 12 Jan What’s LaTeX? >An alternative to using MS Word for writing reports and papers >Our target today: HYP Thesis.
Word Processing An introduction to Microsoft Word Lecture 15.
CMSC 601 LaTeX Spring 2011 Tim Finin
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.
Creating documents 09/18/13 Introduction to Latex.
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
Text processing Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section 12.1.
By: Ms. Abeer Helwa 1. WORD WEB APP 2 Word Web App is a limited version of Word, enabling you to edit, format, and share documents online. Word Web App.
CSE470 Software Engineering Fall Tools - Overview LaTeX – Tool to create documents RCS – Revision Control System, to maintain multiple versions.
By: Ms. Abeer Helwa 1. WORD WEB APP 2 Word Web App is a limited version of Word, enabling you to edit, format, and share documents online. Word Web App.
Lecture 3- Microsoft Word COE 201- Computer Proficiency.
 The formatting applied to a document can affect: › How the reader interprets the document › How easily the document is read › The overall impression.
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.
R 賴威昇 Introduction 2. Why using LaTeX ? 3. LaTeX usage: ◦ Backbone ◦ Equation ◦ Figure ◦ Table ◦ BibTex 4. Compile 5. Conclusion.
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.
Department of Mathematics, Jazan University, Jazan.
DAY 25: WORD CHAPTER Rohit March 28,
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.
A Workshop on LibreOffice Er. Arvind Kumar Assistant Professor, Department of Computer Science & Engineering
LATEX By GerardoVela 3/27/2015.
Lecture 1 Introduction to Latex
Sébastien Le Roux.
Computer Fundamentals
By Rajyalakshmi Divi IIT Bombay
COMPSCI 111 / 111G An introduction to practical computing
LaTeX Tutorial.
LaTeX is not... rubber a Bill Gates product WYSIWYG (see) VooDoo
An Introduction to the LaTex typesetting system
A Very Short Introduction to LaTeX
Outline Basic English Information Inquiry Reading Technical Materials
Text processing Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section 12.1.
A high quality document preparation system
Making Math Look Pretty – or How to Use LaTeX
Welcome To Microsoft Word 2016
Presentation transcript:

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 in typesetting Latex is an extension of TeX –Macro packages to make TeX easier to use presentaion is based on Troy D. Milner and Simon Cuce slides)

Latex vs. Word Processors High typeset quality Easy to include math formulas Source file format is not bounded to a particular OS or platform Latex implementations exists for all platforms (DOS, Windows, Unices,..) Latex is free

Latex vs. Word Processors De facto standard for scientific publishing Very few bugs Good for large documents Can run even on 386 PC Not very easy to learn

Example of Latex document \documentclass{article} \title{Simple Example} \author{Andrei Gurtov} \date{March 2000} \begin{document} \maketitle Hello world! \end{document}

Creating Latex Files Your Latex FileYour Bibtex File Latex compile x3 Bibtex compile x2 Latex compile x3 Your Postscript File dvips compile x1 Device independent output.dvi (a text file)

Latex File Structure Document Class Predefined Formats (article, report, book,..). Packages used Added Functionality (graphics, reference style,...). Main Body Text and Bibliography References.

The Basics Document Class \documentclass[options]{class} options = a4paper, 11pt, 12pt, 10pt, twocolumn, landscape,... class = article, report, book,... Packages \usepackage{package name} epsfig = insert PS pictures into the document fancyhdr = easy definition of footer and header

Body of Text Start with \begin{document} End with \end{document} Typesetting Text –\\ or \newline and \newpage –Quotations –Bold \textbf{……………} or \bf –Italics \emph{…………} or \textit{………} or \it –Underline \underline{…………} or \ul

Body of Text cont… Including Multiple Files –\input{filename.tex}

Format Sections –\section{…} = 1. Latex is Great –\subsection{…} = 1.1 Why Latex is Great –\subsubsection{…} = Reason One –\appendix - changes numbering scheme –\chapter{…} - To be used with book and report document classes Titles, Authors and others –\title{…} \author{…} –\footnote{…}

Format Contd. \maketitle - Display Title and Author \tableofcontents - generates TOC \listoftables - generates LOT \listoffigures - generates LOF Labels –\label{marker} - Marker in document. –\pageref{marker} - Displays page no. of marker. –\ref{marker} - Displays section location of marker. Itemize –Use either enumerate, itemize or description. –see handout for example.

Lists Source –\begin{itemize} –\item Apple –\item Orange –\end{itemize} Result –Apple –Orange

Lists Enumerate instead of itemize gives a numbered list Lists can be recursive

Environment Something between –\begin{name} –\end{name} Many command, for example \bf affect the text until the end of environment Environments can be recursive Examples: – itemize, center, abstract

Group Group is some text between { and } Many commands work until the end of the group Code –put {one word \bf in bold} here Result –put one word in bold here

Alignment Environments center, flushleft, flushright Example –\begin{flushright} –Right aligned –\end{flushright} Result Right aligned

Font size \tiny \scriptsize \footnotesize \small \normalsize \large \Large \LARGE \huge \Huge

Example of Latex document \documentclass{article} \title{Simple Example} \author{Andrei Gurtov} \date{March 2000} \begin{document} \maketitle Hello world! \end{document}

Tabular Columns –\begin{tabular}{|…|…|} –\end{tabular} Rows –& - Split text into columns –\\ - End a row –\hline - Draw line under row –e.g & 34.00\\ \hline Two Columns l = automatically adjust size, left justify r = automatically adjust size, right justify p = set size e.g p{4.7cm} c = centre text

Example of table \begin{tabular}{|l|r|c|} \hline Date & Price & Size \\ \hline Yesterday & 5 & big \\ \hline Today & 3 & small \\ \hline \end{tabular}

Floating Objects Floating objects can stop splitting of tables and images over pages. \begin{figure}[options] \end{figure} \begin{table}[options] \end{table} They will now appear in the –List of Figures (LOF) and –List of Tables (LOT). Options (recommendations) h = place table here t = place at top of page b = place at bottom of page

Example of floating figure \begin{figure}[ht] \centering\epsfig{file=uni.ps, width=5cm} \caption{University of Helsinki} \label{uni} \end{figure} Figure~\ref{uni} shows...

Images Use epsfig package \usepackage{epsfig} Including images in main body \epsfig{file=filename.eps, width=10cm, height=9cm, angle=90} Creating EPS - Use xv and/or xfig. MS Power Point, save as GIF and convert to EPS.

Bibliography by hand \begin{thebibliography}{} \bibitem[Come95]{Come95} Comer, D. E., {\it Internetworking with TCP/IP: Principles, Protocols and Architecture}, volume 1, 3rd edition. Prentice-Hall, \end{thebibliography}

Bibliography using Bibtex Bibliography information is stored in a *.bib file, in Bibtex format. Include chicago package –\usepackage{chicago} Set referencing style –\bibliographystyle{chicago} Create reference section by –\bibliography{bibfile with no extension}

Bibliography using author=“D. E. Comer”, title={Internetworking with TCP/IP: Principles, Protocols and Architecture}, publisher=“Prentice-Hall”, year=1995, volume=1, edition=“Third”}

Bibliography contd. Citing references in text –\cite{cuc98} = (Cuce 1998) –\citeN{cru98} = Crud (1998) –\shortcite{tom98} = (Tom, et. al. 1998) Creating Bibtex Files –Use Emacs with extensions. –or copy Bibtex entries from bibliography database.

Some Math \begin{center} {\large $$ y=\frac{a^3+2c_{x}}{1+\sqrt{b_{x}}} $$ \\ \vspace{0.2in} $$ Q=\sum_{i=1}^{j}\int_{\mu}^{\infty}f(x_{j })dx $$ \\ \vspace{0.2in} $$ \Psi = \oint_{- \infty}^{\infty}f_{xy}({\frac{\partial Qx}{\partial Qy}})^{\Im_{\pi}^ \prime} $$ \\ }

Tools UNIX based systems –xdvi, ghostview, fixps, emacs with latex/bibtex support. Windows 98/NT –Ghostview, Acrobat Distiller, Acrobat Reader, Scientific Workplace (not the best), the Bibtex viewer is good. Paint Shop Pro, Latex and Emacs

Conclusions Latex is optimal for master and phd thesis? Mathematical formulae are easy. Use bibtex search engines Consider converting Postscript files to PDF (more widespread in Windows world) and to conserve space.