Aus SARAH wiki
Wechseln zu: Navigation, Suche

All analytical information derived about a model can be exported to LaTeX files. These files provide in a human readable format the following information: (i) list of all superfields as well as component fields for all eigenstates; (ii) the superpotential and important parts of the Lagrangian like soft-breaking and gauge fixing terms added by SARAH ; (iii) all mass matrices and tadpole equations; (iv) the full two-loop RGEs; (v) analytical expressions for the one-loop self energies and tadpoles; (vi) all interactions and the corresponding Feynman diagrams; (vii) details about the implementation in SARAH. Separated files are also generated for the flavour observables showing all contributing diagrams with their amplitudes.

Writing a LaTeX file

It is possible to write a LaTeX file with all information about the mode by using

ModelOutput[Eigenstates, WriteTeX->True];

This calculates first all interactions for the eigenstates. If this was already done before, it is also possible to use


There are different Tex-files produced containing the following information:

  1. List of the fields
  2. Important parts of the Lagrangian (soft-breaking terms, gauge fixing terms)
  3. Mass Matrices and tadpole equations
  4. Renormalization Group Equations
  5. One-loop self energies and tadpole equations
  6. All interactions
  7. Details about the conventions used in SARAH 


The options are

  1. FeynmanDiagrams, Values: True or False, Default: True
    Defines, if the Feynman diagrams for all interactions should be drawn.
  2. effectiveOperators, Values: True or False, Default: True
    Defines, if the higher dimensional operators should be included in the LaTeXfile. By default, there are only the vertices involving up to four particles. For switching on six particle interactions SixParticleInteractions is used.
  3. SixParticleInteractions, Values: True or False, Default: False
    Defines, if also the six-particle interactions should be added to the LaTeX output
  4. ShortForm, Values: True or False, Default: False
    Defines, if a shorter notation for the vertices should be used
  5. WriteSARAH, Values: True or False, Default: False
    Defines, if the names and parameters used in SARAH should be written

Creating the pdf File

The LaTeX files are saved in the directory


and the main file is $MODEL <> $EIGENSTATES <>.Tex. All other files are included in this file by using the input-command of LaTeX. If Diagrams->True is used, the following steps must be done for generating an pdf document including the diagrams:

  1. First, compile the Tex file, e.g. pdflatex model.tex

  2. Go to the directory Diagrams and compile every .mp file with mpost. This is done under Linux and under Windows with


    It is also possible to apply the mpost command on all .mp-files at once by using

    find . -name "*.mp" -exec mpost {} \;
  3. After generating all diagrams, go back and compile the .tex-file again by using pdflatex.

To simplify this procedure, SARAH will write a shell script in the Tex-output directory which does exactly these three steps. It can be started under Linux with


or under Windows with


It is possible that the script must be first declared is executable in Linux via

chmod 755

See also