I am trying to use tikz-feynman (on overleaf) to generate some Feynman diagrams. I wish to equate blob diagrams in particular, and I managed to get something working, but it doesn't look presentable at all.
I as hoping for some advice on how to:
1) Set the equation to the centre
2) Set the "=" sign at middle "height" (i.e. halfway at the diagram height)
3) Change the font of the writing in the blobs (the bf looks terrible)
4) Change the blob shading
My apologies for the multiplicity of my questions, but I thought they all fell under the tikz-feynman 'typesetting' category. Please let me know if I should change my question in some way. Thank you for your time! Code example:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage[compat=1.0.0]{tikz-feynman}
\usepackage{contour}
\begin{document}
\begin{equation*}
\begin{tikzpicture}
\begin{feynman}
\vertex[blob] (m) at (0,0) {\contour{gray}{$G^c$}};
\vertex (a) at (-2,-2) ;
\vertex (b) at ( 2,-2);
\vertex (c) at (0, 2.8);
\diagram* {
(a) -- [edge label=$x_1$] (m) -- [edge label=$x_2$] (b),
(c) -- [edge label=$x_3$] (m)};
\end{feynman}
\end{tikzpicture}
\quad = \quad
\begin{tikzpicture}
\begin{feynman}
\vertex[blob] (m) at (0,0) {\contour{black}{$G^{1PI}$}};
\vertex (a) at (-2,-2) ;
\vertex[blob] (m1) at (0,1.4) {\contour{gray}{$G^c$}};
\vertex[blob] (m2) at (1,-1) {\contour{gray}{$G^c$}};
\vertex[blob] (m3) at (-1,-1) {\contour{gray}{$G^c$}};
\vertex (b) at ( 2,-2);
\vertex (c) at (0, 2.8);
\diagram* {
(a) -- [edge label=$x_1$] (m3) -- [edge label=$z_1$] (m),
(b) -- [edge label=$x_2$] (m2) -- [edge label=$z_2$] (m),
(c) -- [edge label=$x_3$] (m1) -- [edge label=$z_3$] (m)};
\end{feynman}
\end{tikzpicture}
\end{equation*}
\end{document}



Missing $ inserted. []. – Sebastiano Mar 30 '20 at 15:59\begin{tikzpicture}[baseline=(m.base)]for bothtikzpictures. – Torbjørn T. Mar 30 '20 at 16:30baselinedoes is to change how the tikzpicture is placed vertically on the current line.baseline=(m.base)shifts the diagram so that thebaseanchor of themnode is put on the current line. – Torbjørn T. Mar 30 '20 at 20:16