Edit Links |
Tips /
FeynmanDiagrams
<< | Page list | >>
How to create Feynman diagrams Tips Diagrams How to create Feynman diagrams with LyXFirst, you will need to install the LaTeX-package feyn using the package manager of your LaTeX-distribution or from here. Feynman diagram support with feyn.sty is built in since LyX 2.0, see the Help→Specific Manuals→Feynman-Diagram Manual for details and examples, as well as the feyn manual. Older Versions of LyXFor LyX version < 2.0, support is not built in, and you may need to do the following:
You can abuse LyX's X-Y diagrams support in order to create Feynman Diagrams more easily in math-mode.
In the preamble:
And then, writing something like: \xymatrix{!{fdV}{k\nwarrow} & !{hA}q & h & !{fuV}{k'\nearrow} In math mode, will create nice diagram. Here you find an example LyX document to start with. (here is the PDF-output) Index Conflictsfeyn.sty redefines the ! command globally. When the module Theorems (AMS) is loaded, this will cause issues with indices (e.g. |