I want to write a formula, like the attachment picture, with two different arrows for two parts of the formula. I could write the below code by \xymatrix finally. But the starting point of the second arrow is not correct.
%
%%-------------------------------------------------------------
%% Modern Particle Physics, Mark Thomson, Cambridge University, 2013
%%-------------------------------------------------------------
%
\documentclass[openany,11pt]{book}
\usepackage{amsthm,amsmath,amssymb,mathrsfs,amsfonts}
%\usepackage[cmex10]{amsmath}
\usepackage[all]{xy}
\usepackage{setspace}
\usepackage{makeidx}
\usepackage{colortbl}
\usepackage{tikz}
\usepackage{graphicx}
\usepackage{graphics}
\begin{document}
%-----------------
\begin{eqnarray}
\xymatrix{
|K_L\rangle=\frac{1}{\sqrt{2(1+|\epsilon^2|)}}[(1+\varepsilon)\mkern-25mu&\mkern-25mu|K^0\rangle \ar[rd]%
+/d:(1,1) 5pt/\mkern-25mu&\mkern-25mu - (1 - \varepsilon)\mkern-25mu&\mkern-25mu|\bar{K^0}\ar[rd]%
+/d:(1,1) 5pt/\rangle]. \\nonumber
\mkern-25mu&\mkern-25mu&\mkern-25mu\pi^-e^+\nu_e \mkern-25mu&\mkern-25mu \mkern-25mu&\mkern-25mu \pi^+e^-\bar{\nu}_e}\mkern-25mu \nonumber
\end{eqnarray}
%-----------------
\end{document}


tikzmarkpackage is your saviour! And please, provide a complete MWE, not just a snippet, in order to let us work on it without rewrinting all the context. – SebGlav Feb 13 '21 at 11:19tikzmarkbelow. – SebGlav Feb 13 '21 at 12:01