Questions tagged [feynmf]

{feynmf} is about the `feynmf` or `feynmp` packages for Feynman diagrams.

0
votes
0answers
18 views

Is there any way to delete previously defined vertices in feynmf?

I'm trying to create feynman diagrams programmatically, and frequently require the need to remove individual vertices that were previously created with the fmfn or fmfcyclen commands. This is so that ...
2
votes
1answer
25 views

Problem using variables with feynmp fmffor

This is a follow-up to this question. The solution provided by egreg worked, but the same solution doesn't work when trying to update a variable within an fmffor loop. A complete example is shown ...
2
votes
1answer
22 views

Problem using variables with feynmp

I've tried the def command or pgfmathsetmacro, and the feynman diagrams are drawn as though the variable is always set to "1" regardless. The only workaround I've found is to put my feynman diagram ...
1
vote
1answer
47 views

Feynmf - two loop correction to 4 point function

How can I draw the two loop correction to the four point function, with one of the loops on the right propagator? I tried \begin{fmffile}{loop} \begin{fmfgraph}(40,40) \fmfleft{i1,i2} ...
2
votes
3answers
233 views

Resonance production in FeynMF

How could I make the picture: using FeynMF?
2
votes
1answer
72 views

how do I put a dot in a \fmf line using feynmp?

I would like to add a dot to the top of the circle, but \fmfdot only works on vertices. Is there a way to do this? Here is the code that I am using: \documentclass{article} \usepackage{feynmp} \...
2
votes
1answer
319 views

feynmf: colour flow lines

