# [Xy-pic] xymatrix and matrix

Ross Moore ross.moore at mq.edu.au
Sun Mar 20 11:47:44 CET 2011

Hello Aleks,

On 20/03/2011, at 2:49 PM, Aleks Kleyn wrote:

> I want combine diagram of mappings with some notes in one equations. The code
> $> \begin{matrix} > \xymatrix > { > \ShowSymbol{affine space, division ring}: > D\ar[r]|{*}^{f_{1,2}}& > \Vector V\ar[r]|{*}^{f_{2,3}}& > \Vcirc > } Please provide your complete preamble, so we can tell how some of the macros that you use are defined. > & > \begin{array}{r@{\,}l} > f_{1,2}(d):&\Vector v\rightarrow d\ \Vector v > \\ > f_{2,3}(\Vector v):&A\rightarrow A+\Vector v > \end{array} > \end{matrix} >$
>
> creates very good image. However code
> $> \begin{matrix} > \xymatrix > { > D\ar[r]|(.4){*}^{f_{1,2}}& > A\ar[r]|{*}^{f_{2,3}}& > A > \\ > &&D\ar[u]|{*}_{f_{1,2}} > } > & > \begin{array}{r@{\,}l} > f_{1,2}(d):&v\rightarrow d\,v > \\ > f_{2,3}(v):&w\rightarrow g(v, w) > \\ > g&\in\mathcal L(A^2;A) > \end{array} > \end{matrix} >$
>
> has extra line before diagram. The picture looks little shifted. I will appreciate any idea to improve image.
> Aleks Kleyn
> http://arxiv.org/a/kleyn_a_1
> http://AleksKleyn.blogspot.com/

Hope this helps,

Ross

------------------------------------------------------------------------
Ross Moore                                       ross.moore at mq.edu.au
Mathematics Department                           office: E7A-419
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------