LaTeX source (save this to your file space as a good starting point)
Figures included in the report are in Encapsulated PostScript format (.eps), suitable for preparing a paper copy. Save the following files to the same directory as the above .tex file:
circuit.eps | einstein.eps | plot.eps
Note how the latex command does need to be repeated twice, for proper reconciliation of automatic Figure and Section numbering.
After verifying that everything has worked for you, start editing the .tex file to enter the text
of your lab report.
Kile is an integrated LaTeX processing environment available on the Linux workstations in the Department; you may find it useful. Make sure Kile is configured (Settings -> Configure Kile -> QuickBuild) to use LaTeX+DVItoPS+PStoPDF+ViewPDF and not PDFLaTeX+ViewPDF.
PostScript graphics are "vector" graphics, and can be scaled arbitrarily; in contrast, figures originally in .jpg|.gif|.png etc. formats must not be scaled using LaTeX figure-scaling commands. Instead, use your favourite graphics program to scale the figures to the size in which they will appear on the page, and save (render) them as PostScript files in the resolution you are planning to use on the printer (typically, 600dpi). In the sample lab report, note how the photograph of A.Einstein is included as is, without any further size modifications.
Most of the lab manuals use figures that are available online in the PostScript format; feel free to download and use them in the preparation of your lab reports. For example:
PHYS 2P31 figures |
PHYS 2P32 figures |
PHYS 3P91 figures |
PHYS 3P92 figures
Large PostScript files are often compressed (gzipped); in this case, a pair of files, .ps.gz and .ps.bb, needs to be saved into your directory. The .bb file is a tiny text-only file providing the "Bounding Box" (the location on the page) of the .ps figure, for rapid access by LaTeX. For example, to compress a figure.ps you would use the following: