Two documentation questions



1) How, when you're creating a small suite of commands, do you add online
documentation to Maxima?  I mean,

load("myfile.mac");

will load the commands - the programs held in that file - but how do you add
online documentation for them?

2)  What (and where) are the LaTeX styles used to create Maxima sessions in
a LaTeX document?  I'd like to see Maxima input and output, all
appropriately coloured.

Thanks,
Alasdair