ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Frans Goddijn" <frans@goddijn.com>
Subject: Fun with MetaFun
Date: Sun, 9 Sep 2001 17:30:54 +0200	[thread overview]
Message-ID: <002801c13944$72996760$6501a8c0@lap> (raw)
In-Reply-To: <01090916261301.03976@levana>

> that was a copy and paste error ;-)

Ah, I'll do some copy-and-paste below, see if it works at your place.

> this line should be on the left edge of
> the text area.  And it should not
> appear with the above line commented

That's weird. Maybe you could make that line using \hrule and place it as a
logo. But Hans will probably see what's wrong in your file.

> in the new context versions there is a file called tufte.tex:

I'll download that sometime and just take out the tufte and other test text
files. Right now, my ConTeXt runs fine so I hesitate to experiment too much
by updating it all.

While re-making my own letterhead to work with ConTeXt, I enjoy more freedom
and I changed the logo. I kerned my initials fg to look like a logo ligature
and I wrapped that with a MetaFun line that gets randomized. Lots of fun,
now every one of my letters has a wild new logo line around the fg initials!
Sometimes it's like a big sloppy garbage bag around the initials, then it's
a highly artistic type of flag or the outlines of a continent... fun!

\steluitvoerin[pdftex]

\stelpapierformaatin
  [A4][A4]

\stellayoutin
  [plaats=midden,
   markering=aan,
   hoogte=midden,
%   kopwit=30mm,
   kopwit=5mm,
   hoofd=30mm,
   voet=20mm,
   marge=10mm,
   rugwit=30mm,
   breedte=midden]

\stelkorpsin
  [ptm,phv,fg,loc,12pt]

\stelnummeringin
  [variant=dubbelzijdig,
   plaats={voet,midden},
   letter=\oldstyle]

\stelvoetnootdefinitiein[plaats=links]

\stelwitruimtein[middel]

\startreusableMPgraphic{omcirkeld}
   draw fulldiamond xyscaled (OverlayWidth,OverlayHeight)
     randomized (30*OverlayLineWidth)
     withpen pencircle scaled OverlayLineWidth
     withcolor OverlayLineColor ;
  path b ; b := boundingbox currentpicture ;
  setbounds currentpicture to b enlarged 10pt ;
\stopreusableMPgraphic

\defineoverlay[omcirkeld][\reuseMPgraphic{omcirkeld}]

\unprotected \defineframedtext
   [omcirkeld]
   [\c!kader=\v!uit,
    \c!achtergrond=omcirkeld,
    \c!breedte=\v!passend,
    \c!offset=1ex]

\setupcolors[state=start]
% usage: \omcirkeld [framecolor=green] {Frans}

 \font\fgsop=cmmi12 at 14pt
 \font\fgkopletter=cmr12 at 14pt
 \font\fgkopcijfer=cmmi12 at 14pt
 \font\fgsubkopletter=cmr12 at 10pt
 \font\fgsubkopcijfer=cmmi12 at 10pt

\def\fglogo%
   {\vbox

       \regelmidden{\omcirkeld{\fgsop f\lower.3pt\hbox{\kern-3.3pt g}}}
    }}

\definieerbeeldmerk
[groot logo] [hoofd] [rechts]
[commando=\fglogo]

\starttekst

\plaatsbeeldmerken[groot logo]

tekst

\stoptekst


  reply	other threads:[~2001-09-09 15:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-09 11:13 Strange StartPage in Metapost Patrick Gundlach
2001-09-09 12:00 ` Frans Goddijn
2001-09-09 14:26   ` Patrick Gundlach
2001-09-09 15:30     ` Frans Goddijn [this message]
2001-09-10 19:58 ` Hans Hagen
2001-09-12 22:27   ` Uwe Koloska
2001-09-15  9:15     ` Patrick Gundlach
2001-09-17  8:14     ` Hans Hagen
     [not found] <Your message of "Mon, 17 Sep 2001 10:14:35 +0200." <5.1.0.14.1.20010917101415.02f38ae8@server-1>
2001-09-17  9:27 ` Patrick Gundlach
2001-09-17 11:41   ` Hans Hagen
2001-09-18  0:07     ` Uwe Koloska

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='002801c13944$72996760$6501a8c0@lap' \
    --to=frans@goddijn.com \
    /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).