- Create a new
.tex
file for your project. - Copy
%%-----DOCUMENT
section into your file. Everything else will go into the$DOCUMENT CONTENTS HERE$
section. - Select files, which you want to format. Currently supported formats are
makefile
,C
code andREADME
files.- Copy
%%-----C
,%%-----README
or%%-----MAKEFILE
section into your document. - Replace
$FILE CONTENTS HERE$
with the contents of your file.
- Copy
- Optional:
- If you want your code sections to be labled with filenames, add a
%%-----FILENAME
section before the code section you are labeling. And replace$FILENAME HERE$
with full path to your file.