[Xy-pic] xymatrix and matrix

Aleks Kleyn Aleks_Kleyn at MailAPS.org
Sun Mar 20 14:07:09 CET 2011


Yes, you are right
I want combine diagram of mappings with some notes in one equations. The
code
\[
\begin{matrix}
\xymatrix
{
\overset{\rightarrow}{V}:
D\ar[r]|{*}^{f_{1,2}}&
\overline V\ar[r]|{*}^{f_{2,3}}&
\overset{\circ}{V} 
}
&
\begin{array}{r@{\,}l}
f_{1,2}(d):&\overline v\rightarrow d\ \overline v
\\
f_{2,3}(\overline v):&A\rightarrow A+\overline 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://sites.google.com/site/AleksKleyn/ 
http://arxiv.org/a/kleyn_a_1  
http://AleksKleyn.blogspot.com/


-----Original Message-----
From: Ross Moore [mailto:ross.moore at mq.edu.au] 
Sent: Sunday, March 20, 2011 6:48 AM
To: Aleks Kleyn
Cc: xy-pic at tug.org
Subject: Re: [Xy-pic] xymatrix and matrix

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://sites.google.com/site/AleksKleyn/
> 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
------------------------------------------------------------------------






More information about the xy-pic mailing list