Yesterday, I posted question concerning solid diagonal line within matrix. But my problem continues, since I am supposed to add into the matrix even the vertical line and labels. Is there a way how to add nodes for matrix built by pmatrix enviroment (all similar problems I have met so far contained some other way of building matrix)? Is there any way how to improve the vertical line (for example to touch the diagonal line)? And how to add second horizontal line?
\documentclass{article}
\usepackage{amsmath}
\usepackage{easybmat}
\usepackage{ifthen}
\usepackage{tikz}
\begin{document}
\newcommand\tikzmark[1]{%
\tikz[overlay,remember picture,baseline] \node [anchor=base] (#1) {};}
\newcommand\MyLine[3][]{%
\begin{tikzpicture}[overlay,remember picture]
\draw[#1] (#2.north west) -- (#3.south east);
\end{tikzpicture}}
\[
\begin{pmatrix}
\phantom{0}\tikzmark{a} & & & & & & \phantom{0}\tikzmark{p} R_{12}\\
& & & R_{11} & & &\\
& & & & & &\\
& & & & & & \\
& & & & & &\tikzmark{q}\phantom{0} $R_{22}$ \\
& & & & & & \tikzmark{b}\phantom{0}\\\hline
\\
\\
\multicolumn{5}{c}{\text{\huge 0}} \\
\\
\end{pmatrix}\qquad
\MyLine[ultra thick]{a}{b}
\MyLine[ultra thick]{p}{q}
\]
\end{document}


by running suggested code, i have obtained following errors:

