TeX, LaTeX, BibTeX and the Graduate Student Scott Weaver Pace University April 12, 2008.

Slides:



Advertisements
Similar presentations
Publishers Web Sites Standard Features. Objectives Access publishers websites Identify general features available on most publishers websites Know how.
Advertisements

EndNote Web Reference Management Software (module 5.1)
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
EndNote reference manager. Introduction to EndNote.
Endnote Tutorial The Version pictured is version 9.0 May 8, 2007.
EndNote. What is EndNote:  EndNote is referencing software that enables you to create a database of references from your readings. Your database of references.
XHTML Basics.
157A, Fall Semester 2006 Brent Turner. Presentation Contents: 1. What Is LaTeX? 2. History of LaTeX 3. LaTeX Use 4. Typesetting – HTML vs. LaTeX 5. LaTeX.
Introduction to LaTeX CPS470 Software Engineering Fall 1998.
Word vs. LaTeX Udi Boker April 2004.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Word 2003 Lab 3 Creating Reports and Tables.
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,
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.
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.
Welcome to the 3-day Workshop on > Presented by Saeid Abolfazli Faculty of Computer Science and IT University Malaya 23,24, and.
Creating a Simple Page: HTML Overview
Research Tools: LaTex A high quality document preparation system by Karthikeyan Umapathy.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
Introduction to LaTeX PRISM Brownbag Series June 9 th, 2009 Byungwon Woo.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
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.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
LaTeX Tutorial Fiona Shearer May 11th, 2004 Disclaimer added
LaTeX A Short Intro to Marco D. Santambrogio Politecnico di Milano Sala DEIB 2 Sept 2015 Ver. 2/9/15.
CIS 451: Introduction to XML Dr. Ralph D. Westfall October, 2011.
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.
IS1811 Multimedia Development for Internet Applications Lecture 4: Introduction to HTML Rob Gleasure
Chapter 13. Applets and HTML HTML Applets Computer Programming with JAVA.
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.
Visualizing and Presenting1Söhn (SS 2008) Visualizing and Presenting in Research and Teaching Introduction to LaTeX Jan-Philipp Söhn Adapted from David.
Object-Oriented Program Development Using Java: A Class-Centered Approach, Enhanced Edition.
McGraw-Hill Career Education© 2008 by the McGraw-Hill Companies, Inc. All Rights Reserved. Office Word 2007 Lab 3 Creating Reports and Tables.
EndNote. What is EndNote? EndNote is referencing software that enables you to create a database of references from your readings.
1 EndNote X2 Your Bibliographic Management Tool 30 September 2009 Aaron Tay Tel: /30
1 EndNote X2 Your Bibliographic Management Tool 29 September 2009 Humanities and Social Sciences Resource Teams.
EndNote: The Next Steps Rebecca Starkey Reference Librarian The Joseph Regenstein Library
Javadoc. Purpose of javadoc javadoc is a program that reads your Java program and produces great-looking documentation in HTML format Without any help,
UoS Libraries 2011 EndNote X5 - basic graduate session.
MICROSOFT WORD 2010 Lesson 6: Word Templates. The goal of this lesson is for the students to successfully create and work with templates. The student.
Research Methods and Techniques Lecture 4 Literature Survey 2 © 2004, J S Sventek, University of Glasgow.
CSE470 Software Engineering Fall Tools - Overview LaTeX – Tool to create documents RCS – Revision Control System, to maintain multiple versions.
IN THE NAME OF GOD. Reference Citing Software.
Page Layout You can quickly and easily format the entire document to give it a professional and modern look by applying a document theme. A document theme.
Instructions for Endnote Mary Biathrow, Academic Coordinator Tuck School of Business.
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.
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley What did we learn so far? 1.Computer hardware and software 2.Computer experience.
1 CSC160 Chapter 1: Introduction to JavaScript Chapter 2: Placing JavaScript in an HTML File.
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.
A Bibliographic Management Software NORSHUHADA SAIDIN REFERENCE & RESEARCH DIVISION PERPUSTAKAAN KEJURUTERAAN UNIVERSITI SAINS MALAYSIA.
LaTex -Computer scientist named Donald Knuth developed the program called Tex, in 1978.(mainly focused on formulae) -Later a mathematician and computer.
LATEX By GerardoVela 3/27/2015.
Microsoft Word Illustrated
LaTeX is not... rubber a Bill Gates product WYSIWYG (see) VooDoo
Introduction to LaTeX David Squire
EndNote What is EndNote? EndNote Library, how to manage?
Basic usage and packages of TEX
A Very Short Introduction to LaTeX
A high quality document preparation system
Welcome To Microsoft Word 2016
Presentation transcript:

