str_replace("\n","\r\n",str_replace("\r\n","\n",$conf['preamble'],\usepackage{tikz}))
$$\underbrace{{\it f}({\rm DokuWiki}) = \overbrace{[a+b=c]}^\textrm{\LaTeX}}_{Success!}$$
}\end{document}