2

I would like to create a two-lined entry in my xymatrix. In the attached picture, I want to split the direct sum into two lines.

I tried array but this didn't work.

Thanks !

pic

  • 2
    What you try so far? – Zarko Jul 21 '19 at 18:29
2

Just brace the array.

\documentclass{article}
\usepackage[all,cmtip]{xy}

\begin{document}

\xymatrix{
  {\begin{array}{@{}c@{}}K_0(M_p\oplus M_q)\oplus{}\\ K_0(C([0,1]),M_p\oplus M_q))\end{array}}
  \ar[r] & \\
  K_0(Z_{pq})  \ar[u]^{K_0(\pi_1)\oplus K_0(\pi_2) } \\
  \ar[u]
}

\end{document}

enter image description here

| improve this answer | |
  • My sincere welcome. I have deleted, correctly, my answer. Your answer is the best. – Sebastiano Jul 22 '19 at 10:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.