Search Contact information
University of Cambridge Home Department of Engineering
University of Cambridge >  Engineering Department >  computing help
next up previous contents
Next: Document structure Up: LATEX Concepts Previous: Files created

How to use LATEX at CUED

From the command line -
Edit the latex source code using any editor you want, then run latex at least twice, you should be able to preview your *.dvi document using xdvi and print it using lp, but if postscript is implicated at all (if you load in graphics, use postscript fonts, scale, use color, or rotate) then you should convert your *.dvi document to postscript. A typical sequence of commands to process doc.tex would be
 
 latex doc
 latex doc
 dvips doc.dvi -o doc.ps
 ghostview doc.ps
 lp doc.ps
If you want a PDF document, then use ps2pdf to convert the postscript file, or use pdflatex instead of latex

Using a front-end -
we have several latex-based programs ranging from xlatex (which just has buttons to replace command-line operations) to Kile (which includes an editor and many extra facilities).



© Cambridge University Engineering Dept
Information provided by Tim Love
2006-08-30