Installing

  1. Install GLE

  2. Download the latest version of feyn.gle from the page

  3. If installed GLE contains the same version of feyn.gle, discard the downloaded file. Otherwise, put it to one of places where gle can find it:

    1. Any directory, and set up the environment variable GLE_USRLIB to point to this directory;

    2. The current directory, where you plan to produce Feynman diagrams;

    3. The directory gleinc inside your GLE installation.

Using

  1. Write a file, say, dia.gle, using a text editor. In this file use

    include feyn.gle

  2. Use

    gle dia.gle

    to produce dia.eps. It can be included in a LaTeX file, say paper.tex, using the standard LaTeX package graphics (or graphix), if you plan to process your file by

    latex paper

    for producing paper.dvi. After that you can use dvips to convert it to paper.ps, or dvipdfm to produce paper.pdf.

  3. Alternatively, you can use

    gle -d pdf dia.gle

    to produce dia.pdf. It can be included in paper.tex if you plan to process it by

    pdflatex paper

    (or lualatex paper). You can produce other kinds of graphics files (svg, jpg, png) instead of pdf; this may be useful, e.g., for including the diagram in a web page.