Questions tagged [tikz-feynman]

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

105 questions
31 views

How do I set a label on a propagator using tikz-feynhand?

I'm trying to draw a Feynman diagram using the tikz-feynhand package, but I'm having trouble setting labels on the lines it draws. The following works fine to draw the lines with no labels: \...
36 views

How to move the labels?

I want the intermediate labels to be on the right or left (outside the diagram). How can I do it the simplest way? Here's my code \feynmandiagram[horizontal=a to b]{ i1 [particle={$$\Xi^0$$}] -- [...
47 views

How to draw a two-meson exchange feynman diagram in latex?

I wrote this in LaTeX with tikz-feynman, but it does not compile: \begin{figure} \centering \feynmandiagram[horizontal=a to b]{ i1 [particle={$$\Lambda$$}] -- [fermion] a [crossed dot] -- [fermion] ...
62 views

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 ...
160 views

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 ...
33 views

Feynman diagram: sides switched

In my t-channel Feynman diagram (with tikz-Feynman), the lower two particles of the t-channel are switched. It appears that for s-channel, the right hand side particles are switched too. Code for t-...
38 views

Horizontal oriented Feynman diagram with loop is not produced horizontal

I tried to make a simple first order loop diagram of a photon with a virtual fermion loop. This works, except from the last horizontal photon (wavy) line. This is the syntax I used with the tikz-...
94 views

Very common question: Feynman Diagrams in LaTeX

I know about a lot of solutions how to draw Feynman diagrams in LaTeX. Unfortunately, noone of them is perfect. I know about TikZ-Feynman and it is the best variant (may be) but I do not understand ...
51 views

Specific feynman diagram [closed]

I am very new to TeX and wanted to draw these diagram using Tikz-Feynman or some package.
121 views

Rendering problem with TikZ Feynman

I would like to draw feynman diagrams with Tikz Feynman but I have some rendring problem : Here the file with the first exemple of the documentation \documentclass[11pt,french,letterpaper]{article} \...
83 views

Wrong direction of vertices in tikz-feynman remains under macOS, using PGF 3.1 and luatex 1.07 [duplicate]

This question is originally from the discussion under github issue CTeX-org/forum#4. The similar problems raised by questions Fresh install of TL2018: no tikz graph drawing libraries found, and ...
87 views

Tikz-Feynman plots messed up in Texstudio

I try to compile the following file - \documentclass[]{article} \usepackage{tikz} \usepackage[compat=1.1.0]{tikz-feynman} \begin{document} \feynmandiagram[inline=(b),vertical=a to b, green!40!black] {...
52 views

Global set insertion style in Tikzfeynman

How to globally set insertion style using tikzfeynmanset? I tried \tikzfeynmanset{ every insertion/.style={ /insertion/style={thick}, }, } but it won't work. MWE: This is what ...
420 views

Updated lualatex vs. tikz-feynman

ORIGINAL QUESTION: I have major problems compiling Feynman diagrams produced with the tikz-feynman package with lualatex. To make it less likely that I am just sloppy, I copied the example from this ...
108 views

How can I do this Feyman diagram with tikzfeyman in latex?

So I was wondering if anyone could provide input as how i can do this diagram in latex with tikzfeymann package. Thanks! this is pretty much what I got \feynmandiagram [large, layered layout, ...
45 views

environment mode not working

Two problems I am facing. Its not numbering and title is not showing up. Please help.thank you. \begin{frame}[t]{Field Strength Renormalization} \begin{equation} \[ \langle \Omega \rangle = \begin{...
72 views

Vertex styles not being displayed in loop diagram

I have the following source for a tikz-feynman diagram: \documentclass{standalone} \usepackage{tikz} \usepackage[compat=1.1.0]{tikz-feynman} \begin{document} \begin{tikzpicture} \begin{feynman} ...
224 views

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), ...
55 views

Defining a macro for feynman diagrams

Consider the following MWE where I define a macro to generate triangle Feynman diagrams with three inputs: \documentclass{article} \usepackage{amsmath,amssymb} \usepackage{physics,tikz-feynman} \...
103 views

Tikz overlay not working as desired in beamer

Consider the following MWE: % !TeX program = lualatex \documentclass{beamer} \usepackage{tikz-feynman} \usetheme{metropolis} \title{A minimal example} \date{\today} ...
89 views

Modifying an edge in a Feynman diagram generated by tikz-feynman

Consider the following Feynman diagram: % !TeX program = lualatex \documentclass[a4paper,10pt]{article} \usepackage{amsmath} \usepackage{tikz-feynman} \begin{document} \begin{center} \feynmandiagram ...
194 views

Specific Feynman Diagram TikZ-Feynman Drawing [closed]

I'm new to Tex. Please help me with the coding to draw these 5 diagrams in LATEX.
258 views

Hartree diagram with tikz-feynman (just a circle as propagator)

I would like to draw the Hartree diagram like that: (actually only the right hand side, but that doesn't matter) My attempts end up like this: \documentclass[tikz]{standalone} \usepackage[compat=1....
191 views

Loop along a line in tikz-feynman

In tikz-feynman, I want to draw a curved arc between two points, and then attach a loop to this. Here is an extremely hack version I did as a stopgap: \documentclass{article} \usepackage{tikz} \...
44 views

Trying to get the right arrow head on my Feyman diagram

So this is the code that genreates the image below. I am trying to get the pointed arrows on the fermions but I have no idea why is not working wit particle. Any help will be appreciated. \...
73 views

Background colours in tikz picture containing tikz-feynman

I am trying to split the background colour of the Feynamn diagram below into 2 different colours with (for example) red in the top half and green in the bottom half. Note that both horizontal lines ...
249 views

Vacuum bubbles in tikz-Feynman

I want to draw $\phi^4$ theory vacuum bubbles. The simplest one is the "figure eight", and the documentation does not refer to such diagrams at all. I can't find a way to manually set vertices and ...
1k views

Using tikz with Miktex and TexStudio

So I am using latex for submitting my homeworks, and I am struggling for hours now, just to draw some Feynman diagrams. Here is how I proceeded: Install tikz-feynman from Miktex. Texstudio refuses to ...
42 views

Trying to create a mid vtx with two fermions (Tiks-Feynman)

So i've been working hard over the past 7 hrs and I am at the point where Tiks-Feynman needs improvement or I just don't get it. This is most likely my 4th question in this forum and I feel real ...
212 views

Trying to put Feyman Diagram side by side horizontally w/ “+” in between.

So i've been trying several threads in this forum on how to make my feynman diagrams look side by side. The problem is that no thing seems to work, this is how my two diagram look: and this is my ...
76 views

Need help with making a Feyman Diagrams with \feynmandiagram to make triple or more arrows very close to eachother

so I've been trying to make the following feyman diagrams: My code looks like this for the first diagram attempt , so far this is what've got: \begin{figure}[H] \centering \feynmandiagram [...
68 views

TikZ-Feyman help with a particular Diagram

Hello i am trying to make a Feynman diagram with this code \bigskip \begin{figure}[H] \centering \tikzfeynmanset{ every vertex={red, dot}, every particle={blue}, every blob={draw=green!40!black, ...
143 views

how to align these diagrams

i am trying to align the left hand text with right hand diagram.but its not working.if i use \feynmandiagram[baseline] it can be done.but if i manually adjust my diagram it is not working.heres an ...
177 views

vertex naming is not working in tikz-feynman

I want to name the left and right hand vertex x and y.but it is not working. \usepackage{tikz-feynman} \usepackage[compat=1.1.0]{tikz-feynman} \usepackage{simpler-wick} \usetikzlibrary{calc} \begin{...
140 views

Wick contraction help

i am trying to reproduce these contractions of peskin.But none of my code works. please help me out here.thank you. \documentclass{beamer} \usepackage{amssymb} \usepackage{amsmath} \usepackage{...
320 views

I want to draw the diagram with one loop. But my latex code is not working. let me be more specific \documentclass{beamer} \usetheme{Warsaw} \usepackage{mathrsfs} \usepackage{braket} \usepackage{...
161 views

Tikz-Feynman: Putting multiple boson loops into each other

I was trying to draw a Feynman diagram of a quark propagator in rainbow ladder truncation when I encountered a problem. I need to draw multiple gluon loops within each other. Drawing one gluon loop is ...
151 views

Tikz-Feynman Diagram holding on Compile

I am trying to compile a standalone Feynman Diagram, but when I attempt to compile, it holds on compilation, and when the typesetting process is aborted on the GUI, the process is still running on my ...
281 views

TikZ-feynman: Changing the angle at a vertex

I want to draw a feynman diagram for the quark Dyson-Schwinger equation using the Tikz-Feynman package. I have the problem that I can't draw a fermion line that is straight even after a vertex. I have ...
92 views

Tikz Feynman Delbruck Scattering

I'd like to make a Delbruck scattering diagram with Tikz-feynman but for some reason my code wont compile, its blowing up my CPU and eventually memory. Have I written something wrong, is there a ...
445 views

TikZ-Feynman: Orientating diagram horizontally [duplicate]

I want to make a Feynman diagram using the Tikz-Feynman package, that is aligned horizontally. The command I use looks like: \documentclass{book} \usepackage{tikz-feynman} \usepackage{tikz} \...
127 views

Tikz Feynman fit a line inside a loop

I am trying to write a two loop Feynman diagram in a particular format (using pdflatex!), basically with a line dividing in half a loop. Unfortunately while the outcome in the image below is almost ...
106 views

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 square. cascade.txt: \documentclass[tikz]{standalone} \def\axisdefaultwidth{12cm} \def\...
151 views

Positron - Photon feynman diagram

I made a simple Feynman diagram of the channel S=(k1 + k2)^2 in the Positron - Photon scattering as follows \feynmandiagram[horizontal=a to b]{ i1 [particle=$$\gamma$$] -- [photon, ...
570 views

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 ...
201 views

tikz-feynman diagrams inside align* environment produce an error

I'm trying to typeset an equation in which there are a lot of Feynman diagrams, which I draw with tikz-feynman, as in the example I pasted below. When I compile, it halts at the first tikzpicture, ...
74 views

Tikz-Feynman: Particles overlap and appear at only one external leg

# I am facing trouble with the tikz-feynman package that I have recently installed. I am currently using LuaTex as the engine in TexLive. Also, I am using a non-English language, so I am using ...
278 views

Move arrow away from the middle of the line in a fermion line

I'm trying to draw the following diagram with the tikz-feynman package. \documentclass{standalone} \usepackage{tikz-feynman} \begin{document} \begin{tikzpicture} \begin{feynman} \vertex [...