Added geometry border layout and added useful packages to latex.template.