If you would like to make a copy of the files
used to create a sample LaTeX document
(part of a paper on cliques that I was writing)
first make a directory to put the files in.
In a unix environment:
mkdir sample_latex
Then fire up your favorite web browser and get the example files. The files you want to copy are:
If you cut the part below just below the line, it will give a latex document which describes what to do. It is missing some of the header statements such as \begin{document} which you can steal from the file Myrvold.tex described above.
In LaTeX, you can start a new paragraph by leaving a blank line. If I want to define a term, I put it {\em in italics} (em stands for emphasis). Math symbols, for example $G$, and $n$ and $x^2 + 3$ are enclosed in dollar signs. The file Myrvold.bib has the references for the sample paper. Leave it in the same directory Myrvold all.tex. My favorite algorithm is the one by Balas and Yu \cite{BY86}. If you want to mention a page and lemma you do it like this \cite[Lemma 4, p. 92]{BY86}. The paper \cite{AM70} will get put in the right place in the references. If you include figures using {\em xfig}, we need to have encapsulated postscript in portrait mode. A new way to typeset is to use pdflatex which has an advantage of allowing the use of .pdf files as pictures. To typeset like this:
Here is the old way of doing it using the latex command: