Inline Feynman diagrams, Feynman diagrams in equations, very small Feynman diagramsDrawing circular arrows in...
Boss asked me to sign a resignation paper without a date on it along with my new contract
How can I handle players killing my NPC outside of combat?
Can someone explain European graduate programs in STEM fields?
How do I purchase a drop bar bike that will be converted to flat bar?
How can I prevent an oracle who can see into the past from knowing everything that has happened?
Is there any danger of my neighbor having my wife's signature?
Why can all solutions to the simple harmonic motion equation be written in terms of sines and cosines?
Using functions like sine, cosine and tangent to calculate coordinates in Tikz
Is practicing on a digital piano harmful to an experienced piano player?
Does an enchantment ability that gives -1/-1 to opponent creatures resolve before other abilities can be used on a 1/1 entering the battlefield
Calculating list of areas between the curves in an intersection region
Is Developer Console going to be deprecated?
Problems with position of tikzpictures in beamer
Why aren't passengers instructed how to lift aisle armrests?
How can changes in personality/values of a person who turned into a vampire be explained?
Sing Baby Shark
Can't figure out a htaccess rule
Is there any way to play D&D without a DM?
Taking an academic pseudonym?
Is the percentage symbol a constant?
Was Opportunity's last message to Earth "My battery is low and it's getting dark"?
How to know if I am a 'Real Developer'
Have any astronauts or cosmonauts died in space?
Why do single electrical receptacles exist?
Inline Feynman diagrams, Feynman diagrams in equations, very small Feynman diagrams
Drawing circular arrows in tikz to represent turns in a T-intersectionDecoration of (relative) segments of Bézier curvesPackage for typesetting Feynman diagrams (efficiency of `feynmp` and `tikz`)How to force normal line spacing when inline math in textMaking Inline Code Printing PrettyMany body perturbation diagrams (closed Feynman diagrams) in latex with labellingFeynman diagrams with feynartsSave Feynman diagram files in a subfolderThick line in Feynman DiagramTikz Feynman error in irreducible diagramsfeynman diagram with two loops and bigger dots tikz feynmanVery common question: Feynman Diagrams in LaTeX
I'd like to typeset equations like:
I have tried this with the tikz-feynman library, but the diagrams generated by it are just way too large, even with the small option (and also just look awkward). Optimally, I want to type simple diagrams even inline with the text, so that I can avoid awkwardly describing the diagram or using a lot of space and breaking the flow of the document to display the diagram.
inline feynman
New contributor
add a comment |
I'd like to typeset equations like:
I have tried this with the tikz-feynman library, but the diagrams generated by it are just way too large, even with the small option (and also just look awkward). Optimally, I want to type simple diagrams even inline with the text, so that I can avoid awkwardly describing the diagram or using a lot of space and breaking the flow of the document to display the diagram.
inline feynman
New contributor
Welcome to TeX.SE. I like very much your question. Good LaTeX.
– Sebastiano
4 hours ago
Using normal inline TikZ bytikz
may be a solution.
– JouleV
4 hours ago
add a comment |
I'd like to typeset equations like:
I have tried this with the tikz-feynman library, but the diagrams generated by it are just way too large, even with the small option (and also just look awkward). Optimally, I want to type simple diagrams even inline with the text, so that I can avoid awkwardly describing the diagram or using a lot of space and breaking the flow of the document to display the diagram.
inline feynman
New contributor
I'd like to typeset equations like:
I have tried this with the tikz-feynman library, but the diagrams generated by it are just way too large, even with the small option (and also just look awkward). Optimally, I want to type simple diagrams even inline with the text, so that I can avoid awkwardly describing the diagram or using a lot of space and breaking the flow of the document to display the diagram.
inline feynman
inline feynman
New contributor
New contributor
New contributor
asked 4 hours ago
LeonardLeonard
211
211
New contributor
New contributor
Welcome to TeX.SE. I like very much your question. Good LaTeX.
– Sebastiano
4 hours ago
Using normal inline TikZ bytikz
may be a solution.
– JouleV
4 hours ago
add a comment |
Welcome to TeX.SE. I like very much your question. Good LaTeX.
– Sebastiano
4 hours ago
Using normal inline TikZ bytikz
may be a solution.
– JouleV
4 hours ago
Welcome to TeX.SE. I like very much your question. Good LaTeX.
– Sebastiano
4 hours ago
Welcome to TeX.SE. I like very much your question. Good LaTeX.
– Sebastiano
4 hours ago
Using normal inline TikZ by
tikz
may be a solution.– JouleV
4 hours ago
Using normal inline TikZ by
tikz
may be a solution.– JouleV
4 hours ago
add a comment |
1 Answer
1
active
oldest
votes
AFAIK you do not get bent arrows with tikz-feynman
. And since you seem not to need the graph drawing algorithms (and since they cannot be uploaded to the arXv), you may just work with plain TikZ.
documentclass{article}
usepackage{amsmath}
usepackage{mathrsfs}
usepackage{tikz}
usetikzlibrary{arrows.meta,bending,decorations.markings}
% from https://tex.stackexchange.com/a/430239/121799
tikzset{% inspired by https://tex.stackexchange.com/a/316050/121799
arc arrow/.style args={%
to pos #1 with length #2}{
decoration={
markings,
mark=at position 0 with {pgfextra{%
pgfmathsetmacro{tmpArrowTime}{#2/(pgfdecoratedpathlength)}
xdeftmpArrowTime{tmpArrowTime}}},
mark=at position {#1-tmpArrowTime} with {coordinate(@1);},
mark=at position {#1-2*tmpArrowTime/3} with {coordinate(@2);},
mark=at position {#1-tmpArrowTime/3} with {coordinate(@3);},
mark=at position {#1} with {coordinate(@4);
draw[-{Triangle[length=#2,bend]}]
(@1) .. controls (@2) and (@3) .. (@4);},
},
postaction=decorate,
},
fermion arc arrow/.style={arc arrow=to pos #1 with length 2.5mm},
Vertex/.style={fill,circle,inner sep=1.5pt},
insert vertex/.style={decoration={
markings,
mark=at position #1 with {node[Vertex]{};},
},
postaction=decorate}
}
DeclareMathOperator{tr}{tr}
begin{document}
[mathscr{P}(varphi)=-sumlimits_{n=1}^inftytrleft(Delta L_12right)^2
=vcenter{hbox{begin{tikzpicture}
draw[thick,insert vertex=0,fermion arc arrow={0.55}] (0,0) arc(270:-90:0.6);
end{tikzpicture}}}+frac{1}{2}
vcenter{hbox{begin{tikzpicture}
draw[thick,insert vertex/.list={0,0.5}](0,0) arc(270:-90:0.6);
draw[fermion arc arrow/.list={0.3,0.8}] (0,0) arc(270:-90:0.6);
end{tikzpicture}}}
+frac{1}{3}
vcenter{hbox{begin{tikzpicture}
draw[thick,insert vertex/.list={0,1/3,2/3}](0,0) arc(270:-90:0.6);
draw[fermion arc arrow/.list={0.21,0.55,0.88}] (0,0) arc(270:-90:0.6);
end{tikzpicture}}}+dots
]
[
G(x_1,dots x_n)=sumlimits_{m=0}^inftyfrac{1}{m!}!!
begin{tikzpicture}[baseline={(X.base)}]
node[circle,draw,thick,inner sep=2pt] (X) at (0,0) {$n+m$};
foreach X in {60,90,120}
{draw[thick] (X:0.6) -- (X:0.9) node[Vertex]{};}
foreach X in {-60,-80,-100,-120}
{draw[thick] (X:0.6) -- (X:0.9);}
node[rotate=-30] at (-120:1.1){$x_1$};
node[rotate=30] at (-60:1.1){$x_n$};
node at (-90:1.1){$cdots$};
end{tikzpicture}
]
end{document}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Leonard is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f476304%2finline-feynman-diagrams-feynman-diagrams-in-equations-very-small-feynman-diagr%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
AFAIK you do not get bent arrows with tikz-feynman
. And since you seem not to need the graph drawing algorithms (and since they cannot be uploaded to the arXv), you may just work with plain TikZ.
documentclass{article}
usepackage{amsmath}
usepackage{mathrsfs}
usepackage{tikz}
usetikzlibrary{arrows.meta,bending,decorations.markings}
% from https://tex.stackexchange.com/a/430239/121799
tikzset{% inspired by https://tex.stackexchange.com/a/316050/121799
arc arrow/.style args={%
to pos #1 with length #2}{
decoration={
markings,
mark=at position 0 with {pgfextra{%
pgfmathsetmacro{tmpArrowTime}{#2/(pgfdecoratedpathlength)}
xdeftmpArrowTime{tmpArrowTime}}},
mark=at position {#1-tmpArrowTime} with {coordinate(@1);},
mark=at position {#1-2*tmpArrowTime/3} with {coordinate(@2);},
mark=at position {#1-tmpArrowTime/3} with {coordinate(@3);},
mark=at position {#1} with {coordinate(@4);
draw[-{Triangle[length=#2,bend]}]
(@1) .. controls (@2) and (@3) .. (@4);},
},
postaction=decorate,
},
fermion arc arrow/.style={arc arrow=to pos #1 with length 2.5mm},
Vertex/.style={fill,circle,inner sep=1.5pt},
insert vertex/.style={decoration={
markings,
mark=at position #1 with {node[Vertex]{};},
},
postaction=decorate}
}
DeclareMathOperator{tr}{tr}
begin{document}
[mathscr{P}(varphi)=-sumlimits_{n=1}^inftytrleft(Delta L_12right)^2
=vcenter{hbox{begin{tikzpicture}
draw[thick,insert vertex=0,fermion arc arrow={0.55}] (0,0) arc(270:-90:0.6);
end{tikzpicture}}}+frac{1}{2}
vcenter{hbox{begin{tikzpicture}
draw[thick,insert vertex/.list={0,0.5}](0,0) arc(270:-90:0.6);
draw[fermion arc arrow/.list={0.3,0.8}] (0,0) arc(270:-90:0.6);
end{tikzpicture}}}
+frac{1}{3}
vcenter{hbox{begin{tikzpicture}
draw[thick,insert vertex/.list={0,1/3,2/3}](0,0) arc(270:-90:0.6);
draw[fermion arc arrow/.list={0.21,0.55,0.88}] (0,0) arc(270:-90:0.6);
end{tikzpicture}}}+dots
]
[
G(x_1,dots x_n)=sumlimits_{m=0}^inftyfrac{1}{m!}!!
begin{tikzpicture}[baseline={(X.base)}]
node[circle,draw,thick,inner sep=2pt] (X) at (0,0) {$n+m$};
foreach X in {60,90,120}
{draw[thick] (X:0.6) -- (X:0.9) node[Vertex]{};}
foreach X in {-60,-80,-100,-120}
{draw[thick] (X:0.6) -- (X:0.9);}
node[rotate=-30] at (-120:1.1){$x_1$};
node[rotate=30] at (-60:1.1){$x_n$};
node at (-90:1.1){$cdots$};
end{tikzpicture}
]
end{document}
add a comment |
AFAIK you do not get bent arrows with tikz-feynman
. And since you seem not to need the graph drawing algorithms (and since they cannot be uploaded to the arXv), you may just work with plain TikZ.
documentclass{article}
usepackage{amsmath}
usepackage{mathrsfs}
usepackage{tikz}
usetikzlibrary{arrows.meta,bending,decorations.markings}
% from https://tex.stackexchange.com/a/430239/121799
tikzset{% inspired by https://tex.stackexchange.com/a/316050/121799
arc arrow/.style args={%
to pos #1 with length #2}{
decoration={
markings,
mark=at position 0 with {pgfextra{%
pgfmathsetmacro{tmpArrowTime}{#2/(pgfdecoratedpathlength)}
xdeftmpArrowTime{tmpArrowTime}}},
mark=at position {#1-tmpArrowTime} with {coordinate(@1);},
mark=at position {#1-2*tmpArrowTime/3} with {coordinate(@2);},
mark=at position {#1-tmpArrowTime/3} with {coordinate(@3);},
mark=at position {#1} with {coordinate(@4);
draw[-{Triangle[length=#2,bend]}]
(@1) .. controls (@2) and (@3) .. (@4);},
},
postaction=decorate,
},
fermion arc arrow/.style={arc arrow=to pos #1 with length 2.5mm},
Vertex/.style={fill,circle,inner sep=1.5pt},
insert vertex/.style={decoration={
markings,
mark=at position #1 with {node[Vertex]{};},
},
postaction=decorate}
}
DeclareMathOperator{tr}{tr}
begin{document}
[mathscr{P}(varphi)=-sumlimits_{n=1}^inftytrleft(Delta L_12right)^2
=vcenter{hbox{begin{tikzpicture}
draw[thick,insert vertex=0,fermion arc arrow={0.55}] (0,0) arc(270:-90:0.6);
end{tikzpicture}}}+frac{1}{2}
vcenter{hbox{begin{tikzpicture}
draw[thick,insert vertex/.list={0,0.5}](0,0) arc(270:-90:0.6);
draw[fermion arc arrow/.list={0.3,0.8}] (0,0) arc(270:-90:0.6);
end{tikzpicture}}}
+frac{1}{3}
vcenter{hbox{begin{tikzpicture}
draw[thick,insert vertex/.list={0,1/3,2/3}](0,0) arc(270:-90:0.6);
draw[fermion arc arrow/.list={0.21,0.55,0.88}] (0,0) arc(270:-90:0.6);
end{tikzpicture}}}+dots
]
[
G(x_1,dots x_n)=sumlimits_{m=0}^inftyfrac{1}{m!}!!
begin{tikzpicture}[baseline={(X.base)}]
node[circle,draw,thick,inner sep=2pt] (X) at (0,0) {$n+m$};
foreach X in {60,90,120}
{draw[thick] (X:0.6) -- (X:0.9) node[Vertex]{};}
foreach X in {-60,-80,-100,-120}
{draw[thick] (X:0.6) -- (X:0.9);}
node[rotate=-30] at (-120:1.1){$x_1$};
node[rotate=30] at (-60:1.1){$x_n$};
node at (-90:1.1){$cdots$};
end{tikzpicture}
]
end{document}
add a comment |
AFAIK you do not get bent arrows with tikz-feynman
. And since you seem not to need the graph drawing algorithms (and since they cannot be uploaded to the arXv), you may just work with plain TikZ.
documentclass{article}
usepackage{amsmath}
usepackage{mathrsfs}
usepackage{tikz}
usetikzlibrary{arrows.meta,bending,decorations.markings}
% from https://tex.stackexchange.com/a/430239/121799
tikzset{% inspired by https://tex.stackexchange.com/a/316050/121799
arc arrow/.style args={%
to pos #1 with length #2}{
decoration={
markings,
mark=at position 0 with {pgfextra{%
pgfmathsetmacro{tmpArrowTime}{#2/(pgfdecoratedpathlength)}
xdeftmpArrowTime{tmpArrowTime}}},
mark=at position {#1-tmpArrowTime} with {coordinate(@1);},
mark=at position {#1-2*tmpArrowTime/3} with {coordinate(@2);},
mark=at position {#1-tmpArrowTime/3} with {coordinate(@3);},
mark=at position {#1} with {coordinate(@4);
draw[-{Triangle[length=#2,bend]}]
(@1) .. controls (@2) and (@3) .. (@4);},
},
postaction=decorate,
},
fermion arc arrow/.style={arc arrow=to pos #1 with length 2.5mm},
Vertex/.style={fill,circle,inner sep=1.5pt},
insert vertex/.style={decoration={
markings,
mark=at position #1 with {node[Vertex]{};},
},
postaction=decorate}
}
DeclareMathOperator{tr}{tr}
begin{document}
[mathscr{P}(varphi)=-sumlimits_{n=1}^inftytrleft(Delta L_12right)^2
=vcenter{hbox{begin{tikzpicture}
draw[thick,insert vertex=0,fermion arc arrow={0.55}] (0,0) arc(270:-90:0.6);
end{tikzpicture}}}+frac{1}{2}
vcenter{hbox{begin{tikzpicture}
draw[thick,insert vertex/.list={0,0.5}](0,0) arc(270:-90:0.6);
draw[fermion arc arrow/.list={0.3,0.8}] (0,0) arc(270:-90:0.6);
end{tikzpicture}}}
+frac{1}{3}
vcenter{hbox{begin{tikzpicture}
draw[thick,insert vertex/.list={0,1/3,2/3}](0,0) arc(270:-90:0.6);
draw[fermion arc arrow/.list={0.21,0.55,0.88}] (0,0) arc(270:-90:0.6);
end{tikzpicture}}}+dots
]
[
G(x_1,dots x_n)=sumlimits_{m=0}^inftyfrac{1}{m!}!!
begin{tikzpicture}[baseline={(X.base)}]
node[circle,draw,thick,inner sep=2pt] (X) at (0,0) {$n+m$};
foreach X in {60,90,120}
{draw[thick] (X:0.6) -- (X:0.9) node[Vertex]{};}
foreach X in {-60,-80,-100,-120}
{draw[thick] (X:0.6) -- (X:0.9);}
node[rotate=-30] at (-120:1.1){$x_1$};
node[rotate=30] at (-60:1.1){$x_n$};
node at (-90:1.1){$cdots$};
end{tikzpicture}
]
end{document}
AFAIK you do not get bent arrows with tikz-feynman
. And since you seem not to need the graph drawing algorithms (and since they cannot be uploaded to the arXv), you may just work with plain TikZ.
documentclass{article}
usepackage{amsmath}
usepackage{mathrsfs}
usepackage{tikz}
usetikzlibrary{arrows.meta,bending,decorations.markings}
% from https://tex.stackexchange.com/a/430239/121799
tikzset{% inspired by https://tex.stackexchange.com/a/316050/121799
arc arrow/.style args={%
to pos #1 with length #2}{
decoration={
markings,
mark=at position 0 with {pgfextra{%
pgfmathsetmacro{tmpArrowTime}{#2/(pgfdecoratedpathlength)}
xdeftmpArrowTime{tmpArrowTime}}},
mark=at position {#1-tmpArrowTime} with {coordinate(@1);},
mark=at position {#1-2*tmpArrowTime/3} with {coordinate(@2);},
mark=at position {#1-tmpArrowTime/3} with {coordinate(@3);},
mark=at position {#1} with {coordinate(@4);
draw[-{Triangle[length=#2,bend]}]
(@1) .. controls (@2) and (@3) .. (@4);},
},
postaction=decorate,
},
fermion arc arrow/.style={arc arrow=to pos #1 with length 2.5mm},
Vertex/.style={fill,circle,inner sep=1.5pt},
insert vertex/.style={decoration={
markings,
mark=at position #1 with {node[Vertex]{};},
},
postaction=decorate}
}
DeclareMathOperator{tr}{tr}
begin{document}
[mathscr{P}(varphi)=-sumlimits_{n=1}^inftytrleft(Delta L_12right)^2
=vcenter{hbox{begin{tikzpicture}
draw[thick,insert vertex=0,fermion arc arrow={0.55}] (0,0) arc(270:-90:0.6);
end{tikzpicture}}}+frac{1}{2}
vcenter{hbox{begin{tikzpicture}
draw[thick,insert vertex/.list={0,0.5}](0,0) arc(270:-90:0.6);
draw[fermion arc arrow/.list={0.3,0.8}] (0,0) arc(270:-90:0.6);
end{tikzpicture}}}
+frac{1}{3}
vcenter{hbox{begin{tikzpicture}
draw[thick,insert vertex/.list={0,1/3,2/3}](0,0) arc(270:-90:0.6);
draw[fermion arc arrow/.list={0.21,0.55,0.88}] (0,0) arc(270:-90:0.6);
end{tikzpicture}}}+dots
]
[
G(x_1,dots x_n)=sumlimits_{m=0}^inftyfrac{1}{m!}!!
begin{tikzpicture}[baseline={(X.base)}]
node[circle,draw,thick,inner sep=2pt] (X) at (0,0) {$n+m$};
foreach X in {60,90,120}
{draw[thick] (X:0.6) -- (X:0.9) node[Vertex]{};}
foreach X in {-60,-80,-100,-120}
{draw[thick] (X:0.6) -- (X:0.9);}
node[rotate=-30] at (-120:1.1){$x_1$};
node[rotate=30] at (-60:1.1){$x_n$};
node at (-90:1.1){$cdots$};
end{tikzpicture}
]
end{document}
edited 6 mins ago
answered 2 hours ago
marmotmarmot
102k4121231
102k4121231
add a comment |
add a comment |
Leonard is a new contributor. Be nice, and check out our Code of Conduct.
Leonard is a new contributor. Be nice, and check out our Code of Conduct.
Leonard is a new contributor. Be nice, and check out our Code of Conduct.
Leonard is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f476304%2finline-feynman-diagrams-feynman-diagrams-in-equations-very-small-feynman-diagr%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Welcome to TeX.SE. I like very much your question. Good LaTeX.
– Sebastiano
4 hours ago
Using normal inline TikZ by
tikz
may be a solution.– JouleV
4 hours ago