TeX, LaTeX, BibTeX and the Graduate Student Scott Weaver Pace University April 12, 2008

References All the following slides are based on the following: archive/info/lshort/english/lshort.pdf archive/info/lshort/english/lshort.pdf archive/info/lshort/english/lshort.pdf archive/info/lshort/english/lshort.pdf roduction-to-bibtex/ roduction-to-bibtex/ roduction-to-bibtex/ roduction-to-bibtex/

TeX Created by Donald E. Knuth Purpose: Typeset text and mathematical formulae High typographical quality First released in 1982 TeX is the first syllable in the Greek word texnologia (technology) Pronounced “Tech” as in Technology

LaTeX Written by Leslie Lamport Interact at a Higher level Plain TeX Uses TeX as its typeset engine What can it produce? Scientific and mathematical documents Scientific and mathematical documents Simple letters Simple letters Complete books Complete books Pronounced “Lay-Tech” or “Lah-Tech”

LaTex vs. WYSIWYG Not a WYSIWYG program like MS-Word or Corel WordPerfect. To preview the document, it must be processed with LaTeX Problems with WYSIWYG Documents generated aesthetically pleasing with very little or inconsistent structure Documents generated aesthetically pleasing with very little or inconsistent structure LaTeX forces the author to declare the logical structure of the document LaTeX forces the author to declare the logical structure of the document

LaTeX Compared With WYSIWYG WYSIWYG = “What You See Is What You Get” WYSIWYG text is placed while it is typed TeX, a formatter, separates entering text and placing it on the page Examples Entering a New Section Word Example: Word Example: Hit twice to get two lines of vertical space Type "Section 1.2: New results“ highlight the text, clicking to select a larger type size, clicking to select a new type style Hit two more times to get two more lines of vertical space. Tex Example Tex Example Type "\section{New results}“ Format it later when it is “compiled” Word processing a twenty page technical article is hard keeping the vertical space between sections uniform is error-prone keeping the vertical space between sections uniform is error-prone making sure that all of the bibliographic entries follow the required format making sure that all of the bibliographic entries follow the required format correct equations lay out correct equations lay out

Advantages of LaTeX over WYSIWYG Word Processors Best output Fast Stable - Documents that run today will still run in ten years, or fifty. How is *.doc vs. *.docx? Flexible Input: plain text Output: anything – PS, PDF, HTML, or whatever will appear in the future Highly portable and FREE The scientific standard Professionally crafted layouts available Typesetting mathematical formulae convenient complex structures Generated easily ( i.e. footnotes, references, table of contents, bibliographies) See Examples:

Disadvantages of LaTeX over WYSIWYG Word Processors Does not work well for people who have sold their souls to … Although some parameters can be adjusted within a predefined document layout, the design of a whole new layout is difficult and takes a lot of time. Very hard to write unstructured and disorganized documents. Your hamster might, despite some encouraging first steps, never be able to fully grasp the concept of Logical Markup.

LaTeX Input Files Plain ASCII Text created with any text editor (WinEdt suggested later) Contains the text and LaTeX layout commands Whitespace treated as HTML treats whitespace Special Characters need “Escaped” # $ % ^ & _ { } ~ \ # $ % ^ & _ { } ~ \ \# \$ \% \^{} \& \_ \{ \} \~{} \# \$ \% \^{} \& \_ \{ \} \~{} Note \ is not escaped using \\ since “\\” is used for line breaking Note \ is not escaped using \\ since “\\” is used for line breaking

LaTeX Commands \commandName[options]{arguments} Case Sensitive Case Sensitive options : optional options : optional arguments : manditory arguments : manditory Example: \includegraphics[width=2.5cm]{chick.eps} Example: \includegraphics[width=2.5cm]{chick.eps}

LaTeX Command Example

Comments Comment Single Line Comment Single Line Comment Character: “%” Ignores the rest of the line (and all whitespace at the beginning of the next line) Multi-line Comment Multi-line Comment \begin{comment} … \end{comment} Must include \usepackage{verbatim} in the preamble of your document

Comment Examples

Input File Structure \documentclass[options] {class} … \usepackage[options] {package} …\begin{document}…\end{document} Specifies the type of document you intend to write Include commands to influence the style of the whole document Load external packages Start the body of your document End the document – anything that follows is ignored

Input File Structure \documentclass{article}\usepackage{babel}\begin{document} \title{An Example} \maketitle…contents…\begin{bibliography}…\end{bibliography}\end{document}Preamble Front Matter Body Back Matter

