From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: MetaPost integration: default parameters
Date: Sun, 22 Nov 2009 21:53:37 +0100 [thread overview]
Message-ID: <fe8d59da0911221253x1e2a88e1g2709a9a813fb2cfb@mail.gmail.com> (raw)
In-Reply-To: <FEC5CB5B-A3BF-4BD2-A4C5-D7B47E6A79E3@googlemail.com>
[-- Attachment #1: Type: text/plain, Size: 1437 bytes --]
On Sun, Nov 22, 2009 at 9:33 PM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
>
> Am 22.11.2009 um 21:15 schrieb luigi scarso:
>
>> %%test-outlined.tex
>> \starttext
>> \startTEXpage
>> \startuseMPgraphic{a}
>> graphictext "\bf Fun" scaled 4 zscaled (1,1.5)
>> withdrawcolor blue
>> withfillcolor .5white
>> withpen pencircle scaled 5pt
>> \stopuseMPgraphic
>> \useMPgraphic{a}
>> \stopTEXpage
>> \stoptext
>
> \starttext
> {\blue\tfd Fun\llap{\red\property[outer]{\tfd Fun}}}
> \stoptext
Also from metapost manual
\starttext
\startTEXpage
\startuseMPgraphic{a}
fontmapfile "=lm-ec.map";
picture q;
path p;
interim ahlength := 12bp;
interim ahangle := 25;
q := glyph "Dcaron" of "ec-lmr10" scaled .2;
for item within q:
p := pathpart item;
drawarrow p withcolor (.6,.9,.6)
withpen pencircle scaled 1.5;
for j=0 upto length p:
pickup pencircle scaled .7;
draw (point j of p -- precontrol j of p)
dashed evenly withcolor blue;
draw (point j of p -- postcontrol j of p)
dashed evenly withcolor blue;
pickup pencircle scaled 3;
draw precontrol j of p withcolor red;
draw postcontrol j of p withcolor red;
pickup pencircle scaled 2;
draw point j of p withcolor black;
endfor
endfor
\stopuseMPgraphic
\useMPgraphic{a}
\stopTEXpage
\stoptext
--
luigi
[-- Attachment #2: test-outl2.png --]
[-- Type: image/png, Size: 14714 bytes --]
[-- Attachment #3: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2009-11-22 20:53 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-13 16:53 Oliver Buerschaper
2009-11-14 0:20 ` Mojca Miklavec
2009-11-22 15:53 ` Oliver Buerschaper
2009-11-22 16:01 ` Mojca Miklavec
2009-11-22 19:16 ` Oliver Buerschaper
2009-11-22 20:15 ` luigi scarso
2009-11-22 20:33 ` Wolfgang Schuster
2009-11-22 20:53 ` luigi scarso [this message]
2009-11-22 21:16 ` Hans Hagen
2009-11-23 9:17 ` Mojca Miklavec
2009-11-23 9:47 ` Hans Hagen
2009-11-23 9:56 ` luigi scarso
2009-11-23 11:56 ` luigi scarso
2009-11-24 20:05 ` MetaPost broken mkiv latest minimals Alan BRASLAU
2009-11-24 20:20 ` luigi scarso
2009-11-24 20:30 ` Alan BRASLAU
2009-11-24 20:21 ` Hans Hagen
2009-11-24 20:29 ` Mojca Miklavec
2009-11-24 20:49 ` Hans Hagen
2009-11-24 21:51 ` Alan BRASLAU
2009-11-24 22:08 ` luigi scarso
2009-11-24 22:22 ` Taco Hoekwater
2009-11-23 7:17 ` MetaPost integration: default parameters Taco Hoekwater
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=fe8d59da0911221253x1e2a88e1g2709a9a813fb2cfb@mail.gmail.com \
--to=luigi.scarso@gmail.com \
--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).