an introduction to - penn engineeringcse400/cse400_2009_2010/cis400_latex... · 26 creating vector...
TRANSCRIPT
![Page 1: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/1.jpg)
Andrew G. West, Jian ChangCIS400 – Senior Design Tutorial
September 15, 2009
An Introduction to
![Page 2: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/2.jpg)
2
Today's Outline
● Introducing TeX/LaTeX● Benefits and potential difficulties● Installation and use on Unix/Mac/Windows● Compiling PDF documents from LaTeX
● Basic document formatting● Typesetting mathematics and special characters● Environments: tables, graphics, and references● Setting document-wide parameters
● BibTex citation system
![Page 3: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/3.jpg)
3
What is LaTeX?
● TeX: A markup language for typesetting● Hasn't changed since 1982 (Donald Knuth)
● LaTeX: Makes TeX somewhat user-friendly● Pronunciation: 'lay-tech', or 'lah-tech'
But never, ever, 'latex' (like the rubber gloves)● A standard in computer science write-ups● Is the opposite of WYSIWYG editors like MS-Word
● Documents must be “compiled” in order to see the results
![Page 4: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/4.jpg)
4
LaTeX Advantages
● Typeset mathematics with ease● Try typesetting
in MS Word
● Separates formatting from authoring● Global changes can be made from one location● Style files: Instant conformity to journal standards
● Consistency: LaTeX is a standard!● Dynamic referencing and labeling
![Page 5: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/5.jpg)
5
LaTeX Disadvantages
● It is not a WYSIWYG editor● You can't see the 'result' as you are typing● May be syntax errors in your 'code'
● Installation can be tricky (is it still?)● Has a bit of a learning curve● Lack of GUI will frustrate some● No convenient help button (orpaperclip) if you get stuck
![Page 6: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/6.jpg)
6
What You Need
● The TeX/LaTeX back end files (engine)● Mac/Linux: TeX-Live (http://www.rna.nl/tex.html)● Windows: MiKTeX (http://www.miktex.org/)● Always completely free and open-source
● A simple text editor● i.e. Notepad, Emacs, JEdit, etc.
● A terminal in which to run programs● Windows calls this 'command prompt'● Or the terminal/shell included with your Unix distro
![Page 7: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/7.jpg)
7
Development Cycle
latex example.tex
example.dvi
dvi2pdf example.dvi
example.tex
example.pdf
COMPILE ERRORS? FIX
EXAMINESAMPLEOUTPUT
CREATE FINAL COPY
FORMAT ERRORS?or CONTINUE AUTHORING
![Page 8: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/8.jpg)
8
Required Tags
COMMENTS: Lines beginning with a '%' are not compiled
DOCUMENT_CLASS: Specify a broad formatting style
BEGIN_DOCUMENT: Delimit start of document body
END_DOCUMENT: Delimit end of document body
The body of the document
PREAMBLE: Global formatting elements are set here
![Page 9: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/9.jpg)
9
Required Tags
COMMENTS: Lines beginning with a '%' are not compiled
DOCUMENT_CLASS: Specify a broad formatting style
BEGIN_DOCUMENT: Delimit start of document body
END_DOCUMENT: Delimit end of document body
The body of the document
PREAMBLE: Global formatting elements are set here
![Page 10: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/10.jpg)
10
Basic Text Formatting
Example 3
![Page 11: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/11.jpg)
11
Basic Text Formatting
Commands begin with '\' (forward-slash)
Here we highlight 'single character'and macro commands. They print
some specific characters/word
Example 3
![Page 12: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/12.jpg)
12
Basic Text Formatting
Using quotations is a little non-traditional
Opening quotes are denoted by 2 left quotes (by '1' on the keyboard), and ended
with 2 right quotes (next to 'enter')
Note to editors: A frequent error
Example 3
![Page 13: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/13.jpg)
13
Basic Text Formatting
Bracketed commands add some effect tothe text contained within the brackets
according to the pattern:
\style{text to be affected}
Example 3
![Page 14: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/14.jpg)
14
Basic Text Formatting
In contrast, these text commands applyuntil another command of the same
type 'overwrites' the previous
How do you know what command is whattype? Experience and documentation
Example 3
![Page 15: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/15.jpg)
15
Basic Text Formatting
Here we see our first 'environment'.Environments are delimited by
\begin{environ} and \end{environ}
They are used for structures that span 1+lines of text. Here we see the
itemize environment
Example 3
![Page 16: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/16.jpg)
16
Basic Text Formatting
● There are thousands upon thousands of special characters like those in example.● For example: Four different lengths of hyphen
● No one just 'knows' LaTeX – even experienced users keep a reference handy for look up
● Anything your standard word processor can do, LaTeX can do, and whole lot more...
![Page 17: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/17.jpg)
17
Basic Mathematics
Example 4
![Page 18: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/18.jpg)
18
Basic Mathematics
Typesetting math is similar to normal text
One major difference is in-line mathexpressions are always enclosed by '$' signs
Here we see some simple symbols used
Example 4
![Page 19: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/19.jpg)
19
Basic Mathematics
Bracketed commands are also similar:$\frac{numerator}{denominator}$
Square brackets preceding regular bracketsare a chance to provide OPTIONAL params
$\sqrt[ ]{x}$ == $\sqrt{x}$
Example 4
![Page 20: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/20.jpg)
20
Basic Mathematics
Superscripts and subscripts are a piece-of-cake. Brackets here are optional:
$x^n$ == $x^{n}$BUT
$x^12$ != $x^{12}$
Editor's: Variables in italics!
Example 4
![Page 21: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/21.jpg)
21
Basic Mathematics
Here we see the equation environment,which sets-off, centers, and numbers a
mathematical expression.
Note the power of nested commands, which can be extended infinitely.
Example 4
![Page 22: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/22.jpg)
22
Tables
Example 5
![Page 23: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/23.jpg)
23
Tables
The tabular environment is used for tables
Here we specify the alignment for each column(and therefore the # of columns), and whether
vertical separators should be present
l = left-justified columnc = center-justified columnr = right-justified column
| = vertical separator between columns
Example 5
![Page 24: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/24.jpg)
24
Tables
\hline = Draws a horizontal separator& = Separates cells in a row
\\ = Starts a new row
Simple, right? Yep!
But things can get a little intimidating to 'read'.Imagine a table of mathematical expressions
Example 5
![Page 25: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/25.jpg)
25
Importing Graphics
● Including graphics is EASY, getting the graphics in the right format is HARD.
● Include the GraphicX package: i.e. put \usepackage{graphicx} in preamble
● Then: \includegraphics{graph.eps}
● But what the heck is an EPS file?● Vector vs. bitmap graphics
● Scalability● Difficulty in interpreting
![Page 26: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/26.jpg)
26
Creating Vector Graphics
● Graphic tools: Adobe, GIMP, Paint Shop Pro● Three ways to create vector-graphics
● 1. Convert bitmap -> vector based, just “save as”● Not a true conversion, scalability destroyed● HUGE file sizes, and possibly a messy end result● But necessary for something like JPG pictures
● 2. Draw by hand using one of above tools● Best option for simple graphics
● 3. Graphs -> EPS files = A lot of programs● Create graph in OO-Calc (Excel), copy into OO-Draw (Paint), export as
PDF. Open in GIMP, crop image, and save as EPS file. Whew!● Tools like GnuPlot/MATLAB can export directly to EPS.
![Page 27: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/27.jpg)
27
Floats & References
Example 6
![Page 28: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/28.jpg)
28
Floats & References
Large structures (i.e. those in environments)like tables and figures/graphics are usually wrapped in a large 'floating' environment.
Here we see table, figure is the otherpopular choice
Those items inside are 'floated' meaning theyhave no fixed position. Some control canbe had via parameters like t {h,!,b,a}
Example 6
![Page 29: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/29.jpg)
29
Floats & References
We've seen this before, this is just asimple table!
Example 6
![Page 30: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/30.jpg)
30
Floats & References
We add two new commands inside our float:
\caption{}: Which allows us to describe whatever we are floating
\label{ }: Which is a descriptor no onewill see, but is used for internal references
Example 6
![Page 31: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/31.jpg)
31
Floats & References
And all these gives us the ability to 'reference'these floats within the text body.
Dynamic numbering!
Applies to tables, equations, figures,graphics, sections, etc.
Create a TOC in one command!
Example 6
![Page 32: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/32.jpg)
32
Document Preamble
COMMENTS: Lines beginning with a '%' are not compiled
DOCUMENT_CLASS: Specify a broad formatting style
BEGIN_DOCUMENT: Delimit start of document body
END_DOCUMENT: Delimit end of document body
The body of the document
PREAMBLE: Global formatting elements are set here
![Page 33: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/33.jpg)
33
Document Preamble
The \documentclass[]{} command provides 99% of the necessary setup
Our doc-style is article. Book, report, or a style file are other common options
Major parameters are given in square brackets. Here we will use a 10pt font,print to letter sized paper, and use a two-column layout
Example 7
![Page 34: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/34.jpg)
34
Document Preamble
Also in the preamble; import necessary packages (extensions) for use
Note: These packages are included in the LaTeX download. But, they aren't partof the default command set because they may overwrite some default commands
and because full inclusion would slow down compilation
Example 7
![Page 35: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/35.jpg)
35
Document Preamble
STOP! The people who wrote LaTeX and the article style are way better than you are at it. Change only what is absolutely necessary!
LaTeX ethos: Worry about writing content, not format or layout
Here we choose to use block style paragraphs, and double-line space text
Example 7
![Page 36: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/36.jpg)
36
● Introducing BibTex● What is it? A bibliography and citation creation tool for LaTeX
● Advantages of BibTex● Bibliography files (libraries) are completely re-usable● Write bibliographies in a universal format, but output them in a
specific one (APA, MLA, Chicago, etc.)● Ditto for (parenthetical) citations
● Disadvantages of BibTex● The slightest of learning curves● But... No worse than learning punctuation of APA/MLA
![Page 37: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/37.jpg)
37
BibTex files
BibTex files:
* Should have a *.bib extensionand same name as LaTeX file
* Act as a library. Have a singlemassive BIB file for a project.If a paper doesn't cite a resourceit won't appear.
example8.bib
![Page 38: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/38.jpg)
38
BibTex files
First provide a general descriptor of what will be cited:
Article, book, conference,inproceedings,misc, techreport,unpublished...
example8.bib
![Page 39: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/39.jpg)
39
BibTex files
Then, similar to the idea of alabel we saw with floats, givethe resource an (invisible)name by which you canidentify it.
example8.bib
![Page 40: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/40.jpg)
40
BibTex files
Next, provide everything youknow about the source in themost complete form possible.
e.x. 'February' instead of 'Feb'
--------------------------------------
A note on authors:
List them all, using full names,and only place the word 'and'between them.
------------------------------------
REMEMBER: This is auniversal format
example8.bib
![Page 41: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/41.jpg)
41
BibTex In Action
bibtex example8.biblatex example8.texlatex example8.texdvipdf example8.dvi
example8.bib example8.tex
![Page 42: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/42.jpg)
42
BibTex In Action
bibtex example8.biblatex example8.texlatex example8.texdvipdf example8.dvi
example8.bib example8.tex
We use the \cite{} commandjust like \ref{} previously,
using the label/keywordto identify the cited source
![Page 43: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/43.jpg)
43
BibTex In Action
bibtex example8.biblatex example8.texlatex example8.texdvipdf example8.dvi
example8.bib example8.tex
This line determines the bibliography style. More on
this coming in just a moment
![Page 44: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/44.jpg)
44
BibTex In Action
bibtex example8.biblatex example8.texlatex example8.texdvipdf example8.dvi
example8.bib example8.tex
And this one actually printsthe bibliography or 'references'
Note that 'example8' meansexample8.bib is the BibTex
file that should be used
![Page 45: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/45.jpg)
45
Bib Styles
example8.tex
Top Left: Abbrv
Top Right: Alpha
Bottom Left: APAlike
![Page 46: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/46.jpg)
46
Other Applications
● The resultant PDF format isn't too flexible...● Utilities exist to convert documents to HTML
● For example, Wikipedia has this functionality built in● Equations -> images. Great for inclusion in presentations
● Also some crude plain text tools● And to make up for what LaTeX is 'missing'...
● Spell check? Grammar check?● Some text-editors have the capability to do former● Copy-paste final document to word processor● Editor's note: Look for these things!
● WYSIWG? ● Slow. Very bad form.
![Page 47: An Introduction to - Penn Engineeringcse400/CSE400_2009_2010/CIS400_latex... · 26 Creating Vector Graphics Graphic tools: Adobe, GIMP, Paint Shop Pro Three ways to create vector-graphics](https://reader033.vdocuments.net/reader033/viewer/2022041914/5e691c129ab11c0d363e66cd/html5/thumbnails/47.jpg)
47
References
● The LaTeX Wikibook. (User friendly)http://en.wikibooks.org/wiki/LaTeX
● Comprehensive LaTeX Symbol Guide. (4947 of 'em) http://www.ctan.org/tex-archive/info/symbols/comprehensive/
● A Less Comprehensive List. (and perhaps more useful)http://omega.albany.edu:8008/Symbols.html
● Official LaTeX Site. (Often a bit on the technical side)http://www.latex-project.org/