Add foot.tex and head.tex