Oh, thanks Paul, yes the empty column did the trick for the second one i need to play around to get it done. actually I need them in separate box. I will look into the array stuff i think it might do the trick.
Thanks, On 2011-04-10, at 2:24 PM, Paul Rubin wrote: > Eisa Ayed <eisalenazy <at> yahoo.com> writes: > >> >> Hello everyone . >> >> i'm wondering how can I increase the arrow length in xypic. >> i.e. >> \xymatrix{*++[F]{A} \ar@{-}[r]{(0,0),(1,1)}&*++[F]{B}} > > I'm not sure what you mean here? Do you want to move the A and B nodes > further > apart? If so, just insert empty columns between them. > >> >> also how can i annotate the objects A and B ( i want to write their domain > values ) something like: >> [1,2,3] [4,5,6] >> A B >> > > One way (not the only one, I think) is to make each node a 2x1 array. > > Does this do what you want? > > \xymatrix{*++[F]{\begin{array}{c} > [1,2,3]\\ > A\end{array}}\ar@{-}[rrr]{(0,0),(1,1)} & & & *++[F]{\begin{array}{c} > [4,5,6]\\ > B\end{array}}} > > Paul >