[NTG-context] Math Diagrams in ConTeXt

Matthias Weber matweber at indiana.edu
Wed Sep 29 22:53:04 CEST 2004


Thanks -- while it looks really nice, I do need diagonal arrows.

However, after some experimenting, I catually managed to get DCpic to 
work. It is just a plain TeX file,
I was only scared by the .sty name.

If somebody else runs into the same problem, here is a short example, 
for reference. You will need dcpic.sty in  your path first. Then
one can create diagrams as follows:

\usemodule[pictexwd]
\input dcpic.sty

\starttext

\begindc{\commdiag}
\obj(1,2){$V_i$}
\obj(3,1){$V'$}
\obj(3,3){$V$}
\mor{$V_i$}{$V$}{$f_i$}
\mor{$V_i$}{$V'$}{$f_i'$}[-1,0]
\mor{$V$}{$V'$}{$f$}
\enddc


\stoptext


Matthias

On Sep 29, 2004, at 3:07 PM, Henning Hraban Ramm wrote:

> Am 29.09.2004 um 20:53 schrieb Matthias Weber:
>> I  need to typeset a few (simple) diagrams in ConTeXt,
>> like the ones mathematicians use, with arrows. In LaTeX, one can use
>> pictex or DCpic. The latter claims also to work with ConTeXt, but I 
>> couldn't find
>> an example. Has anybody managed to do something like this? 
>> (essentially, I only need something like
>>
>> sometimes also with diagonal arrows).
>
> Without diagonal arrows you could use the flow charts module.
>
> Grüßlis vom Hraban!
> ---
> http://www.fiee.net/texnique/
>
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>



More information about the ntg-context mailing list