Publishing workflow

Files & export

Keep an editable project file as the source. Export a vector, raster, or LaTeX version that matches the destination document.

Editable source

Projects and recovery

The editor stores active projects in browser local storage after changes. That autosave belongs to the current browser profile and exact hostname. 127.0.0.1, localhost, and a public domain each have separate storage.

File → Save downloads a version 2 .feynman.json file. Version 2 stores momentum arrows, independent labels, and free arrows. File → Open reads version 1 and 2 files after validating the structure, numeric ranges, object references, and 1 MB size limit. A version 1 file opens with an empty annotation list. Project files remain compatible with the native and local-browser editions.

Keep a portable project copy.

Download a project file before clearing site data, switching browsers, changing hostnames, or handing the figure to a collaborator.

Rendered output

SVG, PDF, PNG, and JPEG

FormatBest useBehavior
SVGWeb, slides, vector editorsVector paths and embedded DejaVu Serif font. Optional transparent background.
PDFPapers, print, journal uploadVector primitives and embedded font. The first PDF export loads its writer and font support.
PNGPixel-perfect figures and transparent raster assetsLossless image with optional transparency and explicit density metadata.
JPEGPlatforms that require JPEGCompressed raster on a white background. Fine diagram lines can show compression artifacts.

All four rendered formats include momentum arrows, momentum labels, independent labels, and free arrows. SVG and PDF preserve vector geometry. PNG is suitable for submission systems that require raster files, while JPEG serves systems with a narrow format list.

Physical size

Size and resolution

Figure width sets the physical width from 60 to 240 mm. The canvas aspect ratio is 3:2, so the exported height is two-thirds of the width. Raster dimensions follow this conversion:

pixels=width in mm25.4×ppiRound to the nearest whole pixel; height follows the 3:2 canvas ratio.

A 120 mm figure at 600 ppi becomes about 2,835 × 1,890 pixels. Choose 300 ppi for normal print, 600 ppi for fine line work, and 1200 ppi when the destination requires it. Raster export has a 40-megapixel maximum.

Line width and text size use points, which makes their intended print size independent of ppi.

Source code

Six LaTeX formats

Select LaTeX in the app bar or File → LaTeX Source. Choose a dialect, then copy the figure snippet or a complete test document. The test document includes the packages and wrapper required for compilation. Each exporter writes momentum arrows, momentum labels, independent labels, and free arrows at fixed coordinates. The dialog disables a format when the current diagram contains a feature it would lose. Custom colors, including annotation colors, block feynMF; quark-bundle spacing blocks feynMP and feynMF. Rendered image export remains available for those diagrams.

FormatCompilerChoose it when
TikZ-FeynmanpdfLaTeX, LuaLaTeX, or XeLaTeXYou want fixed positions with TikZ integration, curves, colors, labels, and markers.
TikZ-FeynHandpdfLaTeX, LuaLaTeX, or XeLaTeXYou prefer manual TikZ geometry without TikZ-Feynman’s automatic layout requirements.
feynMPLaTeX plus MetaPostYour document already uses MetaPost or the feynmf bundle’s native particle styles.
feynMFLaTeX plus METAFONTYou maintain an older feynMF workflow and require monochrome output.
PST-FeynLaTeX → dvips → ps2pdf, or pdfLaTeX with auto-pst-pdfYour document uses PSTricks and you want sampled curves at the app’s coordinates.
axodraw2LaTeX, or pdfLaTeX with axohelpYou use coordinate-driven HEP diagrams or an established axodraw2 toolchain.

The packages use different drawing engines, so native wave and coil styles can vary from the editor preview. The resource directory links each CTAN (opens in a new tab) package page and manual.

% Verification workflow
1. Open LaTeX Source in the editor.
2. Choose the target package.
3. Copy test document.
4. Save as diagram.tex.
5. Compile with the toolchain named above.
6. Copy the snippet into your paper after the test succeeds.
Decision

Choose a workflow

Paper uses LaTeX

Start with TikZ-Feynman for editable source inside the document. Use PDF when a journal wants a standalone figure or your TeX environment lacks the package.

Slides or a website

Use SVG. It stays sharp and can preserve transparency. Convert only if the destination application has poor SVG support.

Image-only submission

Use PNG at the required physical width and ppi. Keep the JSON project so you can change type size without editing pixels.

Existing legacy source

Match the package already used by the document. feynMP, feynMF, PST-Feyn, and axodraw2 avoid mixing diagram systems.