Introduction to Jeroen Buijs.

Slides:



Advertisements
Similar presentations
Document preparation for project reports Rob Pooley
Advertisements

EndNote reference manager. Introduction to EndNote.
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.
Cleveland State University EEC 414/503, ESC 720 Writing in Electrical and Computer Engineering Lecture 13 Technical Typesetting with LaTeX Dan Simon.
Project Title Authors BS 110 Lab Section #XX, TA Name Introduction Include BRIEF BACKGROUND (with citations), QUESTIONS ASKED and the RATIONALE for your.
SDT-Specific IT-INTRODUCTION IT at the IT-University Versioning LaTex TODAY.
Introduction to LaTeX CPS470 Software Engineering Fall 1998.
RefWorks for Historians Shona McLean
LaTeX 2e Basics CSE470 Fall 2000 Software Engineering B.J. Czerny Updated by J. Brown, A. Subramanian.
Lecture 5 Word Processing. ©1999 Addison Wesley Longman5.2 Text Editors Utility program for creating and modifying text files. Do not embed control characters,
LaTeX 2e Basics CSE470 Spring 2000 Software Engineering B.J. Czerny Updated by Prasad.
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.
The “R” Statistical Package Naomi Altman Dept. of Statistics PSU.
Jean Phillips Schwerdtfeger Library Space Science and Engineering Center University of Wisconsin-Madison November 2005.
Saeid Abolfazli, Faculty of Computer Science and IT, University Malaya Malaysia.
1 LaTeX Introduction Wenguang Wang Department of Computer Science University of Saskatchewan February 28, 2000.
B.A. (Mahayana Studies) Introduction to Computer Science November March Office Tools A look at the main tools most computer users.
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.
Computer Science : Information Systems Design and Development Unit Web Sites - National 4 / 5 St Andrew’s High School-Revised January 2013 Slide 1 St Andrew’s.
Research Tools: LaTex A high quality document preparation system by Karthikeyan Umapathy.
Introduction to LaTeX PRISM Brownbag Series June 9 th, 2009 Byungwon Woo.
Managing your References Sue Bird Bodleian Bio- & Environmental Sciences October 2010.
Introduction to LaTeX Thomas Gorry. What is Latex?  A typesetting system used to produce professional looking documents.  Particularly good at handling.
Chapter 3 PART 2 - SPREADSHEET CMPF 112 : COMPUTING SKILLS CALC FOR LINUX.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
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.
Chapter 3 – Part 1 Word Processing Writer for Linux CMPF 112 : COMPUTING SKILLS.
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.
BRIEF A BRIEF Introduction to L A T E X For Physics Graduate Students Prof. L. S. Pinsky Physics Department University of Houston.
7 minutes on draft-ash-alt-formats and using (La)TeX for IDs Yaakov (J) Stein.
McGraw-Hill Career Education© 2008 by the McGraw-Hill Companies, Inc. All Rights Reserved. Office Word 2007 Lab 3 Creating Reports and Tables.
SAS ODS (Output Delivery System) Donald Miller 812 Oswald Tower ;
LATEX B. R. Chandavarkar, Wireless Information Networking Group (WiNG), CSE Dept., NITK, Surathkal.
1 EndNote X2 Your Bibliographic Management Tool 29 September 2009 Humanities and Social Sciences Resource Teams.
COMPUTER SOFTWARE FORM 1. Learning Area Introduction to computer software Operating System (OS) Application Software Word Processing Software Presentation.
CSE470 Software Engineering Fall Tools - Overview LaTeX – Tool to create documents RCS – Revision Control System, to maintain multiple versions.
R 賴威昇 Introduction 2. Why using LaTeX ? 3. LaTeX usage: ◦ Backbone ◦ Equation ◦ Figure ◦ Table ◦ BibTex 4. Compile 5. Conclusion.
(pronounced: /leιtεk/, leitεx/, la`tεx, or /la`tεk)
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.
Vereniging voor Technische Physica workshop 2016.
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.
How to get started with RefWorks
Sébastien Le Roux.
LaTeX Resume / CV Workshop
Vereniging voor Technische Physica workshop 2016.
NGUYEN THI THANH NHA HMCL
Information Communication and Technology Services
How to get started with RefWorks
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
A high quality document preparation system
XLS Overleaf training M. Aicheler.
Presentation transcript:

Introduction to Jeroen Buijs

Contents Today Next What is LaTeX? What do we need? Our first example: The Nature LaTeX template Writing articles in Latex Basic commands References Figures Tables Math, Chemistry and Life Sciences Next Presentations in LaTeX Posters in LaTeX Installation of stand-alone version

What is (La)TeX? TeX is essentially a Markup Language (like HTML, XML and RTF) TeX written in 70´s TEX is a typesetting language written by Donald Knuth. Plain TEX easy for simple documents (without equations, chapters etc). Otherwise very tricky. LaTeX is an extension of TeX Macro packages to make TeX easier to use

Latex vs. Word Processors WYSIWYG - WYMIWYG High typeset quality Easy to include formulas & references Source file format is not bounded to a particular OS or platform Implementations exist for all platforms (DOS, Windows, Unix,..) Free Steep learning curve Requires compilation

