add tex preamble