# Your Thesis With LaTeX in 6 Steps

STEP 6: Sample File and Your Thesis

(What you need to do to begin the process)

The sample.tex is a sample file prepared using the iitthesis.cls style file. It is recommended that you run this sample file in LaTeX and see the dvi or pdf output files that are generated in the same folder. Note that the style file should be in the same folder as your tex file (sample.tex) to avoid compile errors. The font files (font12.clo, font11.clo) should also be in that folder.

Begin by making a folder (e.g. mythesis) on your disk and copy iitthesis.cls style file and font12.clo, font11.clo font files there. Open a new file in your editor (e.g. WinEdt) and save it in mythesis folder. Then define the style file for your thesis using /documentclass{} command. You may easily copy and paste the needed macro commands from sample.tex into your file and change the arguments only. You can compile your file and make dvi, ps or pdf outputs any time during your work. If your thesis has a bibliography, the following steps should be taken to generate correct outputs:

1. Run LaTeX, generating a list of \cite references in its auxiliary file (.aux).
2. Run BibTeX, which reads the auxiliary file, and looks up the references in databases (.bib files) and writes a file with bbl extension.
3. Run LaTeX again, which reads the bbl file
4. Run LaTeX a third time, resolving all references.

If you are using WinEdt, you need to click on dvi preview icon to generate the dvi file and view it. To create the pdf output file, first do dvi to ps conversion by clicking on , and then ps to pdf conversion with icon. Note that a pdf file created with a conversion from dvi to pdf directly will not contain eps figures at the pdf output file.