How to make a document Writer only makes source compiler document Writer only makes source Software creates document

How to make a document source compiler document Several good LaTeX editors exist, e.g. TeXniccenter, www.texniccenter.org (Windows only) TeXstudio, http://texstudio.sourceforge.net/ (“all major OS”) TeXmaker, http://www.xm1math.net/texmaker/ (Linux, MacOSx, Windows)

How to make a document source compiler document The set of programs that makes it possible to compile TeX and LaTeX documents is called a TEX distribution. There are many (La)TeX distributions available for different operating systems. The most commonly used ones are Windows proTeXt, http://www.tug.org/protext/ (includes MikTeX & TeXstudio)) MixTeX, http://www.miktex.org Mac: MacTeX, https://tug.org/mactex/ Unix/GNU/Linux: TeX Live, http://www.tug.org/texlive/

How to make a document source compiler document TeX distributions come with different programs to obtain different output formats. We will use pdflatex to create pdf documents

How to make a document source compiler document Stand-alone version Online editors & compilers: WriteLaTeX, ShareLaTeX: https://www.sharelatex.com Graphical interface combining WISYWIG with WYSIWYM: http://www.lyx.org Exercise 1: Create an account on ShareLaTeX Create a new article intended for Nature In the Menu, make sure to select pdflatex and a spell checker Compile and reflect on the relation source – final document Where do you spell check your document?

The main file: XXX.tex The main file contains a preamble and a document environment The preamble defines the class (and overall style) of your document by defining the document class tells the compiler which packages including all kinds of extra (style) definitions you will use contains your own definitions and commands The document environment Starts with \begin{document}, ends with \end{document} Contains the contents of your document There are other files involved as well. In this case: A file defining the bibliography style (XXX.bst) A file containing the content of the references (XXX.bib)

The main file: XXX.tex Exercise 2: Change the title. Change to two authors and add names. Compile and download the PDF. To learn more on packages and commands, let’s build our own article from scratch using the standard article class Excellent reference for all “basic stuff”: The not so short introduction to LaTeX 2e And if you’re stuck? Google! Link to paper: http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3824241/pdf/294_2013_Article_400.pdf Exercise 3: Using the standard article class, use (Share)LaTeX to create a pdf containing page 1 of the article “Recent insights into Candida albicans biofilm resistance mechanisms” by Mathé and Van Dijck.

References Choose a bibliography style. For this journal, we use the chicago bibstyle. Add this file to your project: http://mirrors.ctan.org/biblio/bibtex/contrib/chicago/chicago.bst Create a bib file that will contain your references and add the first reference in BibTeX format, e.g. by using TeXMeD Tell TeX to include the references at the end of the document in the right style Include the natbib package Insert a \bibliograhystyle and \bibliography command Add the citation in the tekst using the \cite command

Figures The package graphicx can be used to include various graphic formats (like pdf, jpg, png) Figures are typically added as floats by the \begin{figure} … \end{figure} environment In a multicol environment, floats are not allowed to float. We can use the float package and the option [H] to do so…: Preamble: \usepackage{graphicx,float} In the document: \begin{figure}[H] \centering \includegraphics[width=0.9\linewidth]{qBasePlus_example} \caption{qBasePlus} \label{fig:qbp} \end{figure}

Figures Always use vector based graphic formats if possible. Easiest way is to convert them all to pdf Exercise 4a: Add the figure qBasePlus_Example.pdf to your article. First use the blindtext package to add some extra text before and after the picture. Add a cross reference to the figure in your text.

Figures Or even better: let’s create our own graph from the raw data. We use the packages pgfplots and tikz to do this. We don’t want to overload our main file, so we’ll put the figure in a seperate tex-file using the standalone document class, and include it afterwards. Exercise 4b: Create a new file qbpfig.tex and use ybar (pgfplots package) to recreate the figure. Use the \includestandalone command of the standalone package to include the figure in your article.

Figures Possible result: Advantages: The font and style are the same as those of your text. You can choose the most appropriate way to represent your data Take a look here to get an idea of the strength of this package: http://www.texample.net/tikz/examples/all/

Tables To include tables, we can use table floats and the tabular environment. For complex tables, you can use spreadsheet-to-latex converters, e.g. Excel2LaTeX, http://www.ctan.org/pkg/excel2latex Exercise 4c: Add a table to your article. If you want, install and use a spreadsheet converter. Alternatively, you can use an online LaTeX table generator.

Math, Chemistry & Bio stuff LaTeX is very good in typesetting mathematical and chemical formulas. For ‘complexer’ mathematics, use the amsmath package. For chemical formulas, use the chemfig package There also exist some bio-related packages, like: texshade, for displaying the key changes in DNA textopo, to draw transmembrane proteins from a SwissProt file Exercise 5: (choose what you like) Add a Michaelis-Menten (or some other) equation to your article. Add the 2D formula for ethenol to your article. Check out one of the life science packages

Presentations in LaTeX Note: There is a lot of discussion, even within the LaTeX community, About the use of LaTeX for making presentations – although very good Results can be obtained for scientific presentations, some argue that It’s to cumbersome to produce good results without visual software… The best way to create presentations in LaTeX, is by using the beamer class Example!