[Xy-pic] one solution to problems with brackets for \xymatrix diagrams
Roger Hart
rhart at mail.utexas.edu
Tue Mar 13 17:01:18 CET 2007
I've found at least a clumsy solution to the problem of putting
brackets around an \xymatrix and connecting arrows to another. The
problem is that putting arrows within the first \xymatrix caused the
left bracket to distort. One solution is to connect arrows inside the
first \xymatrix after the brackets are drawn, as below. I'm sure
there are better solutions, but since this took me a considerable
amount of time to figure out, in case it might be of help to someone
else, I'm sending it to the list.
\begin{xy}
*!C\xybox{
\xymatrix"*"{
k_1 & l_1 & 0 & \cdots & 0 & b_1 \\
0 & k_2 & l_2 & \ddots & \vdots & \vdots \\
\vdots & \ddots & \ddots & \ddots & 0 & b_{N-2} \\
0 & \cdots & 0 & *+<1mm>[F-:<10pt>]{k_{N-1}} & l_{N-1} & *+<1mm>
[F-:<10pt>]{b_{N-1}} \\
l_N & -l_N l_1 & \cdots & *+<1mm>[F-:<10pt>]{-l_N l_1 \cdots l_{N-2}}
& k_N & b_N \\
}
\POS!C,\xybrack,\save "*1,1" . \ar"*2,2", \save "*5,4" . \ar"*4,6",
\POS(80,0),
\xymatrix{
1 \ar@{<-}@/^5mm/["*"dddrrr] & 1 & 1 & 1 & 0 \\ 0 & 1 & -1 & 0 & 0 \\
0 & 0 & 0 & 1 & 0
}
}
\end{xy}
Roger
********************************
Roger Hart
Assistant Professor, Departments of History and Asian Studies
University of Texas at Austin
office: Room 470, Burdine Hall
office phone: 512-475-7258
department fax: 512-475-7222
email: rhart at mail.utexas.edu
http://uts.cc.utexas.edu/~rhart
*********************************
_______________________________________________
xy-pic mailing list
http://tug.org/mailman/listinfo/xy-pic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xy-pic/attachments/20070313/005d503a/attachment.html
More information about the xy-pic
mailing list