From: Xan <dxpublica@telefonica.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ConTeXt T-shirts?
Date: Thu, 12 Mar 2009 20:03:59 +0100 [thread overview]
Message-ID: <49B95C9F.8000006@telefonica.net> (raw)
In-Reply-To: <31DE48C3-14A9-4033-9B08-C2BD32346C25@gmail.com>
En/na Wolfgang Schuster ha escrit:
>
> Am 12.03.2009 um 18:01 schrieb Xan:
>
>> Thanks, Wolfgang. Now it works, but whith tiny letters (see attachments)
>
> New version (the old worked only under MkIV).
>
> % logo.mp: creates a blue traffic sign-style context logo
> % Copyright 2008 Taco Hoekwater
> % You are free to use this code any way you can
>
> \setupcolors[state=start,textcolor=white]
>
> \startMPenvironment
> \usetypescript[postscript][ec]
> \setupbodyfont[postscript,ss,120pt]
> \stopMPenvironment
>
> \usetypescript[postscript][ec]
> \setupbodyfont[postscript,ss,120pt]
>
> \starttext
>
> \startMPpage[offset=0pt]
> color darkblue,textcolor;
> darkblue := (0.0625,0,.412); % 0f006b =
> textcolor := (1,1,1);
> def rect (expr xl,yl,r) =
> pickup pencircle scaled 1;
> draw (xl-.5r,yl-.5r) -- (xl+.5r,yl-.5r)--
> (xl+.5r,yl+.5r) -- (xl-.5r,yl+.5r) -- cycle
> withcolor textcolor;
> enddef;
>
> f:= 14;
> h:=8;
> v:=4;
>
> fill fullcircle scaled 408 shifted (112,0)
> withcolor darkblue;
> label (textext("C"), (0,v*f) ) withcolor textcolor ;
> label (textext("O"), (f*h,2*v*f) ) withcolor textcolor ;
> label (textext("N"), (2*f*h,v*f) ) withcolor textcolor ;
> label (textext("T"), (0,-v*f) ) withcolor textcolor ;
> label (textext("E"), (f*h,0) ) withcolor textcolor ;
> label (textext("X"), (f*h*2,-v*f)) withcolor textcolor ;
> label (textext("T"), (f*h,-2*v*f)) withcolor textcolor ;
> r := h*f;
>
> rect (0,v*f,r);
> rect (f*h,2*v*f,r);
> rect (2*f*h,v*f,r);
> rect (0,-v*f,r);
> rect (f*h,0,r);
> rect (f*h*2,-v*f,r);
> rect (f*h,-2*v*f,r);
> \stopMPpage
>
> \stoptext
>
> Wolfgang
Great!. It works now with MKII.
Thanks a lot, Wolfgang,
Xan.
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2009-03-12 19:03 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-09 20:06 Xan
2009-03-10 18:03 ` Mojca Miklavec
2009-03-11 17:48 ` Xan
2009-03-12 8:57 ` Taco Hoekwater
2009-03-12 16:33 ` Xan
2009-03-12 16:55 ` Wolfgang Schuster
2009-03-12 16:59 ` Taco Hoekwater
2009-03-12 17:05 ` Xan
2009-03-12 17:40 ` Taco Hoekwater
2009-03-13 8:24 ` Hans Hagen
2009-03-13 8:23 ` Hans Hagen
2009-03-13 13:30 ` Xan
2009-03-13 13:35 ` Cow fonts (was: ConTeXt T-shirts?) Wolfgang Schuster
2009-03-12 17:01 ` ConTeXt T-shirts? Xan
2009-03-12 17:18 ` Wolfgang Schuster
2009-03-12 19:03 ` Xan [this message]
2009-03-12 19:13 ` Xan
2009-03-12 19:56 ` Aditya Mahajan
2009-03-12 20:08 ` Wolfgang Schuster
2009-03-13 13:18 ` Xan
2009-03-13 13:26 ` Wolfgang Schuster
2009-03-14 13:50 ` Xan
2009-03-14 15:00 ` Wolfgang Schuster
2009-03-14 15:45 ` Context logo (was ConTeXt T-shirts?) Xan
2009-03-14 15:59 ` Context logo Wolfgang Schuster
2009-03-14 16:15 ` Xan
2009-03-14 16:48 ` Wolfgang Schuster
2009-03-14 19:22 ` Xan
2009-03-14 19:34 ` Wolfgang Schuster
2009-03-14 20:52 ` Xan
2009-03-14 21:31 ` Aditya Mahajan
2009-03-15 9:47 ` Xan
2009-03-15 8:39 ` Mojca Miklavec
2009-03-15 9:53 ` Xan
2009-03-15 9:58 ` Taco Hoekwater
2009-03-15 10:02 ` Xan
2009-03-13 10:33 ` ConTeXt T-shirts? Mojca Miklavec
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=49B95C9F.8000006@telefonica.net \
--to=dxpublica@telefonica.net \
--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).