next up previous contents index
Next: Editing TOC.tex Up: Adding Documentation Previous: Document Standards   Contents   Index


Removing Preambles

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 $\backslash$begin{document} are part of the preamble. There is also a $\backslash$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 ...

The output will be placed in the file1.tex, file2.tex, ...



2013-06-11