def METHOD_NAME(self, doc):
    super().METHOD_NAME(doc)
    if self.print_preambule:
        print(r'\documentclass[multi=dependency]{standalone}')
        print(r'\usepackage[T1]{fontenc}')
        print(r'\usepackage[utf8]{inputenc}')
        print(r'\usepackage{tikz-dependency}')
        if self.as_tree:
            print(r'\tikzset{depedge/.style = {blue,thick}, %,<-')
            print(r'  deplabel/.style = {opacity=0, %black, fill opacity=0.9, text opacity=1,')
            print(r'   % yshift=4pt, pos=0.1, inner sep=0, fill=white, font={\scriptsize}')
            print(r'  },')
            print(r'  depnode/.style = {draw,circle,fill,blue,inner sep=1.5pt},')
            print(r'  depguide/.style = {dashed,gray},')
            print(r'}')
            print(r'\newlength{\deplevel}\setlength{\deplevel}{8mm}')
            print(r'\newlength{\depskip}\setlength{\depskip}{4mm}')
        print(r'\newcommand{\deptrans}[1]{\node (t) at (\matrixref.south)[yshift=-1mm]'
              " {``#1''};}")
        print(r'\begin{document}')