Questions tagged [tikz-feynman]

{tikz-feynman} is for questions relating to the TikZ-Feynman package.

is for questions relating to the TikZ-Feynman package.

TikZ-Feynman is a LaTeX package allowing Feynman diagrams to be easily generated within LaTeX. The documentation with thorough examples can be found on CTAN.

Alternatives for generating Feynman diagrams in LaTeX:

  • JaxoDraw with the package - a Java-based program for drawing Feynman diagrams.

Where to find more about the physics:

Unfortunately it's hard to find easy to digest sources, where you don't get lost quickly in this field of theoretical physics. However, here are a few which I deem being simple enough to get the basic ideas:

In a nutshell, "all" you do is:

  • follow certain rules, both for the diagrams and associated calculations
  • simply calculate all possibilities
  • to obtain an estimate for the cross section (useful when doing scatter experiments, i.e. bombarding particles with particles at high energies)

Applications typically come from:

  • nuclear physics
  • high energy physics (e.g. at colliders like at Stanford, CERN etc., planned fusion powerplants like ITER and its predecessors)
  • astronomy / cosmology
239 questions
5
votes
1 answer

How to put a dot in Tikz Feynman vertices

I wrote this code \begin{tikzpicture} \begin{feynman} \vertex (a1) {\(\overline b\)}; \vertex[right=1.5cm of a1] (a2); \vertex[right=1.5cm of a2] (a3); \vertex[right=2cm of a1] (aa); \vertex[right=2cm…
5
votes
2 answers

How do you do crossed lines using tikz-feynman?

I am trying to draw the Feynman diagram where the momenta are crossed over on the final state particles from the diagram encoded here. \feynmandiagram[horizontal=i1 to a]{ f1[particle=\(\Bar{\psi}\)]--[anti fermion, momentum=\(p_2\)]b--[scalar,…
5
votes
0 answers

Egg-shaped Feynman diagram

I was trying to answer tikz-feynman: edge labels when I encountered an odd problem: Why is the first diagram slightly egg shaped? Without the lines left and right it is round. Please don't tell me this is because it had been easter this weekend :) %…
5
votes
1 answer

How to adjust momentum arrows in TikZ-Feynman

I'm trying to create a Feynman-Diagra using the TikZ-Feynman package in Latex. Is there anyway to adjust the position of the momentum arrows in TikZ? Right now the two momentum arrows of the photon lines overlap in the diagram and it doesn't look…
Turbotanten
  • 173
  • 1
  • 8
5
votes
1 answer

Labelling vertices using tikz-feynman package

I would like to change the following code which uses the tikz-feynman package to draw a Feynman diagram: \begin{tikzpicture}[baseline={(current bounding box.center)}] \begin{feynman} \vertex (a) {\(\rho\)}; \vertex [above …
4
votes
1 answer

Tikz-Feynman for a 4-point vertex automatic creation

I'd like to create a Feynman diagram for the λφ⁴ theory that is simply the interaction 4-point vertex. For some reason, in TikZ-Feynman it seems to be automatic that the incoming and outgoing lines go up-down and left-right even though no one would…
4
votes
1 answer

vertex style in tikz-feynman

I'm getting used to the very nice TikZ-Feynman package! I'm trying to figure out how to add styles to a vertex, when using manual placement. For example I'd like the "blob" in the following to actually be a blob, not the…
twoform
  • 65
3
votes
1 answer

Why I can't input the equal math symbol "=" in tikz-feynman?

I input $p+p'=q+q'$ as the label of the momentum, then TeX returns me the error below Missing $ inserted. $ Missing } inserted. } Extra }, or forgotten $. \pgfdecoratedinputsegmentlinetocode ...tyle ]…
Axia
  • 514
3
votes
2 answers

Centering Feynman diagrams in equations

\documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usepackage{tikz-feynman} \begin{document} \begin{align*} \feynmandiagram [inline=(b.base), horizontal=f1 to f2, layered layout] { f1 [particle=\(p\)] -- [fermion] b [blob] -- [fermion]…
3
votes
1 answer

Drawing order u-channel Feynman diagram incorrect

I copied the code from Feynman Diagrams: Ugly u-channel, trying to produce a U-channel Feynman diagram. However, it produces a different, incorrect, Feynman…
3
votes
1 answer

tikz-feynman: edge labels

I would like to understand how can I label edges of diagrams as at this picture: I assume that it possible to label vertices and than move each label, but I do not know how. Can anyone gives some suggestions? What I tried: label each…
3
votes
1 answer

Two-loop electron self-energy with TikZ-Feynman

I want to draw a simple self-energy two-loop graph such as using TikZ-Feynman. I have a problem with the automatic alignment of the fermion lines. I have tried this: \feynmandiagram[inline=(a), layered layout, horizontal=a to f] { a--[plain,…
Txordi
  • 33
  • 3
3
votes
1 answer

change aspect ratio of TikZ-Feynman diagram

I have a tikz-feynman diagram that has a wide aspect ratio, and I'd like to change the aspect ratio to be more…
n k
  • 33
  • 2
3
votes
1 answer

How can we cut a loop with Tikz-Feynman?

If we want to apply Cutkosky rule, how can we draw a cutting line like the dashed line in the figure (quickly made with…
ketherok
  • 115
3
votes
1 answer

Installing Tikz-Feynman

I am a novice and I a have no idea how to install Tikz-Feynman from scratch. I have downloaded the source code and I would like to install it on mac. Could anybody please help me installing the package? Thank you.
Sabbir
  • 31
1
2 3 4 5