[Xy-pic] Setting Braces in XYPic, XYMatrix

shahram mehry sh.mehry at gmail.com
Tue Nov 20 09:40:33 CET 2012


On 11/14/12, Christian Guckelsberger <info at abyi.com> wrote:
> Hi there,
>
> I'm new to XYPic, basically I stumbled upon a XYMatrix in a paper which
> I now have to edit and I'm still very overwhelmed by the elementary syntax.
>
> I want to add three braces to a xymatrix in a xypic environment. Here's
> how I got so far.
> --
>
> |\documentclass[11pt]{article}  % use larger type; default would be 10pt
> \usepackage[all]{xy}
> \begin{document}
>
> \xy
> \xymatrix at C=10pt at R=20pt{
> &\\
>   &  A_1\POS*\frm{^\}},+U*++!D\txt{A to B}  &  B_2&
> C_3\POS*\frm{^\}},+U*++!D\txt{C to D}  &  D_4\\
>   &  E_5&  F_6\POS*\frm{_\}},+U*++!D\txt{F to G}  &  G_7&  H_8
> }
> \endxy
>
> \end{document}
> --
> |
>
> Now there are two issues:
>
>  1.
>
>     I want the braces to span from A to B, C to D and the one at the
>     bottom from F to G. At the moment, they only embrace a single
>     element. How can I do this using the xymatrix [rr] syntax?
>
>  2.
>
>     I want to add the label for the bottom brace from below. At the
>     moment, it is still displayed on top.
>
> I also posted the problem on stackexchange. There's also a picture of
> how it looks like at the moment:
> http://tex.stackexchange.com/questions/82700/set-braces-in-xypic-xymatrix
>
> I'm happy about any suggestions concerning this issue!
>
> Thanks very much,
> Christian
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.pdf
Type: application/pdf
Size: 8815 bytes
Desc: not available
URL: <http://tug.org/pipermail/xy-pic/attachments/20121120/e226f66e/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.tex
Type: application/x-tex
Size: 298 bytes
Desc: not available
URL: <http://tug.org/pipermail/xy-pic/attachments/20121120/e226f66e/attachment.tex>


More information about the xy-pic mailing list