ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Matthias Weber <matweber@indiana.edu>
Subject: Re: Math Diagrams in ConTeXt
Date: Wed, 29 Sep 2004 15:53:04 -0500	[thread overview]
Message-ID: <8EF5AFFE-1259-11D9-964D-0003934F9514@indiana.edu> (raw)
In-Reply-To: <42975792-1253-11D9-BA27-0030659899AA@fiee.net>

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@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>

  reply	other threads:[~2004-09-29 20:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-01 18:11 math-ams.tex: \triangleup? Christopher Creutzig
2004-09-11  8:05 ` Hans Hagen
2004-09-29  8:24   ` Christopher Creutzig
2004-09-29 18:53     ` Math Diagrams in ConTeXt Matthias Weber
2004-09-29 20:07       ` Henning Hraban Ramm
2004-09-29 20:53         ` Matthias Weber [this message]
2004-09-29 21:01       ` Brooks Moses
2004-09-30  8:08       ` Eckhart Guthöhrlein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8EF5AFFE-1259-11D9-964D-0003934F9514@indiana.edu \
    --to=matweber@indiana.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).