\begin{eqnarray*}
M \to {P_j}:{} & \left\{ {{{\left( {{n_1},{n_2},{{\left( {profile,{N_i},{N_i}\left( {\mathop \leftrightarrow \limits^{K_S^i} } \right){P_j},\\ & \# \left( {{N_i}\left( {\mathop \leftrightarrow \limits^{K_S^i} } \right){P_j}} \right)} \right)}_{K_P^j}}} \right)}_{K_P^j}},{{\left( {{n_0},{n_1},{{\left( {profile,{N_i},{N_i} \\ &\left( {\mathop \leftrightarrow \limits^{K_S^i} } \right){P_j},\# \left( {{N_i}\left( {\mathop \leftrightarrow \limits^{K_S^i} } \right){P_j}} \right)} \right)}_{K_P^j}},{N_i}\left( {\mathop \leftrightarrow \limits^{K_S^i} } \right){P_j}, \\ &\# \left( {{N_i}\left( {\mathop \leftrightarrow \limits^{K_S^i} } \right){P_j}} \right),{N_i}\mathop \leftrightarrow \limits^{n_S^i} M} \right)}_{K_{TS}^i = H\left( {K_p^j \oplus n_S^i} \right)}}} \right\}
\end{eqnarray*}
To split my long equation I used \begin{equation} \begin{split}, \begin{eqnarray*},and \begin{multline} etc. But all the time few brackets from equation just disapear as shown in figure below.
The correct equation is given below and I want to split it into 4 lines
eqnarray
it is broken in many ways and only kept for backwards compatability. Use the macros fromamsmath
. (2) You cannot!!! break a\left ... \right
construction across lines, you need to scale these manuallt. From the last image you post, you can clearly see that those fences are way too large, and the readability would benefit greatly by manual scaling. (3) Use a better construction to write above\leftrightarrow
, for example load themathtools
package, it provides the missing\xleftrightarrow{...}
that is missing fromamsmath
.\\
inside a{ ... }
group, so you'll need to clean that up as well.