From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
Cc: Till Tantau <tantau@tcs.uni-luebeck.de>
Subject: Re: placing a tikz/pgf figure
Date: Wed, 10 Jan 2007 01:21:29 +0100 [thread overview]
Message-ID: <6faad9f00701091621l4f807cc0mb2129b6085c623d2@mail.gmail.com> (raw)
In-Reply-To: <20070109164240.58526.qmail@web51807.mail.yahoo.com>
(abstract of Maarten-Jan's sample)
> \usemodule[tikz]
>
> \starttext
>
> \startbuffer[tikz]
> \starttikzpicture
> \draw[red,thick] (0,0) -- (1,1)
> {[rounded corners] -- (2,0) -- (3,1)}
> -- (3,0) -- (2,1);
> \stoptikzpicture
> \stopbuffer
>
> \placefigure
> {The figure is flushed left, whereas it should be centered.}
> {\externalfigure[tikz.tmp]}
>
> \stoptext
Hello,
I've been playing a bit with the most simple tikz examples so far, but
after I saw this example I got an impression that ConTeXt users might
also want to see syntax like
\starttikzpicture[optional options]{name}
...
\stoptikzpicture
\usetikzpicture{name}
in addition to the existing one, which would then be equivalent to
syntax of including metapost graphics. There are dozens of other
\start[whatever] commands defined in the module, but I have no idea
what all of them do. Perhaps \startpgfpicture might be another command
worth considering, but I have no idea about the rest.
Mojca
next prev parent reply other threads:[~2007-01-10 0:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-09 16:42 M.J. Kallen
2007-01-09 18:15 ` Willi Egger
2007-01-09 19:26 ` Hans Hagen
2007-01-09 22:51 ` Aditya Mahajan
2007-01-09 23:26 ` Mojca Miklavec
2007-01-10 20:08 ` Willi Egger
2007-01-10 0:21 ` Mojca Miklavec [this message]
2007-01-10 1:08 ` Aditya Mahajan
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=6faad9f00701091621l4f807cc0mb2129b6085c623d2@mail.gmail.com \
--to=mojca.miklavec.lists@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=tantau@tcs.uni-luebeck.de \
/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).