You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the package, it is great!
I am trying to create a very simple bubble diagram where I wish to give the (internal) vertices labels that appear below a dot. However, I can't seem to get this to work. I can get either the dot, or the label name in place of the dot (which, as you point out in the notes, breaks the lines).
I have tried both of the following thinking this API seemed reasonable:
\feynmandiagram [layered layout, horizontal=a to b] {
a [particle={$t_1$},dot] -- [fermion, half left] b [dot]
-- [fermion, half left] a,
};
\begin{tikzpicture}
\begin{feynman}
\vertex[dot] (a) {$t_1$};
\vertex[right= of a, dot] (b) {$t_2$};
\diagram* {
(a) -- [fermion, half left] (b),
(b) -- [fermion, half left] (a),
};
\end{feynman}
\end{tikzpicture}
However, neither works. In the second example, the dot simply becomes bigger. Is there a way to do this?
Thanks!
The text was updated successfully, but these errors were encountered:
As you have noticed, the particle and dot style are mutually exclusive because they modify the shape of the vertex itself. If you want an annotated dot, you can use the label directive:
Hello,
Thanks for the package, it is great!
I am trying to create a very simple bubble diagram where I wish to give the (internal) vertices labels that appear below a dot. However, I can't seem to get this to work. I can get either the dot, or the label name in place of the dot (which, as you point out in the notes, breaks the lines).
I have tried both of the following thinking this API seemed reasonable:
However, neither works. In the second example, the dot simply becomes bigger. Is there a way to do this?
Thanks!
The text was updated successfully, but these errors were encountered: