Ross,<br><br>Yes, your answer helped.<br><br>Now I'm trying to label these boxes to include arrows and things. My first try resulted in<br><br>% line thickness standard arrows<br>\newcommand{\lthknessStd}{3}<br>...<br>
<br>$$<br>\xy <br>%<br>(0,-90)*+<5pt>+[F*:blue:<10pt>]\txt{First Text}<br>,*+<2pt>+[blue][F*:white:<10pt>]{\txt{First Text}}="First_Text";<br>%<br>(0,-120)*+<5pt>+[F*:red:<10pt>]\txt{Second Text}<br>
,*+<2pt>+[red][F*:white:<10pt>]{\txt{Second Text}}="Second_Text";<br>%<br>{\ar@{->}@[blue]@*{[|(\lthknessStd)]}@/^4.5pc/ "First_Text" ; "Second_Text" };<br>%<br>\endxy<br>$$ <br>
<br>where this arrow is overlapping the outer frame's outline. I wanna avoid that and thought I simply need to label the outer frames instead of the inner frames.<br><br>But I don't know how to do that...<br><br>Things like<br>
<br>(0,90)*+<5pt>+[F*:blue:<10pt>]{\txt{First Text}="First_Text"},<br>*+<2pt>+[blue][F*:white:<10pt>]\txt{First Text}<br>%<br>(0,120)*+<5pt>+[F*:red:<10pt>]{\txt{Second Text}="Second_Text"},<br>
*+<2pt>+[red][F*:white:<10pt>]\txt{Second Text}<br>%<br>{\ar@{->}@[blue]@*{[|(\lthknessStd)]}@/^4.5pc/ "First_Text" ; "Second_Text" };<br>...<br><br>didn't do any good...<br><br>Do you know how to make the right syntax?<br>
<br>My next step will then be to define some macro that takes care of these inner and outer frame things. In my posters I have tons of complicated equations and I think it wouldn't be a good idea to copy all these equations. It would be cleaner and easier for me if I add some more arguments giving the color of the outer frame, outline thickness and such.I hope such a macro is not going to give problems with the labels though...<br>
<br>Thanks,<br><br>J<br><br><br><div class="gmail_quote">On Tue, Feb 19, 2008 at 7:55 PM, Ross Moore <<a href="mailto:ross@ics.mq.edu.au">ross@ics.mq.edu.au</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Jonny,<br>
<div class="Ih2E3d"><br>
On 19/02/2008, at 9:37 PM, Jonny Smith wrote:<br>
<br>
><br>
> Does someone have an idea how to solve my problem?<br>
><br>
> If this question has already been answered somewhere in the<br>
> archive, please give me a pointer.<br>
><br>
> Thank you,<br>
><br>
> ---------- Forwarded message ----------<br>
> From: Jonny Smith <<a href="mailto:joesm77@gmail.com">joesm77@gmail.com</a>><br>
> Date: Feb 4, 2008 6:46 PM<br>
> Subject: color and thickness of frame's outline<br>
> To: <a href="mailto:xy-pic@tug.org">xy-pic@tug.org</a><br>
><br>
><br>
> Hi,<br>
><br>
> I found out how to make arrows and curves thicker and color them<br>
> \xymatrix{A \ar@{-->}@[red]@*{[|(1.8)]}[r]^{B} & C}<br>
><br>
> {"B" ; "C" **[name_font][thicker][thicker][thicker]\crv{ (30,70) } };<br>
><br>
> However, now I am struggling to do the same with the outlines of a<br>
> frame, i.e. how could I change the surrounding line's thickness and<br>
> its color??<br>
<br>
</div>You cannot do it with a single frame.<br>
However, it is easy enough to combine 2 or more frames<br>
to get such an effect:<br>
<br>
$$<br>
\xy (0,0)*+<3.5pt>+[F*:blue:<10pt>]\txt{text with background}<br>
,*+<1.5pt>+[white][F*:red:<10pt>]\txt{text with background}<br>
\endxy<br>
$$<br>
<br>
Note that it is necessary to repeat the words, to ensure<br>
that the size of the 1st (underlying) frame matches<br>
that of the 2nd (overlying) frame.<br>
<div class="Ih2E3d"><br>
><br>
><br>
> \xy (0,0)*+<1.5pt>[F**:red:<40pt>]{<br>
> \txt{text with background}};<br>
<br>
</div>Be prepared to fill the overlying frame with white,<br>
whenever necessary:<br>
<br>
$$<br>
\xy (0,0)*+<3.5pt>+[F*:blue:<10pt>]\txt{text with background}<br>
,*+<1.5pt>+[red][F*:white:<10pt>]\txt{text with background}<br>
\endxy<br>
$$<br>
<br>
><br>
> Thanks,<br>
><br>
> J<br>
<br>
<br>
Hope this helps,<br>
<br>
Ross<br>
<br>
------------------------------------------------------------------------<br>
<font color="#888888">Ross Moore <a href="mailto:ross@maths.mq.edu.au">ross@maths.mq.edu.au</a><br>
Mathematics Department office: E7A-419<br>
Macquarie University tel: +61 +2 9850 8955<br>
Sydney, Australia 2109 fax: +61 +2 9850 8114<br>
------------------------------------------------------------------------<br>
<br>
<br>
</font></blockquote></div><br>