Basic Processing Example Create the file (small.tex) \documentclass{article}\begin{document} Small is beautiful. \end{document} Run LaTeX on the file creating a dvi latex small.tex View dvi using yap simply double-click on the dvi file simply double-click on the dvi file Ghostscript to change to a ps file dvips -Pcmz small.dvi -o small.ps Or Use WinEdt…more on that later

Basic Processing Architecture

Another Example \documentclass[a4paper,11pt]{article} % define the title \author{H.~Partl} \title{Minimalism} \begin{document} % generates the title \maketitle % insert the table of contents \tableofcontents \section{Some Interesting Words} Well, and here begins my lovely article. \section{Good Bye World} \ldots{} and here it ends. \end{document}

Other Possibilities Making Tables Adding Images Adding Captions Labels and Cross-References

BibTeX

Introduction BibTeX is… A plain-text file format and a program designed to work with LaTeX A plain-text file format and a program designed to work with LaTeX bibliographical information (author name, journal title, date, etc) stored in the file bibliographical information (author name, journal title, date, etc) stored in the file incorporates BibTeX file (.bib) into LaTeX documents incorporates BibTeX file (.bib) into LaTeX documents

Sample Bibliographic Hemmendinger07, author = {David Hemmendinger}, author = {David Hemmendinger}, title = {The ACM and IEEE-CS guidelines for undergraduate CS education}, title = {The ACM and IEEE-CS guidelines for undergraduate CS education}, journal = {Commun. ACM}, journal = {Commun. ACM}, volume = {50}, volume = {50}, number = {5}, number = {5}, year = {2007}, year = {2007}, issn = { }, issn = { }, pages = {46--53}, pages = {46--53}, doi = { }, doi = { }, publisher = {ACM}, publisher = {ACM}, address = {New York, NY, USA}, address = {New York, NY, USA}, lets BibTeX know that the bibliographical entry is an article. Other Types: book phdthesis unpublished misc and others Hemmendinger07 identifies the entry – used when citing it in a LaTeX document.

Using BibTeX in a LaTeX Doc 1.Set the bibliography style. The standard is plain: \bibliographystyle{plain} The standard is plain: \bibliographystyle{plain} Location: after \begin{document} Location: after \begin{document} Other Styles: Other Styles: unsrt –same as plain except entries are numbered based on when they are cited, not alphabetically by author. alpha – Similar to plain except instead of having numerical identifiers (e.g. [1]), labels are created based on the year of publication and the name of the author(s). abbrv – Names and journal titles are abbreviated. 2.Make citations. To cite, insert \cite{ident} ident is the identifier (i.e. Hemmendinger07). ident is the identifier (i.e. Hemmendinger07). 3.Tell LaTeX to make the bibilography near the end of the document. \bibliography{bibfile} bibfile is your bibliography file bibfile.bib (without the.bib) bibfile is your bibliography file bibfile.bib (without the.bib)

Producing a Document with BibTeX latex document bibtex document latex document Produces an.aux file that lists all citations made within the document Looks up.aux file for citations, and generates a.bbl according to style Allows latex to look up the.bbl file. Final run needed to resolve forward references.

Basic Processing Architecture

Other Useful Software WinEdtJabRef

WinEdt “A powerful and versatile ASCII editor and shell for MS Windows with a strong predisposition towards the creation of [La]TeX documents.” Eclipse is to Java as WinEdt is to LaTeX

WinEdt Screen

JabRef JabRef is an open source bibliography reference manager (FREE). The native file format: BibTeX Runs on the Java VM (version 1.5 or newer) Features Advanced BibTeX editor: Detailed editing of BibTeX entries. Advanced BibTeX editor: Detailed editing of BibTeX entries. Search functions: Search a pattern in the whole bibliography. Search functions: Search a pattern in the whole bibliography. Classification of entries - You can group entries explicitly, by keywords or any other fields. Classification of entries - You can group entries explicitly, by keywords or any other fields. Import of various formats Import of various formats Built-in and custom export formats (i.e. HTML, Docbook, BibTeXML, etc) Built-in and custom export formats (i.e. HTML, Docbook, BibTeXML, etc) Customization of BibTeX fields Customization of BibTeX fields Customizable Interface Customizable Interface Integrates to your environment – Launch PDF/PS viewers, web browser, etc. Integrates to your environment – Launch PDF/PS viewers, web browser, etc. Automatic Key generation Automatic Key generation Search Medline, Citeseer, IEEEXplore and arXiv Search Medline, Citeseer, IEEEXplore and arXiv

JabRef Screen