Well there's a command named
\autopageref{} which replaces \pageref{} and does exactly what I wanted. More info here.\autopageref{} which replaces \pageref{} and does exactly what I wanted. More info here.\begin{subequations}See here.
\begin{align}
p(w) &\sim \mathcal{N}(0, Q)\\
p(v) &\sim \mathcal{N}(0, R)
\end{align}
\end{subequations}
\begin{eqnarray}I sometimes get that I should not use eqnarray that extensive, but it works for me.
\begin{array}{rl}
&x = foo \\
& y = bar
\end{array}
\end{eqnarray}