I would like to add colour flow lines to Feynman diagrams as in this example: Is there a convenient way to have such a functionality? The code is the following: \documentclass[class=minimal,border=...
1
vote
1answer
263 views

Drawing a triangle vertex in a bubble diagram with feynmf package

I would like to draw some Feynman diagrams using the feynmf package which contain a complex (triangular) vertex. Here is my attempt, which apparently reproduces the diagram which I want to achieve, ...
0
votes
1answer
283 views

Anomalous Green's function

Is it possible to draw a line (or double line) with two out-out or into-into arrows in feynmf? Such (anomalous) diagrams appear, e.g. in perturbation theory of Bose condensates. Following http://...
2
votes
2answers
131 views

feynmf: keeping diagram width constant

The code \documentclass[class=minimal,border=20pt]{standalone} \usepackage[utf8]{inputenc} \usepackage{feynmf} \begin{document} \begin{fmffile}{diagram} \begin{fmfgraph*}(250, 250) \fmfleft{i1,i2,...
1
vote
1answer
190 views

Double wiggly line with arrow using feynmf

Please, could you help me to draw a double wiggly line with an arrow? I can drow a single woggly line with arrow using this code \begin{fmffile}{vertex} \fmfcmd{% style_def wiggly_arrow expr p =...
1
vote
1answer
223 views

How to use feynmf (feynmp)? [duplicate]

I would like to draw a tadpole diagram with a cross in a circle as the picture in the parenthesis but the double line is not necessary. I write the codes as below: \begin{fmffile}{tadpole} \begin{...
1
vote
2answers
663 views

Can't draw the loop by using feynmf-auto package

I've tried to draw the vacuum polarization diagram by using feynmf-auto package. Here is the code which I've used: \begin{fmffile}{45} \begin{fmfgraph}(200,200) ...
4
votes
1answer
1k views

Repositing labels in Feynman diagram

I have the following code in Feynmf: \documentclass{article} \usepackage{feynmp} \usepackage{ifpdf} \ifpdf \DeclareGraphicsRule{*}{mps}{*}{} \fi \usepackage{empheq} \begin{document} \unitlength =...
6
votes
2answers
298 views

Issues with feynman diagram vertex

I'm unable to put more then one label on a vertex in a Feynman diagram. I've tried to use the command \fmfv twice or with more then one argument, but sadly I'm not getting the result I wished for. ...
0
votes
1answer
502 views

Installing feynmp / feynmf to TexMaker

What packages do I need to download and what I need to have in my preamble in order to use feynmp and feynmf in texmaker?
3
votes
1answer
920 views

How can a label be positioned in feynmp?

I have a Feynman diagram like this: Let's say I want the label for the W+ to be on the opposite side of its squiggly line or the label for the lowermost tbar to be on the opposite side of its ...
1
vote
2answers
629 views

How to denote the labels in loop-diagram using package feynmp?

To draw a loop diagram, such as the self-energy of photon, like the below example: I tried those codes \begin{fmffile}{loop} % Loop correction \begin{fmfgraph*}(80,65) \fmfkeep{loop} \fmfleft{...
3
votes
3answers
686 views

Positioning a vertex directly above another vertex in feynMF

I have been trying to replicate this Feynman diagram with feynMF. (Image from [1]). The first part, the double line, is rather easy, as it is already present in feynMF as the heavy style. For the ...
2
votes
1answer
1k views

Adjusting the position of labels when drawing a diagram using feynmf

When drawing a Feynman diagram using feynmf, I'm having a hard time to place the labels in such a way that they do not overlap with each other and/or touch lines. Here is one attempt: \begin{...
1
vote
1answer
276 views

Labeling multiple incoming/outcoming groups of lines in feynmp?

I'm trying to label multiple groups of incoming and outgoing lines using feynmp. I already managed to put brackets around the lines, but they aren't properly aligned. Is there a way to place the ...
6
votes
2answers
633 views

SUSY particles Feynman diagrams

I am new to LaTeX, and have been trying to find a way to draw Feynman diagrams involving SUSY particles, i.e gauginos and superpartner scalars. I am wondering if there is any way to use the feynmf ...
2
votes
0answers
464 views

Labels in feynman diagrams using feynmf

I'm getting familiar with drawing feynman diagrams using feynmf package and I was trying to draw this process. However, labels do not display in the diagrams. Is there any error? Please, let me know ...
0
votes
1answer
93 views

LaTeXTools custom builder for feynmf/feynmp

I'm using LaTeXTools with ST2, and I need to draw some Feynman diagrams. feynmf/feynmp both require additional commands to compile. Does anyone know the correct syntax for a custom builder that will ...
1
vote
1answer
288 views

Feynman Diagram (feynmp-auto) : 4-Quark Operator

I modified a sample from this source : http://osksn2.hep.sci.osaka-u.ac.jp/~taku/osx/fmfsamples.pdf (Look for 5.3 Cross diagram) and my aim is to label every of the "four" fermion propagators with ...
1
vote
1answer
888 views

Feynmp graphs as standalone pdfs

The way I normally handle Feynman diagrams is just to include \usepackage{feynmf-auto} and to write the whole fmffile code int he main tex file. However, I saw that some people manage to create a ...
4
votes
1answer
358 views

Why doesn't metapost know about the path in my feynmp code?

I'm trying to use FeynMP to draw a Feynman diagram exactly like this but with a photon line inside the circle. This code works perfectly to create the diagram above: \fmfleft{i} \fmfright{o} \...
2
votes
1answer
530 views

Vertical Bubble (Loop) Diagrams with FeynMF

I want to produce the following Feynman diagram with FeynMF; the problems is how to render the loops (particle-hole bubble) in the vertical direction; furthermore, how to fill a vertical bubble with ...
3
votes
1answer
416 views

How to create a double line fermion style in feynmf?

I'm trying to define a new line style in feynmf which should represent gluons in colour flow notation. Each line should consist of two parallel fermion lines, each of which has an arrow. The arrows ...
0
votes
0answers
477 views

Feynmp/auto not working in Yosemite?

So I've used feynmp and feynmp-auto hundreds of times, but now it seems neither is working on Mac OS Yosemite. I have installed both and when run I get messages like: I run this: \documentclass{...
1
vote
1answer
178 views

Create a script with multiple commands to compile a file in OS X

Suppose I want to compile a file with some Feynman diagrams, using feynmf package. To do this, I need to run the following commands: latex file_name.tex mpost diagram_1.mp mpost diagram_2.mp ... ...
1
vote
1answer
326 views

Aligning propagators on feynmp

I want to align the propagators that go from the circle to the vertices p_3 and p_4 Here is my MWE: \documentclass[amsmath,amssymb,aps,12pt,eqsecnum]{revtex4} \usepackage[a4paper]{geometry} ...
2
votes
1answer
488 views

How do I make a circle of fermions in feynmp? (a self-energy photon)

I'm trying to draw a photon turning into a circle formed by one fermions going one way and the other going the other way, but they both go up. Here is my MWE: \documentclass[amsmath,amssymb,aps,12pt,...
1
vote
0answers
686 views

How to make colored labels in feynMF/feynMP

There are several ways of adding a label to the vertex, e.g. as in code below. It is documented how to make the colored polygons or lines, as done for the V2, but I couldn't find anything about making ...
3
votes
1answer
509 views

How can i draw a u-channel scattering with a loop in feynmf?

I am currently doing some work on the renormalization of the scalar phi^4 theory and i need to draw a feynman diagram of a first order loop correction. I have tried to follow the example on the manual ...
2
votes
1answer
667 views

How to draw a gluon radiated from a gluon with feynmp

I want to reproduce the attached Feynman diagram with the feynmp package. In particular the bottom left gluon line goes through the 3 vertices and from the middle vertex another gluon line starts off. ...
3
votes
1answer
1k views

Missing labels on Feynman Graph using feynmf

I'm trying to create a Feynman graph using the feynmf package. My minimal example is \documentclass{article} \usepackage{feynmf} \begin{document} \begin{fmffile}{diagram} \begin{fmfgraph*}(40,...
4
votes
1answer
364 views

feynmf vs. feynmp: What's the difference?

What is the difference between feynmf and feynmp? By very basic understanding is that the former somehow makes use of raster graphics whereas the latter makes use of MetaPost. Moreover, I have read ...
3
votes
1answer
618 views

How to draw disconnected Feynman diagrams with the feynMF package?

I just discovered the feynMF package, a really neat tool for drawing Feynman diagrams. I went ahead and drew a few diagrams which I'll include here just to set the right spirit for this question. I ...
6
votes
1answer
2k views

Alignment of equations that contain Feynman diagrams

I want to insert a Feynman diagram into an equation, but when I do so, I find that the Feynman diagram and the rest of the equation are awkwardly aligned. The picture should make it pretty clear what ...
5
votes
2answers
2k views

How does one draw a momentum arrow along a line in feynmf?

When drawing a Feynman diagram, one often wants to label each line and draw the momentum arrows. How can one draw a satisfactory momentum arrow? Take for example electron-muon scattering, where I've ...
3
votes
1answer
586 views

Tensioning/dummy vertices in FeynMF diagram

This diagram: is generated from the following code: \documentclass{article} \usepackage{feynmp-auto} \begin{document} \begin{fmffile}{crazy} \begin{fmfgraph*}(140,85) \fmfstraight \fmfleft{i1,...
1
vote
0answers
2k views

Feynmp-auto: why is the diagram not included in the pdf file? [closed]

When trying to draw a Feynman diagram using the feynmp-auto package, there simply is no result, the pdf comes out as a blank page. I use TeXstudio and MikTeX, and run the file with pdflatex. I have ...
4
votes
1answer
560 views

Missing labels with feynmp

my question is exactly the same as Missing labels with feynmf/feynmp? but the answer there did not solve my problem. I am using WinEdt 7, installed Metapost, and copy and pasted that user's code ...
2
votes
1answer
196 views

Drawing gluino with feynmf

Is it possible to draw gluino instead of curly or gluon line in feynmf (gluino line is zigzag with a line inside or curly with a line inside) Thanks. Here is my code: \begin{fmffile}{feynman/...
4
votes
1answer
303 views

Use Feynmf and glossaries together

I am using the package glossaries for a collection of terms, definitions, explanations to various subjects loosely related to my phd thesis. In some entries I also want to include feynman diagrams ...
3
votes
1answer
660 views

Gluon loop diagrams

I am trying to draw a gluon loop with two-three and four external gluon legs attached to the gluon loop, but as you may see from the attached file these diagrams are not nice enough, could anybody ...
1
vote
1answer
746 views

Drawing tadpole diagram using feynmp

I have a basic question, how can I draw a tadpole using feynmp?
0
votes
1answer
509 views

How to adjust length of bosons, feynmp/feynmf

I am having trouble making the length of three bosons the same. I've been working on this diagram for more than two weeks and just can't get the length to come out just right. Here is my code: \...
1
vote
1answer
473 views

Feynmp: Circle with five vertices

I am trying to draw a Feynman diagram by using feynmp package at one-loop level contains two different diagrams: one-loop with five legs (what I draw is nice, but the problem is the loop gets ...