tikzpicture、费曼、方程

tikzpicture、费曼、方程

我怎样才能将表达式从该图的中心开始放置?表达式有点高,我希望它处于较低且靠近中心的位置。

\documentclass{article}
\usepackage{tikz}
\usepackage[compat=1.0.0]{tikz-feynman}
\usepackage{amsmath}

\begin{document}

\begin{equation}
\begin{tikzpicture}[baseline=(a1.base)]
\large
\begin{feynman}[inline=(a1.base)]
   \vertex (a1) {\(d\)};
    \vertex[right=2cm of a1] (a2);
    \vertex[right=2cm of a2] (a3) {\(s\)};
    \vertex[below=4em of a1] (b1) {\(\overline s\)};
        \vertex[right=2cm of b1] (b2);
    \vertex[right=2cm of b2] (b3) {\(\overline d\)};
    
     \diagram* {
      {[edges=fermion]
        (a1) -- (a2) -- (a3) 
      },
     {[edges= anti fermion]
        (b1) -- (b2) -- (b3)
      },
      (a2) -- [dashed, edge label=\(Q_i\)] (b2),
      };
\end{feynman}
\end{tikzpicture}
\equiv <Q_i>(\alpha_s^0)=Q_i,\\\quad \text{for}\quad Q_i=Q_1,Q_2,E_1,E_2 .
\end{equation}

\end{document}

在此处输入图片描述

答案1

我不确定你想要什么。喜欢这个吗?

在此处输入图片描述

\documentclass{article}
\usepackage{tikz}
\usepackage[compat=1.0.0]{tikz-feynman}
\usepackage{amsmath}

\begin{document}

\begin{equation}
\begin{tikzpicture}[baseline=(a1.base)]
\large
\begin{feynman}[inline=(a1.base)]
   \vertex (a1) {\(d\)};
    \vertex[right=2cm of a1] (a2);
    \vertex[right=2cm of a2] (a3) {\(s\)};
    \vertex[below=4em of a1] (b1) {\(\overline s\)};
        \vertex[right=2cm of b1] (b2);
    \vertex[right=2cm of b2] (b3) {\(\overline d\)};
    
     \diagram* {
      {[edges=fermion]
        (a1) -- (a2) -- (a3) 
      },
     {[edges= anti fermion]
        (b1) -- (b2) -- (b3)
      },
      (a2) -- [dashed, edge label=\(Q_i\)] (b2),
      };
\end{feynman}
\end{tikzpicture}
\equiv <Q_i>(\alpha_s^0)=Q_i,\\\quad \text{for}\quad Q_i=Q_1,Q_2,E_1,E_2 .
\end{equation}

\end{document}

答案2

您的意思是将方程式置于中心吗?您可以将其设为一个简单的节点,如下所示:

\documentclass{article}
\usepackage{tikz}
\usepackage[compat=1.0.0]{tikz-feynman}
\usepackage{amsmath}

\begin{document}
    
    
    \begin{equation}
        \begin{tikzpicture}[baseline=(a1.base)]         
            \node at (7,-1) {\( \begin{split}\equiv <Q_i>(\alpha_s^0)=Q_i,\\\quad \text{for}\quad Q_i=Q_1,Q_2,E_1,E_2 \end{split} \)};
            \large
            \begin{feynman}[inline=(a1.base)]
                \vertex (a1) {\(d\)};
                \vertex[right=2cm of a1] (a2);
                \vertex[right=2cm of a2] (a3) {\(s\)};
                \vertex[below=4em of a1] (b1) {\(\overline s\)};
                \vertex[right=2cm of b1] (b2);
                \vertex[right=2cm of b2] (b3) {\(\overline d\)};                
                \diagram* {
                    {[edges=fermion]
                        (a1) -- (a2) -- (a3) 
                    },
                    {[edges= anti fermion]
                        (b1) -- (b2) -- (b3)
                    },
                    (a2) -- [dashed, edge label=\(Q_i\)] (b2),              
                };
            \end{feynman}
        \end{tikzpicture}
        %\equiv <Q_i>(\alpha_s^0)=Q_i,\\\quad \text{for}\quad Q_i=Q_1,Q_2,E_1,E_2 .
    \end{equation}
\end{document}

在此处输入图片描述

相关内容