A Short Summary of LaTeX (version 2e)
Do a search with the Google search engine with the keyword "LaTeX".
You will find several good Internet sites that contain introductions
to LaTeX. For example,
Here is a sample LaTeX file sample.tex. You may
use it as a reference to produce your homework write-ups. The document also has
a figure nfa.eps, which was created using a graph
drawing software called xfig. Download both files without changing
file names. Then follow the Unix commands suggested next.
- latex sample (Comment: This will create sample.dvi)
- xdvi sample (Comment: This will display the .dvi file)
- dvips -Php121 sample (Comment: This will print the document on
the printer in McGl 121)
Here are some more commands you may want to know:
- dvips -o sample.ps sample.dvi (Comment: This will convert sample.dvi
to sample.ps)
- gv sample.ps (Comment: This will display the .ps file)
- ps2pdf sample.ps sample.pdf (Comment: This will convert sample.ps to
sample.pdf)
- acroread sample.pdf (Comment: This will display the .pdf file)
Last modified: August 20, 2013