The preamble of a LATEX document is used to specify various global
parameters of the document. In a stand alone document, all commands
coming before and including begin{document} are part of the
preamble. There is also a
end{document} at the very end
of the document that should be removed.
Use the ``%'' character at the start of a line to comment it out.
The python script rm_preamble.py can usually be used to automatically remove
the preamble and other tags that should not be used.
%] python rm_preamble.py file1 file2 ...
file1 file2 ...
The output will be placed in the file1.tex,
file2.tex, ...