Hi,(adsbygoogle = window.adsbygoogle || []).push({});

I am trying to show the reader what is the main diagonal of a matrix, so i wrote the code using the xy-pic package, this is the code:

In the compiled file the parenthesis are taller than the matrix, and i couldn't found a solution, so i am asking help!Code (Text):

\begin{displaymath}

\left(

\xymatrix @=0.5pc

{

a \ar@{-}[dr] & b\\

c & d\\

}

\right)

\end{displaymath}

Thanks,

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# LaTeX - problems with xy-pic

**Physics Forums | Science Articles, Homework Help, Discussion**