Presentation is loading. Please wait.

Presentation is loading. Please wait.

Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Creating Documents with LaTeX and WinEdt Emmett Ientilucci Digital.

Similar presentations


Presentation on theme: "Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Creating Documents with LaTeX and WinEdt Emmett Ientilucci Digital."— Presentation transcript:

1 Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Creating Documents with LaTeX and WinEdt Emmett Ientilucci Digital Imaging and Remote Sensing Laboratory Chester F. Carlson Center for Imaging Science 25 January 2005

2 Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Overview MotivationMotivation Required programsRequired programs ResourcesResources Creating an articleCreating an article Create an article with imagesCreate an article with images Writing thesisWriting thesis Compression issuesCompression issues Packages and package managerPackages and package manager The hyperref packageThe hyperref package PdfLaTeXPdfLaTeX

3 Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Motivation Why you should not use MS Word for your thesisWhy you should not use MS Word for your thesis –Word can not handle very large documents –It does a terrible job at formatting equations –Sometimes the equations don’t even print! –You can run into problems with saving the document –You spend all your time figuring out the layout Why you should use LaTeXWhy you should use LaTeX –LaTeX is a typesetting program –People use it to write entire books! –It is designed to implement perfect (AMS) math –It does the layout automatically!

4 Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Required Programs MiKTex.orgMiKTex.org –Implementation of Tex and related programs for Windows on x86 systems –937 packages are includes in ver. 2.4 (Nov. 2003) –Obtain pdf on how to install (uses a wizard!) –Site has on-line manuals Ghostscript (8.50), Ghostview and GSview (4.6)Ghostscript (8.50), Ghostview and GSview (4.6) –Ghostscript is an interpreter for PS –GSview is a GUI for Ghostscript under Windows –cs.wisc.edu/~ghost EditorsEditors –WinEdt (winedt.com) v 5.4, Build: 2005-01-14 –Misc. stuff (i.e., plug-ins) for WinEdt (winedt.org) »Graphics interface »Table designer »Document interface

5 Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Resources BooksBooks –A Guide to LaTeX 4 th ed. (Kopka and Daly, 2003) $50 User Guides (all pdf files, CTAN.org)User Guides (all pdf files, CTAN.org) –The Not So Short Introduction to LaTeX2e. Ver 4.14, Tobias Oetiker, April 2004 Using Graphics (all pdf files, CTAN.org)Using Graphics (all pdf files, CTAN.org) –Using Imported Graphics in LaTeX 2e (Reckdahl) –Graphics and Colour with LaTeX (Daly)

6 Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Creating an Article WinEdt menu overviewWinEdt menu overview Creating a Simple article in WinEdtCreating a Simple article in WinEdt –Classes and options –Creating titles (author, date) –Abstract section and section headers –Equations, numbering and labeling –In- and out-of-document (bibtex) citations –Using WinEdt“help” –Using help and referencing back to WindEdt from DVI –Working with tables and lists –\tableofcontents, \listoftables –Read the “log file” created at compile time

7 Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Create an Article with Images Install a postscript (color) printerInstall a postscript (color) printer ImagesImages –Photoshop: jpg, tiff, etc.  EPS »Preivew: None »Encoding: ASCII »Image interpolation: yes Excel plotsExcel plots »Right click chart. Select chart window »Select File/Page Setup: Portrait. Under chart: Scale to fit page »Print Preview to check layout of plot »Print. Select (color) printer. »Properties/Advanced/PostScript Options/PostScript Output Option: Encapsulated PostScript (EPS) »Select: Print to file (save as *.prn) »Open in GSview to add bounding box. File/PS to EPS. Save as *.EPS

8 Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Create an Article with Images Power Point SlidesPower Point Slides »File/Print/ Select (color) printer. »Print current slide »Properties/Advanced/PostScript Options/PostScript Output Option: Encapsulated PostScript (EPS) Scale to: 50% (because it is in Landscape format)Scale to: 50% (because it is in Landscape format) »Select: Print to file (save as *.prn) »Open in GSview to add bounding box. File/PS to EPS Use similar procedure with other programsUse similar procedure with other programs –MathCAD, etc.

9 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 a Thesis Should use “book” classShould use “book” class Use the RIT style file to create front matter pagesUse the RIT style file to create front matter pages –www.cis.rit.edu/education/handbook Break your chapters up in to separate.tex filesBreak your chapters up in to separate.tex files –Use the \input{} command Use “bibTeX” for your referencesUse “bibTeX” for your references –i.e., create a database (single file) that contains all your references Manage your document with WinEdt’s “project”Manage your document with WinEdt’s “project”

10 Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Compression Issues There seems to be a compression issue when saving a document using DVI  PDFThere seems to be a compression issue when saving a document using DVI  PDF –Compression artifacts are noticeable in PDF file –Program uses a function for the conversion –Can’t seem to override default options in config file –If you figure out how to resolve this, tell me!! Work aroundWork around –Use DVI  PS –In GSview, you can manually set the compression settings when saving as PDF –Use File/Convert/pdfwrite

11 Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Packages and Package Manager There are hundreds of packages written for LaTeXThere are hundreds of packages written for LaTeX –Extra control of appendices –A collection of archaic fonts –Style for typesetting backgammon boards –Fonts for making barcodes –Typeset business cards –Nicer layout of tables –Typeset CD covers –Adobe chess font You can install/uninstall them with Package ManagerYou can install/uninstall them with Package Manager

12 Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Hypertext marks in LaTeX The hyperref packageThe hyperref package –Is used to extend the functionality of all the LaTeX cross- referencing commands to produce \special commands which a driver can turn into hypertext links –Can also allow user to write links to external documents and URL’s It is included with the MiKTeX installationIt is included with the MiKTeX installation Simply include the package asSimply include the package as –\usepackage{hyperref}

13 Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Hypertext marks in LaTeX Hyperref package redefines commands making them hyper-linksHyperref package redefines commands making them hyper-links –\tableofcontents –\listofigure –\listoftables –\ref{} –\cite{} Hyper-links are also preserved when converting to PDF formatsHyper-links are also preserved when converting to PDF formats

14 Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Hypertext marks in LaTeX You can control how hyperref behavesYou can control how hyperref behaves –\hypersetup{options} Where options can includeWhere options can include –colorlinks = true –linkcolor = cyan –citecolor = purple –(see package manual for complete list)

15 Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T PDF LaTeX You can create PDF files directly with pdfLaTeXYou can create PDF files directly with pdfLaTeX –No need for dvi files Can use images in a variety of formatsCan use images in a variety of formats –jpg, png (bitmap) –pdf (vector), make sure you can control compression –eps does not work

16 Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Also check out Windows editor TeXnicCenter (toolscenter.org)Windows editor TeXnicCenter (toolscenter.org) –TeXnicCenter is a feature rich integrated development environment (IDE) for developing LaTeX-documents on Microsoft Windows (Windows 9x/ME, NT/2000/XP) freely available under GPL. Kile, UNIX editorKile, UNIX editor –http://wiki.cis.rit.edu/bin/view/People/FedoraCore3 http://wiki.cis.rit.edu/bin/view/People/FedoraCore3 –http://kile.sourceforge.net/


Download ppt "Digital Imaging and Remote Sensing Laboratory R.I.TR.I.TR.I.TR.I.T R.I.TR.I.TR.I.TR.I.T Creating Documents with LaTeX and WinEdt Emmett Ientilucci Digital."

Similar presentations


Ads by Google