template.tex - simplify, move to globel defs for tikz formatting