[Xy-pic] colored crvs splines
Ishanu Chattopadhyay
ixc128 at psu.edu
Sun Jan 15 23:56:47 CET 2006
that solves my problem, yes.... i always suspected it would be THAT simple
given the brilliantly absolute simplicity of XY...
A million thanks to Ross Moore.................
one more question (again, probably obvious to everybody....)
The curved arrow tips dont get "curved" in the right direction... looks a
little bad....
My solution was to typeset the arrows and their tips separately...
\xy 0;/r.23pc/: (0,15)*+[o][F-]{q_{1}};
(10,0)*+[o][F-]{q_{2}};
{\ar@{-}@[red]@/^1pc/^{\txt{$\sigma_k$}}(2,14)*{};(10,2)*{}};
{\ar@{>}@[red](10.25,3)*{};(10,2)*{}};
\endxy
Is there a better way to do this ?
ishanu
-------Original Message-------
From: Ross Moore
Date: 01/14/06 21:05:34
To: Ishanu Chattopadhyay
Cc: xy-pic at tug.org
Subject: Re: [Xy-pic] colored crvs splines
Hello Ishanu,
On 15/01/2006, at 4:23 AM, Ishanu Chattopadhyay wrote:
> hi list,
>
> (questions of a novice....hence probably obvious to everybody)
> i need to typeset pretty curves, specifically colored ones. i
> figured out how to typeset dotted and other linetypes as follows:
>
> **\crv{~*=<2pt>{.}<poslist>}
>
> however, i seem to be at a loss how to color it.....
Have you tried the following ?
**[red]\crv{~*=<2pt>{.}<poslist>}
analogous to colouring an <object>:
*[red]\dir{+}
>
> For arrows of course i can use
> \ar @[red]@[thicker]
> But that doesnot work for curves :-(
>
> i can ofcourse color the whole diagram by wrapping
> \color{red}{
> \xy ....
> ........................
> \endxy
> }
> But that is not what I want.... is there a way to produce
> individually colored curves.?...what about changing the line
> thickness?
**[red][thicker]\crv{<poslist>}
> Any help will be greatly appreciated....even an one line example
> will greatly ease my misery
Hope this helps,
Ross Moore
>
> ish
>
------------------------------------------------------------------------
Ross Moore ross at maths.mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 +2 9850 8955
Sydney, Australia 2109 fax: +61 +2 9850 8114
------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xy-pic/attachments/20060115/dc74eab7/attachment.htm
More information about the xy-pic
mailing list