www.cs.olemiss.edu

Download Report

Transcript www.cs.olemiss.edu

Using TeXStudio And LaTeX
Skills Seminar
February 28th, 2014
David Troendle
Agenda
●
Introduction
●
Installing TeXStudio on Windows and Ubuntu.
●
Structuring a LaTeX document.
●
Creating itemized and enumerated lists.
●
Creating a bibliography.
●
Creating figures, graphics and referencing them.
●
Creating tables.
●
Creating equations.
●
Getting past problems.
Introduction
●
●
●
Purpose of Skill Seminar
–
Get past steepest part of learning curve for a topic
quickly.
–
Discuss basic strategy.
–
Show participate how to punch through the shallow part
of the learning curve.
LaTeX is a markup language conceptually similar to HTML.
Not WYSIWYG!
TeXStudio is an integrated development environment for
LaTeX.
Installing TeXStudio on
Windows and Ubuntu
●
Installation instructions available here.
●
Handy websites:
–
LaTeX Project Site
–
Comprehensive TeX Archive Network
–
Extensive package archive.
TeXStudio
–
LaTeX Wiki Book (Special characters)
–
LaTeX Math (Equations) Wiki Book
●
Structuring a LaTeX Document
●
HelloWorld.tex
●
\documentclass
●
●
–
\documentclass{article}
–
\documentclass[journal]{IEEEtran}
–
\documentclass[print]{acmconf}
Sample searches:
–
“latex ieee document class example”
–
“latex acm document class example”
Use the abstractions!
Creating itemized and
enumerated lists
●
Bullets And Numbering Part 1
●
Our first package – enumerate
●
Bullets And Numbering Part 2
Creating a Bibliography
●
●
BibTeX is the component of LaTeX that handles
bibliographies. Formatting is largely controlled by the
document class.
There is a separate <file>.bib that contains the
bibliography database.
●
Bibliography Part 1
●
Google “Quicksort” to find BibTeX file
●
Bibliography Part 2
●
Bibliography Database
Creating Figures, Graphics
And Referencing Them
●
Figures And References
●
Use LibreDraw to create eps files.
●
Use Gimp to create png files.
Creating Tables
●
Tables
Creating Equations
●
●
Equations
Balancing parens, brackets is important. TeXStudio can
help.
Getting Past Problems
●
Google it. Google it. Google it.
–
“latex how to boldface”
–
“latex how to set margins”
–
“latex how to place figures in figures”
–
“latex how to create algorithms”
–
“latex how to include file listings verbatim”
–
“latex how to create state diagram”
Examples
●
“CSci-533 Fall 2013 Homework 1.tex”
–
●
“Engr-692-67 Spring 2014 Homework 1.zip”
–
●
Example of arrays, program listings, and figures within
figures.
“Engr-692-67 Spring 2014 Homework 2.zip”
–
●
Example of algorithms, proofs
Example of aligning equations.
Thanks to Drs. Wilkins and Xue for allowing their
assignments to be shared.
Thanks!
●
Questions
Our doubts are traitors,
And make us lose the good we oft might win
By fearing to attempt.
William Shakespeare, "Measure for Measure", Act 1 scene 4
Fear of failure does not justify not trying. Try it!